diff options
-rwxr-xr-x | setup-box | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -191,6 +191,41 @@ search_desktop() { final_serv="$final_serv "$services fi + if [ "$1" == "openbox" ]; then + 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="Terminal"> + <action name="Execute"> + <command>st</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 +exec openbox-session +EOF + + fi + # psmouse module modprobe psmouse grep -q -w psmouse /etc/modules \ |