LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   altering xfce4 window manager shortcuts (http://www.linuxquestions.org/questions/slackware-14/altering-xfce4-window-manager-shortcuts-4175457589/)

michaelslack 04-10-2013 01:22 AM

altering xfce4 window manager shortcuts
 
Dear slackers,

I have a default setup of xfce4 in slackware14.0 and I would like to set up a keyboard shortcut to tile windows left and right.

Under Settings -> Window Manager -> Advanced I have the box ``Snap windows to screen border'' checked and the box ``Wrap workspaces when dragging a window off the screen'' unchecked. So now I can drag a window by the title bar toward the left or right edge of the screen and eventually it ``snaps'' to the window edge and resizes to fill half the screen. It's a nice setup when e.g. using LaTeX -- the source file can be in one half and the document previewer in the other. I would prefer to use the keyboard to do this rather than the mouse.

Also, under Settings -> Window Manager -> Keyboard there is a list of ``Window shortcuts'' which has a long list of ``Actions'', some of which have ``Shortcuts'', some of which do not. Listed under the ``Actions'' are ``Tile window to left'' and ``Tile window to right''. However (when logged in as a regular user, of course) I cannot change any of these settings, except for clearing, or resetting all to default which can re-instate cleared ones.

A short internet search found the following statement on http://wiki.xfce.org/faq (note in particular the sentence in red):
Quote:

Is it possible to change the default shortcut keys?

Yes, of course… Keyboard shortcuts are defined on two locations. The shortcuts to handle the window manager are defined in the Settings Manager > Window Manager Settings > Keyboard. The Default theme can not be changed, but when you add a theme you can change that one. More global keyboard shortcuts, like volume adjustements, can be found in Settings Manager > Keyboard Preferences > Shortcuts. Again you need to add a new theme before you can start customizing it.
Am I correct in assuming that I cannot do what I want, without adding a theme? I would be happy to ``add'' a copy of the Default theme and make a small change but it is not at all clear how to do that.

Does anyone have any experience with this issue? I am happy to dig into the configuration files and make changes there if necessary (wherever/whichever they are) but I would be a bit surprised if that were truly necessary.

Thanks in advance,

Michael

D1ver 04-10-2013 01:45 AM

Quote:

Originally Posted by michaelslack (Post 4928676)
Dear slackers,

Also, under Settings -> Window Manager -> Keyboard there is a list of ``Window shortcuts'' which has a long list of ``Actions'', some of which have ``Shortcuts'', some of which do not. Listed under the ``Actions'' are ``Tile window to left'' and ``Tile window to right''. However (when logged in as a regular user, of course) I cannot change any of these settings, except for clearing, or resetting all to default which can re-instate cleared ones.

On my system as a regular user I am able to double click on one of these 'actions' and then set a keybind by pressing the desired keys in the pop up window..

michaelslack 04-10-2013 01:49 AM

Thanks...I feel like an idiot. I thought I tried that but obviously not.

Cheers,

Michael


All times are GMT -5. The time now is 01:58 AM.