epcim
10/21/2015 - 9:11 AM

on-x-startup.howto.sh

on-x-startup.howto.sh

#!/usr/bin/env bash

PATH=$PATH:/usr/libexec

### ENV
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LC=en_US.UTF-8

### AGENTS
#gnome-keyring-daemon &
eval `gnome-keyring-daemon`
export GNOME_KEYRING_PID
export SSH_AUTH_SOCK
export GNOME_KEYRING_SOCKET

eval `ssh-agent -s`
eval `seahorse-agent`
export SSH_ASKPASS=/usr/bin/ssh-askpass
ssh-add ~/.ssh/pwlesskey4vmware_id_rsa
#ssh-add ~/.ssh/id_dsa-agrostatek
#ssh-add ~/.ssh/
#ssh-add ~/.ssh/

## STARTUP CFG
#open screensaver
#gnome-screensaver -no-splash &
gnome-screensaver &
gnome-power-manager &      
nm-applet &                           
#update-notifier &                    
sleep 5 && nitrogen --restore &
#xpad &
#gnote &
tomboy &
sleep 120 && gajim &

## KEYBOARD
setxkbmap -layout "us,cz" -variant qwerty -option "grp:alt_shift_toggle"

# SOUND
amixer sset Headphone on
amixer sset Speaker on
amixer sset Master 90% unmute  
amixer sset PCM 90% unmute  

##NTP
#sleep 60 && sudo ntpdate -u ntp.cesnet.cz &