This is only a quick guide that i split from a different thread. So little knowledge of using a terminal is needed.
xbindkeys is a daemon to assign global shortkeys. Something which is broken in the xfce-version the Pandora uses. xbindkeys is not in the opkg-repository and it does not make much sense to provide it in a pnd, but you can compile and install it rather easy if you don't care for guile-support:
- get http://repo.openpand...=codeblocks6022 and run Start->Development->"C/C++/pyDevelopment Tools ...". Enter your password.
- change to a place on your sdcard where you want to download the xbindkeys-tarball and build it. Use the command "cd" for that. Example: "cd /media/trans8/".
- download the xbindkeys from http://www.nongnu.or...s.html#download by usign wget. For example: wget http://www.nongnu.or...ys-1.8.5.tar.gz
- untar it to your sd-card by using "tar". For example "tar xbindkeys-1.8.5.tar.gz"
- change to the directory of the unpacked tar.gz by use of the "cd"-command. Example "cd xbindkeys-1.8.5/"
- run "./configure --disable-guile"
- run "make"
- run "sudo make install" (enter password)
Hint: I always keep the directories with the unpacked content in order to be able to uninstall a program. To do this simply go to that directory and write "sudo make uninstall".
Now you can run "xbindkeys" from any terminal and include it in the startup-applications or any script you want. You must also create a ~/.xbindkeysrc. For more info see also the xbindkeys-homepage.
Quickly create a default rc-file:
Edit this file to your pleasure and add xbindkeys to xfce-startup (Start->Settings->Desktop->"Session and Startup"-> Application Autostart). You might have to unmaximize that window and move it up by using Alt+F7 then "d-pad up" to see the buttons at the bottom. The exact location of xbindkeys-command that you should use for adding is "/usr/local/bin/xbindkeys".
Further hints:
"xbindkeys -k" and "xbindkeys -mk" can be used to show you keycombinations that you press. That output can be used in the xbindkeysrc-file afterwards
"xbindkeys -p" can be used to start an instance of xbindkeys that permanently polls for changes in the config-file. So you might want to use the "-p"-parameter when setting up the "Application Autostart"-entry of XFCE.
xbindkeys is a daemon to assign global shortkeys. Something which is broken in the xfce-version the Pandora uses. xbindkeys is not in the opkg-repository and it does not make much sense to provide it in a pnd, but you can compile and install it rather easy if you don't care for guile-support:
- get http://repo.openpand...=codeblocks6022 and run Start->Development->"C/C++/pyDevelopment Tools ...". Enter your password.
- change to a place on your sdcard where you want to download the xbindkeys-tarball and build it. Use the command "cd" for that. Example: "cd /media/trans8/".
- download the xbindkeys from http://www.nongnu.or...s.html#download by usign wget. For example: wget http://www.nongnu.or...ys-1.8.5.tar.gz
- untar it to your sd-card by using "tar". For example "tar xbindkeys-1.8.5.tar.gz"
- change to the directory of the unpacked tar.gz by use of the "cd"-command. Example "cd xbindkeys-1.8.5/"
- run "./configure --disable-guile"
- run "make"
- run "sudo make install" (enter password)
Hint: I always keep the directories with the unpacked content in order to be able to uninstall a program. To do this simply go to that directory and write "sudo make uninstall".
Now you can run "xbindkeys" from any terminal and include it in the startup-applications or any script you want. You must also create a ~/.xbindkeysrc. For more info see also the xbindkeys-homepage.
Quickly create a default rc-file:
Code:
xbindkeys -d > ~/.xbindkeysrc
Edit this file to your pleasure and add xbindkeys to xfce-startup (Start->Settings->Desktop->"Session and Startup"-> Application Autostart). You might have to unmaximize that window and move it up by using Alt+F7 then "d-pad up" to see the buttons at the bottom. The exact location of xbindkeys-command that you should use for adding is "/usr/local/bin/xbindkeys".
Further hints:
"xbindkeys -k" and "xbindkeys -mk" can be used to show you keycombinations that you press. That output can be used in the xbindkeysrc-file afterwards
"xbindkeys -p" can be used to start an instance of xbindkeys that permanently polls for changes in the config-file. So you might want to use the "-p"-parameter when setting up the "Application Autostart"-entry of XFCE.
Last edited by a moderator: