Friday, March 20, 2015

Create shortcuts with xbindkeys

Install xbindkeys 

sudo apt-get install xbindkeys
 

Create the default config file for xbindkeys 

xbindkeys --defaults > /home/your-user-name/.xbindkeysrc
 

When thats done, install xbindkeys-config, the GUI for xbindkeys

sudo apt-get install xbindkeys-config
 

Now the utility that actually does the "typing"

sudo apt-get install xvkbd
 

Once each is installed, start both applications by bringing up "Run Application"
 with ALT -F2.

xbindkeys
 
and

xbindkeys-config
 
The above is to start the GUI settings.
 
 
Ensure that <xbindings> is added to startup applications.

To have the GUI in applications, create a /usr/share/applications/xbindings_config.desktop

paste this there:

[Desktop Entry]
Name=Xbindkeys Setting
Comment=Set keys
Exec=xbindkeys-config
Icon=input-keyboard
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;System;

Make it executable.

To install in Opensuse:

Here and here.

No comments:

Post a Comment