diff options
author | Jonathan Bauer | 2013-05-14 17:02:15 +0200 |
---|---|---|
committer | Jonathan Bauer | 2013-05-14 17:02:15 +0200 |
commit | 44f951959faf8a09ff60cda4024bccd9efd633a1 (patch) | |
tree | c4b40e00c32196e84c85d39b8b3c283038b3ee92 /remote/modules/openbox | |
parent | fix udhcpc (diff) | |
download | tm-scripts-44f951959faf8a09ff60cda4024bccd9efd633a1.tar.gz tm-scripts-44f951959faf8a09ff60cda4024bccd9efd633a1.tar.xz tm-scripts-44f951959faf8a09ff60cda4024bccd9efd633a1.zip |
openbox
Diffstat (limited to 'remote/modules/openbox')
-rw-r--r-- | remote/modules/openbox/data/etc/xdg/openbox/menu.xml | 29 | ||||
-rw-r--r-- | remote/modules/openbox/openbox.build | 18 | ||||
-rw-r--r-- | remote/modules/openbox/openbox.conf | 12 |
3 files changed, 59 insertions, 0 deletions
diff --git a/remote/modules/openbox/data/etc/xdg/openbox/menu.xml b/remote/modules/openbox/data/etc/xdg/openbox/menu.xml new file mode 100644 index 00000000..b53d6ae6 --- /dev/null +++ b/remote/modules/openbox/data/etc/xdg/openbox/menu.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<openbox_menu xmlns="http://openbox.org/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://openbox.org/ + file:///usr/share/openbox/menu.xsd"> + +<menu id="root-menu" label="Openbox 3"> + <item label="Cooler Terminal Emulator"> + <action name="Execute"><execute>xterm</execute></action> + </item> + <item label="VM Chooser"> + <action name="Execute"><execute>vmchooser -c /etc/openslx/vmchooser/vmchooser.conf</execute></action> + </item> + <!-- This requires the presence of the 'menu' package to work --> + <menu id="/Debian" /> + <separator /> + <menu id="client-list-menu" /> + <separator /> + <item label="Restart"> + <action name="Restart" /> + </item> + <separator /> + <item label="Exit"> + <action name="Exit" /> + </item> +</menu> + +</openbox_menu> diff --git a/remote/modules/openbox/openbox.build b/remote/modules/openbox/openbox.build new file mode 100644 index 00000000..3e56fbfb --- /dev/null +++ b/remote/modules/openbox/openbox.build @@ -0,0 +1,18 @@ +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + + return 0 +} + +post_copy() { + [ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango" + pango-querymodules > "$TARGET_BUILD_DIR/etc/pango/pango.modules" +} diff --git a/remote/modules/openbox/openbox.conf b/remote/modules/openbox/openbox.conf new file mode 100644 index 00000000..67c63c4c --- /dev/null +++ b/remote/modules/openbox/openbox.conf @@ -0,0 +1,12 @@ +REQUIRED_DEPENDENCIES=" openbox + libpango1.0-0" +REQUIRED_PACKAGES=" openbox + libpango1.0-0" +REQUIRED_BINARIES=" openbox + openbox-session" +REQUIRED_FILES=" /usr/share/xsessions/openbox.desktop" +REQUIRED_DIRECTORIES=" /etc + /usr/lib/openbox + /usr/share/themes/Clearlooks + /usr/lib/$ARCH_TRIPLET/pango/" + |