slim: Add SLiM X desktop manager and patches to ensure it is secure and supports...
[openpandora.oe.git] / recipes / slim / slim / slim-conf.patch
1 --- a/slim.conf 2009-08-23 13:48:20.000000000 +0900
2 +++ b/slim.conf 2009-08-23 13:53:50.000000000 +0900
3 @@ -1,17 +1,17 @@
4  # Path, X server and arguments (if needed)
5  # Note: -xauth $authfile is automatically appended
6 -default_path        ./:/bin:/usr/bin:/usr/local/bin
7 -default_xserver     /usr/bin/X
8 -#xserver_arguments   -dpi 75
9 +default_path        /bin:/usr/bin:/usr/local/bin:/usr/bin/X11
10 +default_xserver     /usr/bin/X11/X
11 +xserver_arguments   -nolisten tcp
12  
13  # Commands for halt, login, etc.
14  halt_cmd            /sbin/shutdown -h now
15  reboot_cmd          /sbin/shutdown -r now
16 -console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
17 +console_cmd         /usr/bin/x-terminal-emulator -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue.net; exec /bin/login"
18  #suspend_cmd        /usr/sbin/suspend
19  
20  # Full path to the xauth binary
21 -xauth_path         /usr/bin/xauth 
22 +xauth_path         /usr/bin/X11/xauth
23  
24  # Xauth file for server
25  authfile           /var/run/slim.auth
26 @@ -33,7 +33,7 @@
27  # to adjust the command according to your preferred shell,
28  # i.e. for freebsd use:
29  # login_cmd           exec /bin/sh - ~/.xinitrc %session
30 -login_cmd           exec /bin/bash -login ~/.xinitrc %session
31 +login_cmd           exec /bin/bash -login /etc/X11/Xsession %session
32  
33  # Commands executed when starting and exiting a session.
34  # They can be used for registering a X11 session with
35 @@ -51,10 +51,10 @@
36  # The current chosen session name is replaced in the login_cmd
37  # above, so your login command can handle different sessions.
38  # see the xinitrc.sample file shipped with slim sources
39 -sessions            xfce4,icewm,wmaker,blackbox
40 +sessions            default,startxfce4,openbox,ion3,icewm,wmaker,blackbox,awesome
41  
42  # Executed when pressing F11 (requires imagemagick)
43 -screenshot_cmd      import -window root /slim.png
44 +screenshot_cmd      screenshot_cmd      scrot /tmp/slim.png
45  
46  # welcome message. Available variables: %host, %domain
47  welcome_msg         Welcome to %host
48 @@ -81,7 +81,7 @@
49  
50  # current theme, use comma separated list to specify a set to 
51  # randomly choose from
52 -current_theme       default
53 +current_theme       debian-moreblue-orbit
54  
55  # Lock file
56  lockfile            /var/run/slim.lock