

Now it is possible to assign a command to them.These steps will probably require some modification to work. When you start the shortcut editor the assigned keysyms should show up when you press one of your multimedia keys. Xmodmap file is loaded when you start Xfce add /usr/bin/xmodmap $HOME/.Xmodmap to your. Example:Īll possible keysyms can be found in /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB. Xmodmap file in your $HOME directory containing those keycodes and assign keysyms to them. To determine keycodes of the multimedia keys use the program xev. Use xmodmap to assign keycodes to your Media keys to make them available for the Xfce shortcut editor: Is it possible to use Media keys in the Shortcut Editor? See the Xfce wiki (), from which the below steps are taken: This method makes use of already-present processes - xmodmap and Xfce's built-in keyboard settings.

There are two ways of going about this: the first is less user-friendly but more efficient whereas the second is much easier but causes a (minimal) process to run in the background.
#Wordpress xmenu windows
Map the Windows and Menu keys to the Popup Script Use the xev command to look for the proper keycodes if these don't match up.īefore you can use this script, you have to make it executable:

Also note that your keycodes may not be the same as mine. You may, of course, save it to whatever directory you choose just modify the steps accordingly. This will be a hidden file in your home directory. Into it, paste the following:įiSave and exit the file. (If you want to make it really Windows-like, find the command that brings up the context menu and use that in place of the window list.) To get around this problem, I wrote a simple shell script that temporarily turns the Windows or Menu keys into Escape. The same goes for the window list, whose command is xfdesktop -windowlist. The problem is that there is no equivalent command to collapse the menu - for this you must use the key. By default, the keyboard shortcut + does just this. You can expand the Xfce menu with the command xfce4-popup-menu try it yourself in a terminal. (My desktop background, by the way, is of the cave painting at Cueva de las Manos () in Argentina.) I'm using Debian Lenny, but I presume that much the same may be accomplished in Xfce on Ubuntu.
#Wordpress xmenu how to
The steps below will also show you how to map the "Menu" key to expand and collapse the Xfce window list at the position of your cursor:īoth of these may be accomplished with a few simple steps. I know this is merely a cosmetic tweak, but it's convenient, and I know there are people out there who wish to have this capability. Whether you're going for an all-out lookalike of Windows XP () or would simply like to make use of all the keys on your keyboard, you may find it desirable to be able to expand and collapse the Xfce menu with your Windows key: How-to: Expand/Collapse the Xfce menu with the Windows key If you're using the Xfce desktop environment, these steps should work. Note: Originally posted by me on the Debian Forums ().
