forked from serebrov/i3conf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautostart.diabled
executable file
·79 lines (63 loc) · 1.9 KB
/
autostart.diabled
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/sh
# xsetroot -solid '#101010' &
## Set startup volume
# pactl set-sink-volume 0 '20%' &
## Disable beeps
# xset -b &
## DPMS monitor setting (standby -> suspend -> off) (seconds)
# xset dpms 300 600 900 &
## Set LCD brightness
# xbacklight -set 90 &
## Clipboard manager
# LC_ALL=C parcellite &
## OSD
# dunst &
#xrdb -merge ~/.i3/.Xresources
# i3-sensible-terminal should load it first but for some reason it still
# returns gnome-terminal
#export TERMINAL=urxvt
#xmessage -file /etc/i3/welcome &
#google-chrome &
#tilda &
# network
nm-applet &
# sound
gnome-sound-applet &
#cinnamon-sound-applet &
# settings
#gnome-settings-daemon &
# mounting
#gnome-volume-manager &
# apps menu
classicmenu-indicator &
# gnome-power-manager &
# for power settings: gnome-power-preferences
# gnome keyring
# http://blog.san-ss.com.ar/2011/03/using-gnome-keyring-in-xmonad.html
eval $(gnome-keyring-daemon --start)
export GNOME_KEYRING_SOCKET
export GNOME_KEYRING_PID
#add this to .profile
#export SSH_AUTH_SOCK="$GNOME_KEYRING_CONTROL/ssh"
#export GNOME_DESKTOP_SESSION_ID=1
#export SSH_ASKPASS=/usr/bin/ssh-askpass
#eval $(ssh-agent)
#ssh-add
# http://off-topic.sardemff7.net/post/2012/06/21/About-the-GNOME-features-in-an-alternative-environment
#xterm -name xterm_scratchpad -e zsh &
#urxvt --name xterm_scratchpad &
#gnome-terminal --role=xterm_scratchpad -e zsh &
# http://faq.i3wm.org/question/2/how-can-i-use-networkmanager-with-i3/
# https://bitbucket.org/aleufroy/dotconfig/src/f45ab42daa54/config/i3/config
# http://www.xgu.ru/wiki/xkb
setxkbmap us,ru -option "grp:caps_toggle,grp_led:scroll" -option compose:menu
amixer -q set Headphone mute
amixer -q set Headphone unmute
amixer -q set Master 50% unmute
# http://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/
nitrogen --restore &
SCRIPT_PATH=`dirname $0`
if test -s $SCRIPT_PATH/autostart.local
then
$SCRIPT_PATH/autostart.local
fi