A hot key for the switch gui app?


Foxgod

Active Member
Joined
Jan 22, 2011
Messages
971
Location
Netherlands
Hey guys,


Would it be possible to create a hotkey, or button combination to launch the switch gui app from anywhere?


I would like to use this feature to cycle between gui's quickly.
 
I don't think there is an easy way. The only way I can think of is to extend pndevmapperd (http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=blob;f=apps/pndevmapperd.c;h=afed8d9346773c20081a6af817b5b792e5cf1886;hb=aa56c39e07d0b885cf5aecd54be1370c03562d81). It's this app which calls /usr/pandora/scripts/op_menu.sh when the Pandora key is pressed, and /usr/pandora/scripts/op_power.sh when the power button is pressed, so it's entirely feasible it could be extended to call /usr/pandora/scripts/op_switchgui.sh when some other key is pressed. I guess it depends on how well you know C.
 
Maybe an easier solution could be an icon on the desktop? That could be done by creating a PND with an icon and call of the mentioned op_switchgui.sh within.
 
Back
Top