General :: Make The Start Window Located In The Center Of Screen When Ther Are Started?
Jan 7, 2010
I'd like to make all window of of all applications are located in the center of screen when they are started every single time, is there any way to do that ? of course,what i am saying that they are GUI apps, and when they are not started as maximum size window
when i start an application it usually places it in the upper left corner or lower right corner or something like that.. but never in the middle of my screen. How can I configure GNOME to always open applications in the middle of my screen..?
I've been Googling all day and cannot find the answer. I find all the "GUI" ways to do it through Gnome and KDE but I'm not using either...I have an EEE PC set to boot up automatically to openbox and want Firefox to start after that in a full screen openbox window.I've tried adding the firefox command to ~/.initrc but it won't execute. I tried the command in .profile. This brings up firefox on a black screen without openbox.Firefox comes up fine when executed from the openbox menu.
Is there any parameter for this? For exampleCode:gnome-terminal --maximizestarts Terminal fullscreen. I want to start calc in the screen's center so I won't need to search it on the display every time I run it. It'a annoying.
I use a program which makes a large image which I have to scroll to view. The program has no way to save the image, and I have no access to the source to modify it. The only way I have to get the image from the program is by screenshot. My goal is to save the full size image without having to piece together individual screenshots. I'm using this script to try taking a screenshot:
This uses wmctrl to get the window id ($window) for a window named "Program". It then tries to resize the window to the desired dimensions. It uses imagemagick (import) to save a screenshot.png on the user's Desktop. All of this works except the resize step. I can resize the window using wmctrl -r -e, but sizes greater than the screen size don't work. I'm using Ubuntu 10.04 and the Gnome Desktop. I run two monitors, but I've tried this with one of them disabled. Is there a way to resize the window larger than my screen to get a huge screenshot?
Part II: I tried using xrandr to set up screen panning, so as to have a bigger desktop than my monitor. xrandr --output LVDS --panning 2600x2500 This command makes the laptop screen pan over a 2600x2500 size desktop, even though it can only show 1440x900 at one time. To turn off the panning, I can use a similar command to set total size and with zeroes for the panning section. This gives me back my original laptop display behavior. xrandr --fb 1440x900 --output LVDS --panning 0x0 This is all done with xrandr, and does not require any Xorg.conf changes (my Ubuntu system doesn't even have an Xorg.conf).
My video card seems to only allow about 6.5 million pixels, even though the maximum dimensions are 8192x8192. That maximum seems to be the maximum for either dimension, but there is a limit to how many pixels can be drawn, which is the width multiplied by the height. Once I did the screen resize, I tried my script again and got a screenshot. The screenshot however is totally scrambled. I'm not sure if it's unable to take a screenshot of an off-screen window or if it is unable to handle the large dimensions of the window. With the panning display, the window should think it is visible, and the window manager should think it is on-screen. So there is a pixel buffer somewhere with those pixels in it, so there should be a way to get a screenshot.
there's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. The question I have is where can I invoke it so that it starts up after X has started?
I have a laptop with SuSE 11.2 installed, worked all like a charm.Then the problems started :I lost my display (it is dark, you can see very very faint the desktop from time to time)Clearly a hardware problem.So, I attached an external screen. Only this shows nothing, cannot get it activated.Since the laptop automatically boots into our LAN, i just started it, and connected via SSH from an other computer.No problem i have a shell.Then I thought to be clever, and activated the pure-ftp demon, so I can download all interesting files to a new computer. I activated it with / as shared directory.After that, I could not boot the laptop anymore, it did not connect to the network.
After a lot of try-outs I finally managed to get the external screen working (only after GDM is started, i can see the workspace, nothing at boot time).Then I found out that the network would not start anymore, actually I could not even start yast or a su shell.After some investigation, I found that pure-ftp had changed the owner of all files in the / partition to ftp (and the group also to ftp)So, su has no access rights anymore to /etc/shadow, and thus cannot verify my root password anymore.Now i'm stuck. I can work as normal user on the old machine, but no network, the DVD wont write anymore and usb sticks don't open anymore.I cannot boot the system in single usermode, since then I have no screen.Has anybody here the brilliant idea I need to get the files out of this machine, without taking the disc out(would not know how to do that anyway).
I recently installed Ubuntu in my PC, without uninstalling windows coz it`s not really mine, its my father`s. When he saw the boot (like a month later, he REALLY uses the PC...) he went crazy and instantly ordered me to "uninstall that thing". Of course i`m not stupid to do that after a month of seeing how Ubuntu is... I want to know if/how can I make the pc start on windows auto, without prompting by showing the choose system screen, and when i open boot menu (i don`t remember, but i think its F-eight) i have both choices, so I can keep Linux without him knowing.
I have been pulling my hair out trying to find out why the Wine System Tray suddenly started appearing in its own little window when running Netmeter, cluttering up the desktop. I searched the web in vain, back many tears, most people saying they couldn't understand it when it happened to them.
Then I realized that the last thing I did was to stop Cairo Dock (the novelty had worn off!) and to move the Gnome Panel to the BOTTOM of the screen in place of Cairo. I suspected this was making the Wine System tray homeless.
So I moved the Gnome panel back to the TOP, restarted Ubuntu, stopped and restarted Netmeter and the Netmeter icon appeared back in the panel where it belonged.
Would I be correct in thinking that Wine System Tray will only stay in the panel if the panel is at the top of the screen?
how I would go about centering the text in the title bar for the Ambiance theme. Currently it is on the left side after the buttons, but I want to center it in the middle of the bar. Does anyone know how I could accomplish this?
Newly installed Debian system from years with Fedora. Ran system update and system got hosed, booted but no Gnome. Got Gnome back after MANY 'aptitude upgrade's. Xemacs disappeared! Along with other things I installed. Tried to install Xemacs but it is broken and will not install, complains about dpkg TOO current(?). So downloaded Xemacs for Xemacs.org and compiled source, installed.
Now when I start Xemacs is does not run in an X window but runs emacs in a terminal window. If I run it from a script, it complains about 'not in tty window'.
My env show:
Code:
The Xemacs install on Debian ( Bug written ) Install and configuration of Xemacs from source. A better understanding of the Debian upgrade process.
I v been trying to make a pop up window or form for my user once they get to my index page then a form comes in the middle of the screen asking questions . also i want a pop up form to pop up when some one is trying to exit my page to pop up
I have two script under /etc/init.d/ 'jboss' and 'client'. By machine-reboot these two scripts will be run. But what I want now is: The 'client' can only be run after the 'jboss' is successfully up.
How can I make a window span over both monitors? I have the monitors configured using the KDE monitor setting tool. I need specifically full-screen (for presentation purposes) or at least a maximized window. Kwin insists on locking the window on one desktop.interestingly it really is Kwin preventing me to do this. If I get rid of KDE and just launch a plain X session, the window maximizes correctly.
I want to use LibreOffice but I keep getting an error every time I try to open any office application.
The error is : The application cannot be started. [context="bundled"] caught unexpected exception!
I installed the .debs the first time and thought it might be wiser to install it from the experimental repos.So I reinstalled but there's no difference,I keep getting the error.
I reinstalled and found that the same error is caused by the installation for the dictionaries.I removed those but the error is still present.
I've seen people post this error on some forums except context=user and not bundle.However,it seems those were Windows 7 machines and that it's a 64 bit bug.
I'm also running the 64 bit version.
Also,if I try to install the desktop-integration .debs I get another error ( that is,if I remove the dictionaries,otherwise the installation runs just fine ) :
I'm trying to make a script run when x is started (to set the desktop background using xloadimage, run xcompmgr, and make one change with xmodmap [I suspect there is a better way to change this]). The wiki says (on the subject of .xinitrc) "If you want the script to be called when ever an X Session is started, then you should instead use ~/.xsession" I had no default ~/.xsession file. I believed that it would be checked for, so created a minimal file
#!/bin/sh touch /home/user/this-script-ran exec /usr/bin/xmonad and gave it executable permissions (744). "allow-user-xsession" is present in /etc/X11/Xsession.options. However, ~/.xsession does not run when x starts.
1) Should I be using something other than .xsession for this?
2) If not, how do I enable it? Or am I making some error that prevents it from running?
i've written small tool in C which makes measurements on my router (OpenWrt White Russian).
It is working as a deamon. If the tool is started manually, everything works fine. If it is started per script on startup, the following system call doesn't work :
rc = system (command); the returned rc in this case is 256.
first i thought it is a problems with the user rights for the tool, so i have added +s to it. but that didn't help. as i said, when the daemon is started by hand, the system call works fine.
I remember a friend of mine was able to get my computer to boot under CUI, and the command 'start x' started the GUI. with booting up my computer through CUI.
I am setting up a thin client boot (over NFS) with x2go thinclient. So far everything works, the client boots over PXE, mounts the NFS dir on the server. But the x2go thinclient system does not install properly. I end up with a CLI prompt, to log in. It does not start X, not does it start the x2go client in a window managerless X session.
X2go is, in case you don't know it yet, a cool Linux X terminal session system, very much like Nomachines NXserver. I like it very much, since my experience, especially with freenx has not been good.
Now I am missing some Linux knowhow here: I know that after startup (the CLI part), the display manager is started (GDM or KDM), which starts the X server and shows the graphical login. Now since X2go does not properly setup and there is no documentation about the thinclient part, I will set it up myself.
I need the system to boot up, startx and then immediately start an X program (x2goclient), without having to log in before.
I found that putting a .xsession file in to the users home dir causes that script to be run when you invoke startx.But when I put startx in a script that runs as the last one in the runlevel (as in S05startx), it does not run at all.
What is the proper way to run X and a program on it directly, right at startup?
i'm beginner in linux and don't know how to resolve my problem in knoppix i have installed knoppix version 6.2.1 in my system recently and when i turn on my computer , knoppix runs as compize fusion and don't show username and password screen to me . i searched alot in interent and found that that screen called GDM or KDM and i have them and when i run GDM in command i see the login screen in my system . but i don't know how to make it my default window when i turn on my computer .
I have installet ubuntu lucid and it works fine. After the installation of other user software like keepass and truecrypt, the software-center utility doesn't start. I start it but the process start and after few second it exit from top utility. No screen output it doesn't start. I tried to start in terminal and receive this log: Traceback (most recent call last) code...
I am having issues launching the Ubuntu Software Center. I click it and it appears to start, but a window never comes up. I would like to either uninstall it and reinstall it or start it from the terminal.
I've already tried reinstalling it and all of the Python packages from Synaptic. (See, I did my homework! )Here's the terminal output I get trying to start it:
My screen has started freezing periodically. The mouse still moves the cursor but nothing else responds. Ctrl-Alt -F1 doesn't give me a terminal screen nor does Ctrl-Alt-Backspace restart X I must turn off the computer and turn it on again to reboot. I don't remember having this problem with Fedora 11, but I recently moved to Fedora 12. I am using the kernel
2.6.32.14-127.fc12.i686.PAE Looking at /var/log/messages, I find repeated instances of the error message [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4). before the reboot.
Google provides many references going back to April for this string, mostly on Ubuntu related sites. I do have an 128 MB ATI Radeon X300 graphics card but it is over four years old, and I didn't have this problem with earlier versions of Fedora. Also, the google references seem to refer to hibernation, which I am not doing, at least not intentionally. Finally, I see that Xorg configuration has changed significantly since I last checked. (I can't find xorg.conf.) Can anyone refer me to a relatively succinct description of how it now works?
Like the subject says, I was at my server and logged in directly and started screen. I then started a command and detached the screen.I then logged in remotely through ssh thinking I could resume the screen but when I try "screen -r", it says not screens to resume. I see the screen process still running and when I do go back to the server directly (no ssh) I can resume the screen and things are running just fine.Anyone know how to resume a screen remotely that wasn't started remotely?
When I first started with Fedora I tried a dual boot situation to see if Fedora 13 was going to meet my needs. After being totally satisfied I deleted Windows from my computer. How can I get Fedora to also occupy all the disk space Windows once occupied? I have a 15 GB USB drive to work with if needed.
How do I move the Window control buttons when the window is in full screen mode? I.e.: I know how to go into gconf-editor:
Code: gconf-editor --> apps --> metacity --> general --> button layout = ":minimize,maximize,close" (I've intentionally disabled the menu...)
What I want is my window controls to be on the right side of the window when the window is in full screen mode.
Also I've had an issue with the Unity dockbar glitching out. I can still click on the buttons (i.e. the logout button) but it displays like a nintendo game inserted crooked. Is there a way to 'restart' unity without log out/ log in?
Any one else experienced any glitches with unity auto hiding/showing?