bsp
Very Active Member
- Joined
- Dec 2, 2006
- Messages
- 314
Hi all,
just got my Pandora yesterday (nice device! 50Hz vsync
Amiga/C64 emulators rock for sure!)
I noticed that when the XFCE panel is set to "auto-hide",
the Pandora key does not show the app. menu anymore.
So I wrote a replacement script that fixes this issue:
#
# Show or hide XFCE application/popup menu when Pandora key is pressed.
#
# (drop-in replacement for "/usr/pandora/scripts/op_xfcemenu.sh" which
# does not work when the panel auto-hide feature is enabled)
#
MENU_SY=`xwininfo -name xfce4-menu-plugin|grep Height|awk '{print $2}'`
if [ 1 -eq $MENU_SY ]; then
xfce4-popup-menu
else
WINID=`xwininfo -name xfce4-menu-plugin|grep 'Window id:'|awk '{print $4}'`
xdotool keydown --window $WINID Escape
fi
besides more interesting things which are still work-in-progress, I also
ported NanoEmacs (ne) and xev today (see attachment).
Maybe someone else has a use for these.
Greetings,
Bastian
p.s.: can someone tell me the shortcuts for PageUp/Down ?
just got my Pandora yesterday (nice device! 50Hz vsync
Amiga/C64 emulators rock for sure!)
I noticed that when the XFCE panel is set to "auto-hide",
the Pandora key does not show the app. menu anymore.
So I wrote a replacement script that fixes this issue:
#
# Show or hide XFCE application/popup menu when Pandora key is pressed.
#
# (drop-in replacement for "/usr/pandora/scripts/op_xfcemenu.sh" which
# does not work when the panel auto-hide feature is enabled)
#
MENU_SY=`xwininfo -name xfce4-menu-plugin|grep Height|awk '{print $2}'`
if [ 1 -eq $MENU_SY ]; then
xfce4-popup-menu
else
WINID=`xwininfo -name xfce4-menu-plugin|grep 'Window id:'|awk '{print $4}'`
xdotool keydown --window $WINID Escape
fi
besides more interesting things which are still work-in-progress, I also
ported NanoEmacs (ne) and xev today (see attachment).
Maybe someone else has a use for these.
Greetings,
Bastian
p.s.: can someone tell me the shortcuts for PageUp/Down ?
Attachments
Last edited by a moderator: