summaryrefslogtreecommitdiff
path: root/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1')
-rw-r--r--packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/.mtn2git_empty0
-rw-r--r--packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.desktop7
-rwxr-xr-x[-rw-r--r--]packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh9
-rw-r--r--packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr.pngbin0 -> 534 bytes
4 files changed, 16 insertions, 0 deletions
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
--- /dev/null
+++ b/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/.mtn2git_empty
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
index e69de29bb2..491db4ca38 100644..100755
--- 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
--- 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
Binary files differ