Commit d71205d1 authored by Natanael Copa's avatar Natanael Copa

setup-gparted-desktop: new setup script

The idea is that you quick and dirty can get gparted up and running
parent 049d3ce1
......@@ -25,6 +25,7 @@ SBIN_FILES := lbu\
setup-bootable\
setup-timezone\
setup-xorg-base\
setup-gparted-desktop\
update-conf
BIN_FILES := uniso
......
#!/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 ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment