Created
September 19, 2013 23:35
-
-
Save albertohm/6631359 to your computer and use it in GitHub Desktop.
Fluxbox startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# fluxbox startup-script: | |
# | |
# Lines starting with a '#' are ignored. | |
# Change your keymap: | |
xmodmap "/home/alberto/.Xmodmap" | |
# Applications you want to run with fluxbox. | |
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END. | |
# | |
# unclutter -idle 2 & | |
# wmnd & | |
# wmsmixer -w & | |
# idesk & | |
# Disable laptop screen | |
xrandr --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output LVDS1 --off --output DP1 --off --output VGA1 --off & | |
# Network applet | |
nm-applet & | |
# Wallpaper | |
fbsetbg wallpaper/Official-Pure-Blue-1024.jpg & | |
# Volume | |
volumeicon & | |
# For loading gtk3 themes | |
gnome-settings-daemon & | |
# ssh-agent | |
#eval `ssh-agent` | |
# xscreensaver | |
xscreensaver -nosplash & | |
# conky | |
sh /home/alberto/conky-manager/conky-startup.sh | |
# | |
# Debian-local change: | |
# - fbautostart has been added with a quick hack to check to see if it | |
# exists. If it does, we'll start it up by default. | |
which fbautostart > /dev/null | |
if [ $? -eq 0 ]; then | |
fbautostart | |
fi | |
# And last but not least we start fluxbox. | |
# Because it is the last app you have to run it with ''exec'' before it. | |
exec fluxbox | |
# or if you want to keep a log: | |
# exec fluxbox -log "/home/alberto/.fluxbox/log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For activating screensaver when relive from suspension
/usr/lib/pm-utils/sleep.d/000LockScreensaver
sudo chmod +x /usr/lib/pm-utils/sleep.d/000LockScreensaver