Tag Info

Hot answers tagged

5

Since evince lacks options to explicitly control its own window management (as do most applications), the next approach is to control evince externally from the window manager itself. Assuming GNOME with metacity as the window manager, you'll have to use devilspie to get the window matching features. Install devilspie from your official Ubuntu ...


4

FWIW, with xterm, click on the left mouse button while holding the Ctrl key to bring a menu where you can select secure keyboard. which uses XGrabKeyboard to get exclusive usage of the keyboard. You can also bind it to a key such as with: xterm -xrm 'XTerm.VT100.translations: #override Shift <KeyPress> F2: secure()' For Shift-F2. Though you'd ...


4

metacity is not intended to be exited, since it is generally only meant to be used with a session manager. You will need to use an external tool to kill it.


3

You need to focus the window that you want to recieve these keystrokes. wmname provides such functionality, you can probably find it in your package manager. wmctrl -ai "$windowID" ; xmacroplay "$DISPLAY" < full.txt (where $windowID is the window ID as determined through xwininfo, et al) is probably what you want.


2

Change the gconf key with gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz You can go back to the default Gnome Metacity window manager with gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm If this fails You can simply add compiz --replace ...


2

You're not saying which window manager you're using under gnome. Most common ones are metacity, compiz (and gnome-shell in new versions of gnome) though you can use any you like (though some integrate better with gnome than others). For openbox, change your configuration file (something like ~/.config/openbox/rc.xml which you can copy from ...


1

Put it last in ~/.xinitrc (with no &). However, as it was not intended to be used like that, to kill it, you must use pkill -9 metacity or shut down your computer. (Other than that, it works great; I used it like that on my Debian for ages until I found OpenBox.) But no worry, you could make an alias of the pkill command if you habitually wish to return ...


1

There is no such option I know of in Metacity/Marco. There are, however, a handful options to ship around this issue. Compiz: There is the Place-Plugin available which allows you to define placement algorithm and locations. Devil's Pie 2: The successor to Devil's Pie allows you to match windows and set certain properties of the window (size, location, ...



Only top voted, non community-wiki answers of a minimum length are eligible