-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxprofile
executable file
·55 lines (42 loc) · 1.29 KB
/
xprofile
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
#!/bin/sh
# -*- coding: utf-8 -*-
#
# ~/.xinitrc
# Executed by startx (run your window manager from here)
#
# xset s off # screen-saver control
xset -b # no bell
xset +fp /usr/share/fonts/local
xset +fp /usr/share/fonts/TTF
xset fp rehash
# xsetroot -cursor_name left_ptr # set the cursor
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# Load .Xdefaults
test -r $HOME/.Xresources && xrdb -merge $HOME/.Xresources
test -r $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults
#(scale,tile,seemless,center)
#setxkbmap -option ctrl:swapcaps &
#autocutsel -selection CLIPBOARD -fork &
#autocutsel -selection PRIMARY -fork &
# export OOO_FORCE_DESKTOP=gnome &
# xrandr --output default --mode 1440x900 --pos 0x0 &
# Fix Java GUIs
# wmname LG3D
# see https://bbs.archlinux.org/viewtopic.php?id=99175
# export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# KDE and Qt programs look
# export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
# Autostart {{{
# emacs --daemon &
# Start agents
eval $(gpg-agent --daemon)
# eval `ssh-agent -s`
# eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)
# }}}