###### as seen:
http://puffinux.freeforums.org/messy-pris-the-forum-backup-t54.html
##### this is a posterity backup. this script has not been
updated or worked on since... 2009 iirc (because squishboom development
pretty much stopped once the "witch" idea/opportunity landed on me).
####use at own risk!!!
###(it has known issues, so it's not just risk, it's certain
bork. you have been warned.)
## in short, this is the script i used to convert crunchbangs, into
squishbooms.
#!/bin/bash
echo "Digit's mighty post-reinstallation script v0.002a"
echo
echo "this is (to be*) my post-reinstallation script for crunchbang
linux."
echo
echo "WARNING. THIS IS NOOBSOFT! likely to be bug
ridden! u hav been warned!"
echo
echo "it's purpose includes:"
echo "informing you what it's doing (thats this text you are reading
now)"
echo "reinstating ctrl alt bckspace to restart the graphics server"
echo "switching off anti-aliasing in openbox"
echo "swifting firefox & de-aliasing firefox"
echo "backup current conkyrc and replace with my tightbar conkyrc"
echo "reinstalling and activating iggykoopas power usage script for
conky"
echo "backup current rc.xml and menu.xml, and replace with own custom
versions"
echo "switching off superflous processes, like:"
echo "-bluetooth"
echo "-... other stuff that drains battery needlessly"
echo
echo
echo "then wen this stuff is done..."
echo "this script will ask you, do u want to install the other software
too,"
echo "...and a simple yes to that question will then go about
installing the"
echo "list of software i'm certain i want, using sudo apt-get install"
echo "this list includes:"
echo
echo "gimp"
echo "as many worthy gimp plugins as you can find (inc fonts, brushes
etc)"
echo "baobab"
echo "fractals"
echo "blender d(nothefullvidsiftoobig)"
echo "kino (and other video editors efectors) d"
echo "inkscape d"
echo "imagemagick d"
echo "iptraf & that other one"
echo "easy on the firefox enhancements - copy bookmarks as advised."
echo "backup lightweight browser alternatives. (links/links2/lynx dillo
midori)"
echo "anarchism faq"
echo
echo
echo
echo "another really cool thing this script intends to do is to"
echo "get 3d drivers and opengl fully functional,"
echo "AND"
echo "to get the pen and tablet fully functional"
echo
echo
echo
echo "*"
echo "if any aspect of this script fails to achieve anything on the
list above,"
echo "thats probably because it just hasnt been written in to the
script yet,"
echo "as this description was written prior (as a plan) to the actual"
echo "nitty gritty of the script."
echo
echo "ok dokey, hunky dory, on with the action!"
echo
echo "introduction complete."
echo
echo "initiating:"
echo
echo "=== reinstating ctrl alt bckspace to restart the graphics server
==="
echo
echo "You don’t need to install software to enable it."
echo "Simply add the following lines to your xorg.conf file"
echo "if you like, by typing the command:"
echo "sudo gksudo gedit /etc/X11/xorg.conf"
echo
echo "Section “ServerFlags”"
echo "Option “DontZap” “false”"
echo "EndSection"
echo
echo "or alternatively, you could try using the far less intuitive:"
echo "rAlt, PrtSc, k.
which should also restart the graphics server"
echo
echo "or alternatively, you can try the dontzap installation.
{RECOMENDED for nubile safety}"
echo
read -p "be lazy n just use dontzap (y/n)?"
[
"$REPLY" == "y" ] && sudo apt-get install dontzap &&
sudo dontzap -- disable && echo "dontzap disabled"
echo
echo "if you chose yes, you should now have a working ctrl alt bkspace."
echo "please DONT try it now, wait until after the rest of this script
has completed."
echo "=== done reinstating ctrl alt bckspace ==="
echo
echo
echo "=== switching of anti-aliasing in openbox ==="
echo
echo "(should be ok, i tested it, fairly thoroughly)"
echo
echo "try adding this to ~/.fonts.conf"
echo
echo " <match target="font">"
echo " <edit name="antialias" mode="assign">"
echo " <bool>false</bool>"
echo " </edit>"
echo " </match>"
echo
echo "or alternatively, put your trust in the following risky command
sequence"
echo
read -p "risk my comandline add relevant bits to .fonts.conf file
(y/n)?"
[
"$REPLY" == "y" ] && touch ~/.fonts.conf && echo
"
<match target="font">" >> ~/.fonts.conf && echo
"
<edit name="antialias" mode="assign">" >>
~/.fonts.conf
&& echo "
<bool>false</bool>" >>
~/.fonts.conf && echo " </edit>"
>>
~/.fonts.conf && echo " </match>" >>
~/.fonts.conf
echo
echo "your fonts should now be not anti-aliased in open box..."
echo
echo "... and you machine alot faster and more responsive."
echo
echo " if you want to re-enable anti-aliasing, just move about a foot
further back from the screen."
echo
echo "=== switching off openbox anti-aliasing complete ==="
echo
echo
##swiftfox
#wget
http://getswiftfox.com/builds/installer/athlon64/install-swiftfox.sh
#sudo chmod +x install-swiftfox.sh
#sh install-swiftfox.sh
echo "=== de-anti-alias fonts in firefox3 ==="
echo
read -p "speed up firefox by ridding anti-aliasing (y/n)?"
[ "$REPLY" == "y" ] && echo "export MOZ_DISABLE_PANGO=1"
>> ~/.bashrc
echo
echo "restarting firefox from another term, or resourcing your .bashrc
will enable this... no worries."
echo "enjoy the performance boon"
echo
echo "=== de-anti-aliased fonts in firefox3 ==="
echo
echo "=== for more firefox tips, do a search for firefox speed tips,
& ammend about:config ==="
echo "beware the big bad wolf that is flash cookies!
insideous little bastards!"
echo "this another reason to have a fully gnu compliant install, devoid
of any proprietary sharn"
echo "like Seven of Nine said:"
echo "~you have neglected to remove the autonomous regeneration
sequencers~"
echo "thats just what flash cookies are like. you can delete
cookies, but flash will reinstall them"
echo "=== another tip is to regularly clean private data, uninstall
adons, or even reinstall ==="
echo
echo
echo "=== backup current conkyrc and replace with my tightbar conkyrc
==="
echo
read -p "u wanna new tight conky (y/n)?"
[ "$REPLY" == "y" ] && cp ~/.conkyrc
~/.conkyrc_originalbackupfrom_pris
echo "original conky backed up to ~/.conkyrc_originalbackupfrom_pris"
echo "sleeping for 7 to be sure thats done before..."
sleep 7
echo "removing .conkyrc"
rm .conkyrc
echo "removed old conky (dont worry, i told u i backed it up right?"
echo "doing a HERE to input the new tight conky"
echo "('HERE' meaning the whole >> << and EOF bit)"
cat >>.conkyrc <<EOF
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Trebuchet MS:size=10
xftfont Sans:size=5
# Text alpha when using Xft
xftalpha 1
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear
around conky
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 19 1050
# Maximum width
maximum_width 120
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline yes
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders no
# Stippled borders?
# stippled_borders 8
# border margins
# border_margin 1
# border width
# border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color FFFFFF
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 0
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
##############################################
##############################################
TEXT
${goto
0}${voffset 1023}${voffset 0}${color FFFFFF}${cpugraph cpu0 19,7 333333
ff0000}${offset 1}${memgraph 19,5 333333 65DAD2}${offset
1}${upspeedgraph normal wlan0 19,7 000044 8383BE}${downspeedgraph
normal wlan0 19,7 440000 BE8383}
${voffset -19}${outlinecolor
000000}${offset 28}${color 65DAD2}${mem}${color FFFFFF}${swap}${voffset
-8}${goto 32}${fs_free}${color e022fe}${voffset 2}${wireless_link_bar
4,35 wlan0}
EOF
echo "now if that conky doesnt work to your tastes, you can always
modify it more."
echo "there are some great examples of conkys at:"
echo "http://crunchbanglinux.org/forums/topic/59/my-conky-config/"
echo "PLEASE PLEASE PLEASE REMEMBER,...."
echo "if you want your next install to have the latest n coolest conky
you have, add it to pris!"
echo
echo "anyways"
echo "=== thats your conky updated ==="
echo
echo "ok, not quite done with your conky yet..."
echo
echo "... adding iggykoopas power usage analyser script."
echo
echo "useful for learninghow much juice your sucking, if u add it to
your conky config"
cat >>~/bin/iggypowersave <<EOF
#!/usr/bin/env python
import os
rate = 0.0
batteries = os.listdir("/proc/acpi/battery")
home = os.getenv("HOME")
path = "/tmp/draw"
if batteries:
batInfo = open("/proc/acpi/battery/%s/state" %
(batteries[0],))
voltage = 0.0
watts_drawn = 0.0
amperes_drawn = 0.0
seconds = 0.0
available = True
for line in batInfo:
if "charging state" in line:
if not "discharging" in line:
available =
False
if "present voltage" in line:
voltage =
float(line.split()[2]) / 1000.0
if "present rate" in line and "mW" in line:
watts_drawn =
float(line.split()[2]) / 1000.0
if "present rate" in line and "mA" in line:
amperes_drawn =
float(line.split()[2]) / 1000.0
if "remaining capacity" in line:
capacity =
float(line.split()[2])
if watts_drawn == 0.0 and amperes_drawn == 0.0:
if os.path.exists(path):
draw_file = open(path)
draw = draw_file.readline()
if draw:
draw =
float(draw)
seconds =
float(draw_file.readline())
if draw ==
capacity:
seconds = seconds + 1
amperes_drawn = float(draw_file.readline())
else:
draw = draw - capacity
amperes_drawn = draw / seconds * 3600.0 / 1000.0
seconds = 0.0
draw = open(path,"w")
draw.write(str(capacity) + "\n" +
str(seconds) + "\n" + str(amperes_drawn))
rate = watts_drawn + voltage * amperes_drawn
if available:
if rate < 1.0:
print "Gathering Data"
else:
print '%.2f'%(rate)
else:
print "No Data"
if os.path.exists(path):
os.remove(path)
else:
print "No Data"
if os.path.exists(path):
os.remove(path)
EOF
chmod +x ~/bin/iggypowersave
echo "ok, added iggykoopa's power usage analyser script to:"
echo "~/bin/iggypowersave"
echo "and told it to be executable."
echo "if you dont have python installed it wont likely do anything"
echo
echo "=== now you're conky is really sorted ==="
echo
echo
echo "=== add custom versions of rc.xml and menu.xml ==="
echo "WARNING! SERIOUSLY!"
echo "these rc.xml and menu.xml files will likely cause you upset!"
echo "not installing them will also cause upset likely!"
echo "you are STRONGLY ADVISED to edit in the parts you want manually,"
echo "(at least until a version gets made with just the core
essentials. such as:"
echo "ctrl tux f for super user file manager, tux p for package
manager, etc"
echo "but it isnt like that in this version of pris, it's got the lot
in it, so..."
echo "unless you plan on accepting installing the assured wanted
apps..."
echo "you are advised to say no here, and edit manually later if you
like."
echo "even if you are going to install all the apps, there's no
guaruntees things will work"
echo "remember.... you are reinstalling, so something clearly went
wrong with openbox,"
echo "most likely these files. .... so... YOU HAVE BEEN WARNED
and informed and advised"
echo "remember u can see what was to be added by looking in this
script... pris."
echo
echo "actually, nah, i changed my mind, and these are the rc.xml and
menu.xml from"
echo "the previous instalaltion which still worked. might have
version issues still tho."
cp ~/.config/openbox/rc.xml
~/.config/openbox/rc.xml_originalbackupfrom_pris
echo "original rc.xml backed up to
~/.config/openbox/rc.xml_originalbackupfrom_pris"
read -p "replace rc.xml with custom version of rc.xml (y/n)?"
[ "$REPLY" == "y" ] && rm ~/.config/openbox/rc.xml &&
cat >>~/.config/openbox/rc.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear.
other rules do
apply -->
<followMouse>no</followMouse>
<!-- move focus to a window when you move the mouse
into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing
desktops, instead of the one
under the mouse pointer. when followMouse is
enabled -->
<underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse
is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be
inside the window for
this many milliseconds (1000 = 1 sec) before
moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is
given focus by moving the
mouse into it, also raise the window -->
</focus>
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the
free area found or
the top left corner -->
<monitor>Any</monitor>
</placement>
<theme>
<name>Simple</name>
<titleLayout>DSLIMC</titleLayout>
<!--
avaible characters are NDSLIMC, each can occur at
most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
-->
<keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="OnScreenDisplay">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</theme>
<desktops>
<!-- this stuff is only used at startup, pagers allow
you to change them
during a session
these are default values to use when other
ones are not already set
by other applications, or saved in your
session
use obconf if you want to change these
without having to log out
and back in -->
<number>9</number>
<firstdesk>1</firstdesk>
<names>
<name>1</name>
<name>2</name>
<name>3</name>
<name>4</name>
<name>5</name>
<name>6</name>
<name>7</name>
<name>8</name>
<name>9</name>
</names>
<popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for
when switching
desktops. Set this to 0 to disable the
popup. -->
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and
such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center' or 'Top' -->
<popupFixedPosition>
<x>0</x>
<y>0</y>
</popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows
will not cover when
they are maximized, or when they are initially
placed.
Many programs reserve space automatically, but you
can use this in other
cases. -->
<margins>
<top>0</top>
<bottom>20</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>TopLeft</position>
<!--
(Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
<action name="DesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="DesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="DesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="DesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Left">
<action name="SendToDesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Right">
<action name="SendToDesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Up">
<action name="SendToDesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Down">
<action name="SendToDesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-S-F1">
<action
name="SendToDesktop"><desktop>1</desktop></action>
</keybind>
<keybind key="W-S-F2">
<action
name="SendToDesktop"><desktop>2</desktop></action>
</keybind>
<keybind key="W-S-F3">
<action
name="SendToDesktop"><desktop>3</desktop></action>
</keybind>
<keybind key="W-S-F4">
<action
name="SendToDesktop"><desktop>4</desktop></action>
</keybind>
<keybind key="W-S-F5">
<action
name="SendToDesktop"><desktop>5</desktop></action>
</keybind>
<keybind key="W-S-F6">
<action
name="SendToDesktop"><desktop>6</desktop></action>
</keybind>
<keybind key="W-S-F7">
<action
name="SendToDesktop"><desktop>7</desktop></action>
</keybind>
<keybind key="W-S-F8">
<action
name="SendToDesktop"><desktop>8</desktop></action>
</keybind>
<keybind key="W-S-F9">
<action
name="SendToDesktop"><desktop>9</desktop></action>
</keybind>
<keybind key="W-F1">
<action name="Desktop">
<desktop>1</desktop>
</action>
</keybind>
<keybind key="W-F2">
<action name="Desktop">
<desktop>2</desktop>
</action>
</keybind>
<keybind key="W-F3">
<action name="Desktop">
<desktop>3</desktop>
</action>
</keybind>
<keybind key="W-F4">
<action name="Desktop">
<desktop>4</desktop>
</action>
</keybind>
<keybind key="W-F5">
<action name="Desktop">
<desktop>5</desktop>
</action>
</keybind>
<keybind key="W-F6">
<action name="Desktop">
<desktop>6</desktop>
</action>
</keybind>
<keybind key="W-F7">
<action name="Desktop">
<desktop>7</desktop>
</action>
</keybind>
<keybind key="W-F8">
<action name="Desktop">
<desktop>8</desktop>
</action>
</keybind>
<keybind key="W-F9">
<action name="Desktop">
<desktop>9</desktop>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<execute>scrot
'%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f
~/images/screenshots/ & gpicview
~/images/screenshots/$f'</execute>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<execute>scrot
'%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f
~/images/screenshots & ompload
~/images/screenshots/$f'</execute>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow"/>
</keybind>
<!-- Digit's Keybindings for window switching -->
<keybind key="W-Tab">
<action name="NextWindow">
<allDesktops>yes</allDesktops>
</action>
</keybind>
<keybind key="W-C-Tab">
<action name="PreviousWindow">
<allDesktops>yes</allDesktops>
</action>
</keybind>
<!-- Digit's Keybindings for window transparency -->
<keybind key="W-1">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.1</name>
</startupnotify>
<command>transset 0.1</command>
</action>
</keybind>
<keybind key="W-2">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.2</name>
</startupnotify>
<command>transset 0.2</command>
</action>
</keybind>
<keybind key="W-3">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.3</name>
</startupnotify>
<command>transset 0.3</command>
</action>
</keybind>
<keybind key="W-4">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.4</name>
</startupnotify>
<command>transset 0.4</command>
</action>
</keybind>
<keybind key="W-5">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.5</name>
</startupnotify>
<command>transset 0.5</command>
</action>
</keybind>
<keybind key="W-6">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.6</name>
</startupnotify>
<command>transset 0.6</command>
</action>
</keybind>
<keybind key="W-7">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.7</name>
</startupnotify>
<command>transset 0.7</command>
</action>
</keybind>
<keybind key="W-8">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.8</name>
</startupnotify>
<command>transset 0.8</command>
</action>
</keybind>
<keybind key="W-9">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 0.9</name>
</startupnotify>
<command>transset 0.9</command>
</action>
</keybind>
<keybind key="W-0">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>transset 1</name>
</startupnotify>
<command>transset 1</command>
</action>
</keybind>
<!-- Digit's Keybindings for running applications
-->
<keybind key="W-s">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>xcomp</name>
</startupnotify>
<command>COMP -s</command>
</action>
</keybind>
<keybind key="S-W-s">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>xcomp</name>
</startupnotify>
<command>COMP</command>
</action>
</keybind>
<keybind key="A-W-w">
<action name="Execute">
<startupnotify>
<enabled>false</enabled>
<name>Clock</name>
</startupnotify>
<command>~/.config/gworldclock/gworldclock.sh</command>
</action>
</keybind>
<keybind key="C-W-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>calculator</name>
</startupnotify>
<command>calcoo</command>
</action>
</keybind>
<keybind key="W-A-o">
<action name="Restart"/>
</keybind>
<keybind key="C-W-A-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Edit
.conkyrc</name>
</startupnotify>
<command>gedit
~/.conkyrc</command>
</action>
</keybind>
<keybind key="C-W-A-o">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Edit rc.xml</name>
</startupnotify>
<command>gedit
~/.config/openbox/rc.xml</command>
</action>
</keybind>
<keybind key="C-W-A-a">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Edit
autostart.sh</name>
</startupnotify>
<command>gedit
~/.config/openbox/autostart.sh</command>
</action>
</keybind>
<keybind key="C-W-A-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Edit
menu.xml</name>
</startupnotify>
<command>gedit
~/.config/openbox/menu.xml</command>
</action>
</keybind>
<keybind key="W-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>skype and
pidgin</name>
</startupnotify>
<command>skype</command>
</action>
</keybind>
<keybind key="W-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>skype and
pidgin</name>
</startupnotify>
<command>pidgin</command>
</action>
</keybind>
<keybind key="W-p">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>package
manager</name>
</startupnotify>
<command>gksudo
synaptic</command>
</action>
</keybind>
<keybind key="W-A-p">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>partitioner</name>
</startupnotify>
<command>gksudo
gparted</command>
</action>
</keybind>
<keybind key="W-A-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>conkywonky</name>
</startupnotify>
<command>conkywonky</command>
</action>
</keybind>
<keybind key="W-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Mediaplayer</name>
</startupnotify>
<command>vlc</command>
</action>
</keybind>
<keybind key="W-b">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>3D Graphics</name>
</startupnotify>
<command>terminator
--command="LIBGL_ALWAYS_SOFTWARE=1 blender"</command>
</action>
</keybind>
<keybind key="W-b">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>3D Graphics
help</name>
</startupnotify>
<command>evince
~/downloads/blendercheatsheet.pdf</command>
</action>
</keybind>
<keybind key="W-g">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Graphics
Editor</name>
</startupnotify>
<command>gimp</command>
</action>
</keybind>
<keybind key="W-i">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>vector
graphics</name>
</startupnotify>
<command>inkscape</command>
</action>
</keybind>
<keybind key="C-W-g">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>su Graphics
Editor</name>
</startupnotify>
<command>gksudo gimp</command>
</action>
</keybind>
<keybind key="W-A-g">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Animation
Editor</name>
</startupnotify>
<command>pencil</command>
</action>
</keybind>
<keybind key="W-A-b">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>change
background</name>
</startupnotify>
<command>nitrogen
/home/g/images/wallpapers/</command>
</action>
</keybind>
<keybind key="W-A-n">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>tint2 wonky</name>
</startupnotify>
<command>tint2wonky</command>
</action>
</keybind>
<keybind key="C-W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>root text
Editor</name>
</startupnotify>
<command>gksudo gedit</command>
</action>
</keybind>
<keybind key="S-W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Editor</name>
</startupnotify>
<command>leafpad</command>
</action>
</keybind>
<keybind key="C-A-W-n">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>tint2 pannel
config</name>
</startupnotify>
<command>gedit
/home/g/.config/tint2/tint2rc</command>
</action>
</keybind>
<keybind key="S-C-A-W-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Terminal
config</name>
</startupnotify>
<command>gedit
/home/g/.config/terminator/config</command>
</action>
</keybind>
<keybind key="W-A-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>htop</name>
</startupnotify>
<command>terminator
--command="htop"</command>
</action>
</keybind>
<keybind key="W-a">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Audacity</name>
</startupnotify>
<command>audacity</command>
</action>
</keybind>
<keybind key="S-A-W-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Alternative File
Search</name>
</startupnotify>
<command>searchmonkey</command>
</action>
</keybind>
<keybind key="A-W-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>File Search</name>
</startupnotify>
<command>catfish</command>
</action>
</keybind>
<keybind key="C-A-W-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>baobab</name>
</startupnotify>
<command>baobab</command>
</action>
</keybind>
<keybind key="C-W-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>sudo pcmanfm</name>
</startupnotify>
<command>gksudo
pcmanfm</command>
</action>
</keybind>
<keybind key="W-A-space">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>dmenu-bind</name>
</startupnotify>
<command>~/.config/dmenu/dmenu-bind.sh</command>
</action>
</keybind>
<keybind key="A-W-k">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>change keybaord
local</name>
</startupnotify>
<command>setxkbmap us</command>
</action>
</keybind>
<keybind key="A-W-k">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>change keybaord
local</name>
</startupnotify>
<command>setxkbmap uk</command>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F2">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Run Program</name>
</startupnotify>
<command>gmrun</command>
</action>
</keybind>
<keybind key="A-F3">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>dmenu-bind</name>
</startupnotify>
<command>~/.config/dmenu/dmenu-bind.sh</command>
</action>
</keybind>
<keybind key="A-F5">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>xfce4-appfinder</name>
</startupnotify>
<command>xfce4-appfinder</command>
</action>
</keybind>
<keybind key="W-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>pcmanfm</name>
</startupnotify>
<command>pcmanfm</command>
</action>
</keybind>
<keybind key="W-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Terminal</name>
</startupnotify>
<command>terminator</command>
</action>
</keybind>
<keybind key="W-w">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Web Browser</name>
</startupnotify>
<command>terminator
--command="GDK_USE_XFT=0 firefox"</command>
</action>
</keybind>
<keybind key="W-l">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Lock screen</name>
</startupnotify>
<command>gnome-screensaver-command -l
~/images/wallpapers/igdarroom1</command>
</action>
</keybind>
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Editor</name>
</startupnotify>
<command>gedit</command>
</action>
</keybind>
<keybind key="W-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Mediaplayer</name>
</startupnotify>
<command>vlc</command>
</action>
</keybind>
<keybind key="W-v">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Volume</name>
</startupnotify>
<command>gnome-volume-control</command>
</action>
</keybind>
<keybind key="W-u">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>SystemUpdate</name>
</startupnotify>
<command>system-update</command>
</action>
</keybind>
<keybind key="W-x">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Logout</name>
</startupnotify>
<command>openbox-logout</command>
</action>
</keybind>
<keybind key="W-Tab">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</keybind>
<keybind key="W-space">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<keybind key="A-C-q">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a
drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer
touches the edge of the
screen while moving a window, in
milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left"
action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/>
</mousebind>
<mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<!-- Menus -->
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
<context name="MoveResize">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
</context>
</mouse>
<menu>
<!-- You can specify more than one menu file in here
and they are all loaded,
just don't make menu ids clash or, well,
it'll be kind of pointless -->
<!-- default menu file (or custom one in
$HOME/.config/openbox/) -->
<!-- system menu files on Debian systems
<file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> -->
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<applicationIcons>yes</applicationIcons>
</menu>
<applications>
<!--
# this is an example with comments through out. use these to
make your
# own rules, but without the comments of course.
<application name="first element of window's WM_CLASS
property (see xprop)"
class="second element
of window's WM_CLASS property (see xprop)"
role="the
window's WM_WINDOW_ROLE property (see xprop)">
# the name or the class can be set, or both. this is used to
match
# windows when they appear. role can optionally be set as well,
to
# further restrict your matches.
# the name, class, and role use simple wildcard matching such as
those
# used by a shell. you can use * to match any characters and ?
to match
# any single character.
# when multiple rules match a window, they will all be applied,
in the
# order that they appear in this list
# each element can be left out or set to 'default' to
specify to not
# change that attribute of the window
<decor>yes</decor>
# enable or disable window decorations
<shade>no</shade>
# make the window shaded when it appears, or not
<position>
# the position is only used if both an x and y
coordinate are provided
# (and not set to 'default')
<x>center</x>
# a number like 50, or 'center' to center on
screen. use a negative number
# to start from the right (or bottom for
<y>), ie -50 is 50 pixels from the
# right edge (or bottom).
<y>200</y>
<monitor>1</monitor>
# specifies the monitor in a xinerama setup.
# 1 is the first head, or 'mouse' for wherever the
mouse is
</position>
<focus>yes</focus>
# if the window should try be given focus when it
appears. if this is set
# to yes it doesn't guarantee the window will be given
focus. some
# restrictions may apply, but Openbox will try to
<desktop>1</desktop>
# 1 is the first desktop, 'all' for all desktops
<layer>normal</layer>
# 'above', 'normal', or 'below'
<iconic>no</iconic>
# make the window iconified when it appears, or not
<skip_pager>no</skip_pager>
# asks to not be shown in pagers
<skip_taskbar>no</skip_taskbar>
# asks to not be shown in taskbars. window cycling
actions will also
# skip past such windows
<fullscreen>yes</fullscreen>
# make the window in fullscreen mode when it appears
<maximized>true</maximized>
# 'Horizontal', 'Vertical' or boolean (yes/no)
</application>
# end of the example
-->
<application name="gmessage">
<decor>no</decor>
<shade>no</shade>
<skip_pager>yes</skip_pager>
<skip_taskbar>yes</skip_taskbar>
<fullscreen>no</fullscreen>
<maximized>no</maximized>
</application>
<application name="openbox-logout">
<decor>no</decor>
<shade>no</shade>
<skip_pager>yes</skip_pager>
<fullscreen>no</fullscreen>
<maximized>no</maximized>
<layer>above</layer>
</application>
</applications>
</openbox_config>
EOF
echo "rc.xml done. backed up and replaced."
echo "now backing up menu.xml"
cp ~/.config/openbox/menu.xml
~/.config/openbox/menu.xml_originalbackupfrom_pris
echo "original menu.xml backed up to
~/.config/openbox/menu.xml_originalbackupfrom_pris"
read -p "replace menu.xml with custom version of menu.xml (y/n)?"
[ "$REPLY" == "y" ] && rm ~/.config/openbox/menu.xml &&
cat >>~/.config/openbox/menu.xml <<EOF
<?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="Run Program">
<action name="Execute">
<execute>
gmrun
</execute>
</action>
</item>
<separator/>
<item label="Terminal">
<action name="Execute">
<execute>
terminator
</execute>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<execute>
firefox
</execute>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<execute>
pcmanfm
</execute>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<execute>
leafpad
</execute>
</action>
</item>
<item label="soundFX gen">
<action name="Execute">
<execute>
sfxr
</execute>
</action>
</item>
<item label="Media Player">
<action name="Execute">
<execute>
vlc
</execute>
</action>
</item>
<separator/>
<menu id="terminal" label="Terminal
Apps">
<item label="Vim - Text
Editor">
<action
name="Execute">
<execute>
terminator --command=vim
</execute>
</action>
</item>
<item label="Midnight
Commander - File Manager">
<action
name="Execute">
<execute>
terminator --command=mc
</execute>
</action>
</item>
<item label="rtorrent -
Bit Torrent Client">
<action
name="Execute">
<execute>
terminator --command=rtorrent
</execute>
</action>
</item>
<item label="MoC - Music
Player">
<action
name="Execute">
<execute>
terminator --command=mocp
</execute>
</action>
</item>
<item label="newsbeuter -
Feed Reader">
<action
name="Execute">
<execute>
terminator --command="newsbeuter -r"
</execute>
</action>
</item>
<item label="elinks - Web
Browser">
<action
name="Execute">
<execute>
terminator --command=elinks
</execute>
</action>
</item>
<item label="MUTT - Email
Client">
<action
name="Execute">
<execute>
terminator --command=mutt
</execute>
</action>
</item>
<item label="irssi - IRC
Client">
<action
name="Execute">
<execute>
terminator --command=irssi
</execute>
</action>
</item>
<item label="naim - Chat
Client">
<action
name="Execute">
<execute>
terminator --command=naim
</execute>
</action>
</item>
<item label="htop - System
Monitor">
<action
name="Execute">
<execute>
terminator --command=htop
</execute>
</action>
</item>
<menu id="terminalmanpages"
label="Help?">
<separator
label="man pages"/>
<item
label="Vim">
<action name="Execute">
<execute>
terminator --command="man vim"
</execute>
</action>
</item>
<item
label="Midnight Commander">
<action name="Execute">
<execute>
terminator --command="man mc"
</execute>
</action>
</item>
<item
label="rtorrent">
<action name="Execute">
<execute>
terminator --command="man rtorrent"
</execute>
</action>
</item>
<item
label="MoC">
<action name="Execute">
<execute>
terminator --command="man mocp"
</execute>
</action>
</item>
<item
label="newsbeuter">
<action name="Execute">
<execute>
terminator --command="man newsbeuter"
</execute>
</action>
</item>
<item
label="elinks">
<action name="Execute">
<execute>
terminator --command="man elinks"
</execute>
</action>
</item>
<item
label="MUTT">
<action name="Execute">
<execute>
terminator --command="man mutt"
</execute>
</action>
</item>
<item
label="irssi">
<action name="Execute">
<execute>
terminator --command="man irssi"
</execute>
</action>
</item>
<item
label="naim">
<action name="Execute">
<execute>
terminator --command="man naim"
</execute>
</action>
</item>
<item
label="htop">
<action name="Execute">
<execute>
terminator --command="man htop"
</execute>
</action>
</item>
</menu>
</menu>
<separator/>
<menu id="places" label="Places"
execute="obpipemenu-places ~" />
<separator/>
<menu id="preferences"
label="Preferences">
<menu
execute="xcompmgr-crunchbang" id="CompositingPipeMenu"
label="Compositing"/>
<menu id="conkyconfig"
label="Conky Config">
<item
label="Edit .conkyrc">
<action name="Execute">
<execute>
leafpad ~/.conkyrc
</execute>
</action>
</item>
<item
label="Restart Conky">
<action name="Execute">
<execute>
conkywonky
</execute>
</action>
</item>
<separator
label="Help?"/>
<item label="man
page">
<action name="Execute">
<execute>
terminator --command="man conky"
</execute>
</action>
</item>
<item
label="Wiki Page">
<action name="Execute">
<execute>
firefox http://crunchbanglinux.org/wiki/conky
</execute>
</action>
</item>
</menu>
<menu id="dmenuconfig"
label="dmenu Config">
<item
label="Edit start-up script">
<action name="Execute">
<execute>
leafpad ~/.config/dmenu/dmenu-bind.sh
</execute>
</action>
</item>
<separator
label="Help?"/>
<item label="man
page">
<action name="Execute">
<execute>
terminator --command="man dmenu"
</execute>
</action>
</item>
</menu>
<menu id="gmrunconfig"
label="gmrun Config">
<item
label="Edit config file">
<action name="Execute">
<execute>
leafpad ~/.gmrunrc
</execute>
</action>
</item>
<separator
label="Help?"/>
<item label="man
page">
<action name="Execute">
<execute>
terminator --command="man gmrun"
</execute>
</action>
</item>
</menu>
<menu id="obConfig"
label="Openbox Config">
<item
label="Edit menu.xml">
<action name="Execute">
<execute>
leafpad ~/.config/openbox/menu.xml
</execute>
</action>
</item>
<item
label="Edit rc.xml">
<action name="Execute">
<execute>
leafpad ~/.config/openbox/rc.xml
</execute>
</action>
</item>
<item
label="Edit autostart.sh">
<action name="Execute">
<execute>
leafpad ~/.config/openbox/autostart.sh
</execute>
</action>
</item>
<item label="GUI
Menu Editor">
<action name="Execute">
<execute>
obmenu
</execute>
</action>
</item>
<item label="GUI
Config Tool">
<action name="Execute">
<execute>
obconf
</execute>
</action>
</item>
<item
label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item
label="Restart">
<action name="Restart"/>
</item>
</menu>
<menu id="terminatorconfig"
label="Terminator Config">
<item
label="Edit config file">
<action name="Execute">
<execute>
leafpad ~/.config/terminator/config
</execute>
</action>
</item>
<separator
label="Help?"/>
<item label="man
page">
<action name="Execute">
<execute>
terminator --command="man terminator_config"
</execute>
</action>
</item>
</menu>
<menu id="tint2config"
label="tint2 Panel Config">
<item
label="Edit config file">
<action name="Execute">
<execute>
leafpad ~/.config/tint2/tint2rc
</execute>
</action>
</item>
<item
label="Tintwizard">
<action name="Execute">
<execute>
~/.tintwizard/tintwizard.py
</execute>
</action>
</item>
<item
label="Tint2wonky">
<action name="Execute">
<execute>
~/bin/tint2wonky
</execute>
</action>
</item>
<separator
label="Help?"/>
<item label="man
page">
<action name="Execute">
<execute>
terminator --command="man tint2"
</execute>
</action>
</item>
<item
label="Online Help">
<action name="Execute">
<execute>
firefox http://code.google.com/p/tint2/wiki/Welcome
</execute>
</action>
</item>
</menu>
<item label="Interface (gtk
etc) Settings">
<action
name="Execute">
<execute>
lxappearance
</execute>
</action>
</item>
<item label="Screensaver
& Power Management">
<action
name="Execute">
<execute>
gnome-screensaver-preferences
</execute>
</action>
</item>
<item label="dsktpbckgrnd">
<action
name="Execute">
<execute>
nitrogen ~/images/wallpapers/
</execute>
</action>
</item>
</menu>
<menu id="system" label="System">
<item label="System
Update">
<action
name="Execute">
<execute>
system-update
</execute>
</action>
</item>
<item label="Disk
Partitioner">
<action
name="Execute">
<execute>
gksudo gparted
</execute>
</action>
</item>
<menu id="DisplaySettings"
label="Display Settings">
<item
label="Adjust with lxrandr">
<action name="Execute">
<execute>
lxrandr
</execute>
</action>
</item>
<item
label="Adjust with grandr">
<action name="Execute">
<execute>
grandr
</execute>
</action>
</item>
<separator
label="Help?"/>
<item
label="man xrandr">
<action name="Execute">
<execute>
terminator --command="man xrandr"
</execute>
</action>
</item>
</menu>
<item label="Edit Default
Applications">
<action
name="Execute">
<execute>
terminator --command="sudo update-alternatives --all"
</execute>
</action>
</item>
<item label="Login setup
(GDM)">
<action
name="Execute">
<execute>
gksudo gdmsetup
</execute>
</action>
</item>
<item label="Network
Admin">
<action
name="Execute">
<execute>
network-admin
</execute>
</action>
</item>
<item label="Package
Manager">
<action
name="Execute">
<execute>
gksudo synaptic
</execute>
</action>
</item>
<item label="Passwords and
Encryption Keys">
<action
name="Execute">
<execute>
seahorse
</execute>
</action>
</item>
<item label="Printer
Settings">
<action
name="Execute">
<execute>
system-config-printer
</execute>
</action>
</item>
<item label="Restricted
Device Manager">
<action
name="Execute">
<execute>
gksudo jockey-gtk
</execute>
</action>
</item>
<item
label="Services/Daemons">
<action
name="Execute">
<execute>
services-admin
</execute>
</action>
</item>
<item label="Shared
Folders">
<action
name="Execute">
<execute>
shares-admin
</execute>
</action>
</item>
<item label="System
Monitor">
<action
name="Execute">
<execute>
terminator --command=htop
</execute>
</action>
</item>
<item label="System Logs">
<action
name="Execute">
<execute>
gnome-system-log
</execute>
</action>
</item>
<item label="Time/Date">
<action
name="Execute">
<execute>
time-admin
</execute>
</action>
</item>
<item label="Users/Groups">
<action
name="Execute">
<execute>
users-admin
</execute>
</action>
</item>
</menu>
<menu id="help" label="Help"
execute="obpipemenu-crunchbang-help" />
<separator/>
<item label="Lock Screen">
<action name="Execute">
<execute>
gnome-screensaver-command -l
</execute>
</action>
</item>
<item label="Exit">
<action name="Execute">
<execute>
openbox-logout
</execute>
</action>
</item>
<item label="Screensaver">
<action name="Execute">
<execute>
gnome-screensaver-preferences
</execute>
</action>
</item>
<item label="dsktpbckgrnd">
<action
name="Execute">
<execute>
nitrogen ~/images/wallpapers/
</execute>
</action>
</item>
<item label="Restart">
<action name="Restart"/>
</item>
<menu execute="xcompmgr-crunchbang"
id="CompositingPipeMenu" label="Compositing"/>
</menu>
</openbox_menu>
EOF
echo "ok, so thats the menu.xml done now too."
echo
echo
"now i'm just gonna make a backup of autostart.sh incase u go doing
some editing on it too, and then one day find u want to know what the
default install version was like."
cp ~/.config/openbox/autostart.sh
~/.config/openbox/autostart.sh_originalbackupfrom_pris
echo "copied ~/.config/openbox/autostart.sh to
~/.config/openbox/autostart.sh_originalbackupfrom_pris"
echo
echo "=== thats the rc.xml and menu.xml segment of pris complete ==="
echo
echo
echo "=== switching off superflous processes ==="
echo
echo "or rather... this script might do that someday."
echo
echo "=== done switching off all the unecessary processes pris can be
arsed doing for today ==="
echo
echo
echo
echo "=============================================================="
echo "====================================="
echo "================="
echo "==="
echo
echo "the stuff from the first half of the script is done..."
echo "this script will now ask you, do u want to install the other
software too,"
echo "...and a simple yes to that question will then go about
installing the"
echo "list of software i'm certain i want, using sudo apt-get install"
echo "this list includes:"
echo
echo "gimp"
echo "as many worthy gimp plugins as you can find (inc fonts, brushes
etc)"
echo "baobab"
echo "fractals"
echo "blender d(nothefullvidsiftoobig)"
echo "kino (and other video editors efectors)"
echo "inkscape"
echo "imagemagick"
echo "iptraf & that other one"
echo "easy on the firefox enhancements - copy bookmarks as advised."
echo "backup lightweight browser alternatives. (links/links2/lynx dillo
midori)"
echo "anarchism faq"
read -p "Install GIMP (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp
read -p "Install gimp-data-extras brushes n shit (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-data-extras
read -p "Install GIMP-gap gimp animation package (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-gap
read -p "Install GIMP direct draw surface 3d maps plugin (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-dds
read -p "Install GIMP-gutenprint (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-gutenprint
read -p "Install GIMP plugin registry repository (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-plugin-registry
read -p "Install GIMP gtkam (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gtkam-gimp
read -p "Install GIMP resynthesizer (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-resynthesizer
read -p "Install GIMP dcraw for raw (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-dcraw
read -p "Install GIMP normalmap for rgb pixel lighting maps like
nvidiasphotoshopplugin (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-normalmap
read -p "Install GIMP ufraw (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-ufraw
read -p "Install GIMP texturize (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gimp-texturize
read -p "Install GIMP pandora panorama maker (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install pandora
read -p "Install GIMP potrace bitmap to vector (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install potrace
read -p "Install autotrace (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install autotrace
read -p "Install photon cl html gallery generator (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install photon
echo "gimpage done. go see the gimp plugin rss feed and
elsewhere for more gimpage"
echo "dont go crazy on all the following 4 fractal programs (first has
expansion, so u might want it)"
read -p "Install xfractint (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install xfractint
read -p "Install xfractint expansion (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install fractxtra
read -p "Install wmmand fractal viewer explorer (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install wmmand
read -p "Install xaos (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install xaos
read -p "Install fractive (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install fractive
echo "ok, enough of the crazy excessive fractals"
read -p "Install blender (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install blender
read -p "are u likely to need a non-linear video editor besides the one
in blender? (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install kino
read -p "wanna have vector graphics just incase (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install inkscape
read -p "wanna have command line image editor (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install imagemagick
echo "ok, thats about enough graphics tools."
read -p "Install Audacity (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install audacity
read -p "Install Ardour (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install ardour
echo "if you want more creative tools, perhaps check out the studio
ubuntu bundles"
read -p "Install iptraf (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install iptraf
read -p "Install ethstatus (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install ethstatus
read -p "Install midori (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install midori
read -p "Install links2 (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install links2
echo "n thats yer extra net toys installed"
echo
echo "ok, now for some extra handy ditties"
echo
echo "xteddy is a simple app to display an image on screen. it
may be handy for.... use your imagination"
read -p "Install xteddy (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install xteddy
echo
echo
"tilda (or another awesome lightweight drop down terminal) is a totally
awesome drop down terminal editor, you should totally install it n
start digging it as much as i do. may need a little tweaking,
like
setting up your hotkey button for it. i use my thinkvantage
button on
my thinkpad, how dope is that. might need some size adjusting.
and you
can use it's own transparency of course, or, you could use xcompmgr's,
more on that later. ;) tilda is super handy."
[ "$REPLY" == "y" ] && sudo apt-get install tilda
echo
echo
"what's that? you need a text editor with syntax highlighting and
leafpad doesnt do that? well you could try nano
(lol), or how about
saying yes to gedit"
read -p "Install gedit (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install gedit
echo
echo "this thing lets you install RPM files (yes, like from redhat,
suse, etc) in theory"
read -p "Install alien (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install alien
echo
echo
"hey, u ewant this, you NEED this. this is remastersys is
what this
is. remastersys! it automates the process of making
your own flavour
of re-roll on debian and ubuntu based distros."
read -p "Install remastersys (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install remastersys
echo
echo
"again, this little app has become legendary. (excuse me, i've
just
done some how-i-met-your-mother marathon, and keep talking like the
barnicle). puts linux distro isos onto usb so you can boot
straight
into live cd environments from your usb without burning a cd, saves
loadsa time and cds when surfing distros. really handy."
read -p "Install unetbootin (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install unetbootin
echo
echo "and someone said this was worthy too (i aint used it, idk)"
read -p "Install usb-creator (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install usb-creator
echo
echo "sfxr rocks my world. genius little app to make audio
samples with. easy n fun n handy."
read -p "Install sfxr (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install sfxr
echo
echo
"FSLint is a really handy little app to help ya declogg all the crap
outta your file system. think of it like a bout of speed
hoovering
after a night out partying with the file re-organisations and
instalations... umm... yeah. ... ... its
just reeeaalllly handy."
read -p "Install fslint (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install fslint
echo
echo "deborphan and debfoster, two really useful little apps to locate
and remove redundant dependencies."
read -p "Install deborphan (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install deborphan
read -p "Install debfoster (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install debfoster
echo
echo
"Skype is not opensource! warning! shock
horror! i know, i know.
sorry fsf. convenience made me do it! aaargh!
i mean really,
ekiga?? is that the best alternative there is?
really? know
something better and still free software, and i am in. ...
...
otherwise its skype & pidgin combo for me pal. they are
handy."
read -p "Install skype (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install skype
read -p "Install pidgin (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install pidgin
echo
echo
"unless you have really, really, really oldhardware, you better have a
damn good excuse for not installing this. it's like, hyper purple
gold
mega quazar handy."
read -p "Install simple desktop compositor xcompmgr (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install xcompmgr
echo
echo
read -p "Install brasero, cd/dvd burner app (y/n)?"
[ "$REPLY" == "y" ] && sudo apt-get install brasero
echo
echo "thats all pris will do for you... if you want to install some
more stupid stuff, you're on your own."
echo "pris is forgiving though... if u fuk yer install by installing
too much shit outta curiousity..."
echo "... pris will be ready n waiting for you again. :D"
echo "just so long as u remember to back her up somehwere safe and
accessible."
echo
echo "THIS IS THE END OF THE SCRIPT IN PROGRESS... "