mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Home
|
||||
Comment=Home
|
||||
Exec=mb-applet-home
|
||||
Type=PanelApp
|
||||
Icon=xrandr.png
|
||||
Categories=Panel;Utility;MB
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
mb-applet-launcher -na -o -1 -l --title "Home" mbdesktop.png matchbox-remote -d
|
||||
@@ -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
|
||||
+9
@@ -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-left
|
||||
fi
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "Simple dockapps created with monolaunch and shell script"
|
||||
DEPENDS = "matchbox xmodmap"
|
||||
SRC_URI = "file://xrandr-panelapp.sh \
|
||||
file://xrandr-panelapp.desktop \
|
||||
file://mb-applet-home \
|
||||
file://home-panelapp.desktop \
|
||||
file://xrandr.png"
|
||||
SECTION = "x11/wm"
|
||||
PRIORITY = "optional"
|
||||
PR = "r6"
|
||||
LICENSE = "MIT"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -d ${D}${datadir}/applications
|
||||
install -d ${D}${datadir}/pixmaps
|
||||
install -m 0755 ${WORKDIR}/xrandr-panelapp.sh ${D}${bindir}/
|
||||
install -m 0644 ${WORKDIR}/xrandr-panelapp.desktop ${D}${datadir}/applications/
|
||||
install -m 0644 ${WORKDIR}/xrandr.png ${D}${datadir}/pixmaps/
|
||||
install -m 0755 ${WORKDIR}/mb-applet-home ${D}${bindir}/
|
||||
install -m 0644 ${WORKDIR}/home-panelapp.desktop ${D}${datadir}/applications/
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user