For display config. I simply add *<keybind key="XF86Display">* * <action name="Execute">* * <command>lxrandr</command>* * </action>* * </keybind>*
to lubuntu-rc.xml file. To mute I do: * <keybind key="XF86AudioMute">* * <action name="Execute">* * <command>amixer -q sset Master toggle</command>* * </action>* * <action name="Execute">* * <command>amixer -q sset Speaker unmute</command>* * </action>* * <action name="Execute">* * <command>amixer -q sset Headphone unmute</command>* * </action>* * </keybind>* This might open your possibilities while trying to make several commands on a single button activity. Some more information on these bug reports: https://bugs.launchpad.net/ubuntu/+source/openbox/+bug/1313358 https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1313813 https://bugs.launchpad.net/ubuntu/+source/openbox/+bug/1313355 https://bugs.launchpad.net/ubuntu/+source/openbox/+bug/1313352 2014-10-06 8:08 GMT-03:00 Artemgy <[email protected]>: > Marco, > > > Since some keyboard shortcuts are missing (Fn+F3: switch screen) or > misworking > > (Fn+up, Fn+down: change backlight level) or simply without NotifyOSD > > message (Fn+F5, toggle wifi), I would edit them manually. > > > No one works. Even if it does not work very well, the backlight > > shorcuts do change the backlight level. The shorcuts really launch > > those scripts, or there are other scripts elsewhere? > > I use $HOME/.config/openbox/lubuntu-rc.xml for fixing the key-bindings > for these 'blue' hardware functions on laptops. > > The inconsistency between models when installing Lubuntu on various > differrent laptops is one of my bugbears. It seems that folks working on > the kernel or xorg or openbox or even Lubuntu manage to improve support > for these with each release, however I suspect there is an absence of > standards for manufacturers to follow, which makes it tough to keep up. > > In some cases there is a simple fix to correct the syntax in the openbox > config file. For example, some laptops volume keys work if I search for > the text "XF86AudioRaiseVolume", and after each of the three commands > "amixer -q" I insert the text "-D pulse" before "sset". In other cases, > like screen switching I resort to binding a key to a command that > executes a shell script calling xrandr, which is a little more fiddly. > > Perhaps you could try binding to scripts in your openbox config? > > Example of binding in openbox: > https://wiki.archlinux.org/index.php/Openbox#Multimedia_keys > List of special keyboard symbol codes: > http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols > Sample script for binding monitor toggle key to Super-P: > https://github.com/artmg/lubuild/blob/master/user-config.bash > > Hope this helps > Artemgy > > -- > Lubuntu-users mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/lubuntu-users >
-- Lubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
