diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-06 14:55:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-06 14:55:19 +0000 |
commit | d71205d14c74516925c0e837ba02135f36f084c6 (patch) | |
tree | 1e3714c605c28ca0bc4cc8e935683d6d433a043e /setup-gparted-desktop.in | |
parent | 049d3ce1efda40a59bd42834d3b8db5cdb0386fa (diff) | |
download | alpine-conf-d71205d14c74516925c0e837ba02135f36f084c6.zip |
setup-gparted-desktop: new setup script
The idea is that you quick and dirty can get gparted up and running
Diffstat (limited to 'setup-gparted-desktop.in')
-rw-r--r-- | setup-gparted-desktop.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/setup-gparted-desktop.in b/setup-gparted-desktop.in new file mode 100644 index 0000000..8bd198e --- /dev/null +++ b/setup-gparted-desktop.in @@ -0,0 +1,42 @@ +#!/bin/sh + +setup-xorg-base gparted xinit aterm openbox ttf-freefont $@ + +# create openbox menu +mkdir -p ~/.config/openbox +cat >~/.config/openbox/menu.xml<<EOF +<?xml version="1.0" encoding="UTF-8"?> + +<openbox_menu xmlns="http://openbox.org/3.4/menu"> +<menu id="root-menu" label="Openbox 3"> + <separator label="Applications" /> + <item label="GParted"> + <action name="Execute"> + <command>gparted</command> + </action> + </item> + <item label="aterm"> + <action name="Execute"> + <command>aterm</command> + </action> + </item> + <separator /> + <item label="Log Out"> + <action name="Exit"> + <prompt>yes</prompt> + </action> + </item> +</menu> +</openbox_menu> +EOF + +# create xinitrc +cat >~/.xinitrc <<EOF +gparted & +exec openbox-session +EOF + +echo "" +echo " To start GParted run: startx" +echo "" + |