OpenSUSE :: Window Placement - Resizing From Command Line
Feb 10, 2011
I'm looking for a solution which would allow me to move and resize windows (e.g. rdesktop or firefox, etc...) in X. Preferably independent of either GNOME or KDE. The purpose of this is to be able to perform demo, where certain windows would be placed on a laptop's external monitor, without the obvious mouse cursor movements and resizing.
This has bugged me forever.....and I mean really bugged me. The 'pixel width' is too low, such that trying to get my mouse to line up just perfectly on the window edge to get the resize icon, is very difficult. After a bit of searching, I discovered Alt F8, which, for those that don't know, is a resize shortcut and works very well, however, I will still use the 'edge resizing' option quite a bit, and would like to widen the 'line' a few pixels. Is this possible in a user settings file, or is this hardcoded? I am learning to develop, so I wouldn't mind looking into this one as a beginning project. If that's the case, could someone point me to the appropriate package?
I installed openSUSE on my macbook pro 7,1. As of now I am trying to update the software, unfortunately, I have encountered a problem. As I hit the "Install Updates" icon, I get a window that gives me a readout of the current updates. No problem there. However, after I click the "Update" button, a second window pops up that gives a very long list of other software that needs to be either removed, installed, or updated for the original updates to be installed. Only problem is the list is so long, it extends beyond the visible desktop. This is a problem because I cannot click on the button to install those updates. The window cannot be re-sized, so there is no way I can reach the button, and I have even tried rotating the desktop 90 degrees (to make it longer), but still to no avail, as the install button is out of reach even then. I don't know how I can update the software if I can't hit the right button. Is there perhaps another way to get around this (like with terminal)?
I want the three buttons on the top of the window to be on the right side, but every time I go to another theme they get switched over to the left again.
Out of curiosity and stupidity, I configured 2 extended partitions to LVM in gparted. Now, I can't boot into X window, and there's only GRUB command line during boot.
How can I open a folder in a window from the command line. I don't want to list the contents of the folder by the "ls" command, but want to open the folder through the command line, like it opens when we double click on the folder.
every time I logout from Xwindow KDE, it doesn't redirect me to Linux command line, instead it was halted without the machine being shut down. How can I exit from KDE and go to Linux command line?
I use putty to get to my RHEL 5.3 workstation from my Windows laptop.
Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.
QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.
In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?
I have cairo-dock 2.2 set to auto-hide when it overlaps the current window, allowing me to maximize windows to fill the entire screen or view two windows side by side with grid without having the dock taking up space (but still accessible by going to the bottom of the screen). My only problem is that this way I can't effectively use the Smart mode in the Place Windows plugins of compiz because new windows get placed over the dock and hide it when I don't want to. So I'm stuck using Cascade.
Is there any way to make it so a window will not appear on top of the dock without using panel mode or some other space-wasting feature, or any kind of "keep below" arrangement making the dock inaccessible when a window is over it?
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.
Anyone know the trick to getting Ubuntu to show the contents of a window while I resize it? It WAS doing this until I loaded up the drivers for my Nividia Quador 135M (works great!) I'm very happy with my Ubuntu 9.10, I even have all the bouncy window effects running.
Still, I would love get rid of the "faded blue resizing box" and see the contents instead.
Ever since I installed 10.04 my window resizing has been incredibly slow. The type or resizing I mean is when you grab the bottom-right corner or one of the sides. I used to use 9.04 a while back and never had this issue. I have an nVidia 8400. My monitor is a Dell 22" widescreen at 1680x1050 resolution and 60hz. I do not have any visual effects turned on.
Here is my xorg.conf: Code: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder75) Sun Nov 8 21:50:38 PST 2009 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection .....
I am installing ubuntu on my Delete Inspiron laptop and after selecting "install them side by side" option the window saying "Resizing partition..." on it has come up and just says 0%. I am partitioning so that ububtu has 100GB, but should it be taking this long - it's been about 25 mins. Is this normal?
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
In Debian 8.1 with KDE, I don't find how to disable the automatic resizing of windows when the mouse drags a window to screen edges; seems that this function is called "aero snap".
After upgrading from 10.10 to 11.04, at first everything worked fine. Then i changed the compiz configuration to cube, confirmed some questions, and now i have no window decorations. No icons for close, minimize, maximize. No resizing by mouse. No title bar.
In the launcher, i lost applications and files&?, and in the top menu bar, i lost the leftmost part, where some menus and the Ubuntu icon were found.
I'm trying to send a text message from the command line to a cell phone. Right now I'm working with gnokii but it isn't panning out. I ranCode:echo "This is a test message" | gnokii --sendsms +17191234567 -r but it isn't working. The output I get is this
How do I find files in opensuse 11.2 without using the command line. I see in dolphin "nepomuksearch", but it doesn't work. Even in the command line you cannot whereis a file like Monday, Monday.mp3. whereis also seems to be case sensitive.
I am a redhat admin and also use Ubuntu. Installed opensuse on my home machine to give it a whirl. I can't seem to figure out why i can't open gui application from the command line.
I receive a GTK error when trying to open with sudo. What am i doing wrong?
EDIT: NM solved my own question, had to add DISPLAY and XAUTHORITY to the sudoers file.
Doing an install of Suse 11.4 --- and the screen runs off the monitor to the right. A little guess word with the tab key and I could move through the install process by tabbing three times after the ""help" button. As I'm writing this the machine rebooted after initial load and the screen is okay - and I can see the abort-back-next buttons now. But really, what's with that? That's just so unprofessional. Hopefully the dev team reads these forums since there isn't any easily discoverable way to communicate with them. And you don't keep the iso's updated? The BETA of Firefox 4?? Really? Then I can only update to 4.01 from the repository? so I download an unpack the 5.0 from Mozilla -- and find out ./configure no longer works. The archive extractor still doesn't have an "install package" option anywhere, and now I can't use the command line either?
maybe this is something extremely simple and my brains are just mush after a whole night of struggling (and succeeding) with wifi driver issues.i'm running a brand new 10.10 netbook on a brand new asus eee 1015. i am trying to set up my email in evolution and the evolution windows are larger than the netbook screen, which means that the OK, SAVE, etc buttons are outside reach. i tried to resize, move window - resizing doesn't work and it only moves horisontally, not vertically.
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option