From c8e5702127e507e82e6f68a4b8c546803accea9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 30 Jun 2005 08:19:37 +0000 Subject: import clean BK tree at cset 1.3670 --- .../matchbox-panel-hacks-0.3-1/.mtn2git_empty | 0 .../matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop | 7 +++++++ .../matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh | 9 +++++++++ .../matchbox-panel-hacks-0.3-1/xrandr.png | Bin 0 -> 534 bytes 4 files changed, 16 insertions(+) create mode 100644 packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/.mtn2git_empty mode change 100644 => 100755 packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh (limited to 'packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1') diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/.mtn2git_empty b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop index e69de29bb2..512e3771e4 100644 --- a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop +++ b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Screen Rotator +Comment=Panel based Rotation tool. +Exec=mb-applet-launcher -na -l --title "Screen Rotator" /usr/share/pixmaps/xrandr.png xrandr-panelapp.sh +Type=PanelApp +Icon=xrandr.png +Categories=Panel;Utility;MB diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh old mode 100644 new mode 100755 index e69de29bb2..491db4ca38 --- a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh +++ b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ -n "$(xrandr | grep rotation | grep left)" ] +then +xrandr -o normal +xmodmap /etc/X11/xmodmap-portrait +else +xrandr -o left +xmodmap /etc/X11/xmodmap-right +fi diff --git a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr.png b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr.png index e69de29bb2..e1f529022d 100644 Binary files a/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr.png and b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr.png differ -- cgit v1.2.3