#!/bin/sh # Company: PowerCraft Technology # Author: Copyright Jelle de Jong # Note: Please send me an email if you enhanced the script # Version: 0.0.5 # Date: 2008-12-07 / 2008-12-09 / 2009-02-25 / 2009-07-08 # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. # X session startup script: /usr/bin/pct-desktop-environment PATH=/usr/bin:/bin:/sbin # Invoke desktop background if [ -r $HOME/.background.png ]; then feh --bg-scale $HOME/.background.png & fi # Invoke battery manager pct-battery-manager & # Invoke diskspace manager pct-diskspace-manager & # Invoke shortkeys manager if [ -r $HOME/.xbindkeysrc.scm ]; then xbindkeys --file $HOME/.xbindkeysrc.scm & fi # Invoke devilspie window manager helper devilspie & # Invoke irexec ir shortcut manager if [ -r $HOME/.lircrc ]; then irexec $HOME/.lircrc & fi # Invoke bluetooth manager # bluetooth-applet & # Invoke network manager nm-applet --sm-disable & # Invoke xfwm4 window manager xfwm4 --compositor=off --daemon || true # Invoke Compiz window manager # compiz --fast-filter --replace & # Invoke desktop panel exec xfce4-panel || true # Invoke media player system # if [ -x /usr/bin/sonata ]; then sonata || true; fi # Invoke shutdown system # if [ -x /sbin/shutdown ]; then sudo shutdown -h now || true; fi exit