Lines 1-8
Link Here
|
1 |
# Path, X server and arguments (if needed) |
1 |
# Path, X server and arguments (if needed) |
2 |
# Note: -xauth $authfile is automatically appended |
2 |
# Note: -xauth $authfile is automatically appended |
3 |
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin |
3 |
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin |
4 |
default_xserver /usr/X11R6/bin/X |
4 |
default_xserver /usr/X11R6/bin/X |
5 |
#xserver_arguments -dpi 75 |
5 |
#xserver_arguments -dpi 75 |
|
|
6 |
xserver_arguments -br -nolisten tcp |
6 |
|
7 |
|
7 |
# Commands for halt, login, etc. |
8 |
# Commands for halt, login, etc. |
8 |
halt_cmd /sbin/shutdown -h now |
9 |
halt_cmd /sbin/shutdown -h now |
Lines 22-28
Link Here
|
22 |
|
23 |
|
23 |
# Hide the mouse cursor (note: does not work with some WMs). |
24 |
# Hide the mouse cursor (note: does not work with some WMs). |
24 |
# Valid values: true|false |
25 |
# Valid values: true|false |
25 |
# hidecursor false |
26 |
hidecursor true |
26 |
|
27 |
|
27 |
# This command is executed after a succesful login. |
28 |
# This command is executed after a succesful login. |
28 |
# you can place the %session and %theme variables |
29 |
# you can place the %session and %theme variables |
Lines 33-39
Link Here
|
33 |
# to adjust the command according to your preferred shell, |
34 |
# to adjust the command according to your preferred shell, |
34 |
# i.e. for freebsd use: |
35 |
# i.e. for freebsd use: |
35 |
# login_cmd exec /bin/sh - ~/.xinitrc %session |
36 |
# login_cmd exec /bin/sh - ~/.xinitrc %session |
36 |
login_cmd exec /bin/bash -login ~/.xinitrc %session |
37 |
login_cmd exec `/bin/bash -login /etc/X11/chooser.sh %session` |
37 |
|
38 |
|
38 |
# Commands executed when starting and exiting a session. |
39 |
# Commands executed when starting and exiting a session. |
39 |
# They can be used for registering a X11 session with |
40 |
# They can be used for registering a X11 session with |
Lines 45-57
Link Here
|
45 |
# Start in daemon mode. Valid values: yes | no |
46 |
# Start in daemon mode. Valid values: yes | no |
46 |
# Note that this can overridden by the command line |
47 |
# Note that this can overridden by the command line |
47 |
# option "-d" |
48 |
# option "-d" |
48 |
# daemon yes |
49 |
daemon yes |
49 |
|
50 |
|
50 |
# Available sessions (first one is the default). |
51 |
# Available sessions (first one is the default). |
51 |
# The current chosen session name is replaced in the login_cmd |
52 |
# The current chosen session name is replaced in the login_cmd |
52 |
# above, so your login command can handle different sessions. |
53 |
# above, so your login command can handle different sessions. |
53 |
# see the xinitrc.sample file shipped with slim sources |
54 |
# see the xinitrc.sample file shipped with slim sources |
54 |
sessions xfce4,icewm,wmaker,blackbox |
55 |
sessions kde-3.5,xfce4,icewm,wmaker,blackbox |
55 |
|
56 |
|
56 |
# Executed when pressing F11 (requires imagemagick) |
57 |
# Executed when pressing F11 (requires imagemagick) |
57 |
screenshot_cmd import -window root /slim.png |
58 |
screenshot_cmd import -window root /slim.png |