Difference between revisions of "Slim"

From CBLFS
Jump to navigationJump to search
(Added page)
 
Line 160: Line 160:
 
|is a desktop-independent display manager.
 
|is a desktop-independent display manager.
 
|}
 
|}
 +
 +
[[Category:X Window Applications]]

Revision as of 14:22, 19 March 2009

Download Source: http://download.berlios.de/slim/slim-1.3.0.tar.gz

Introduction to Slim

SLiM is a desktop-independent display manager for X11.

Project Homepage: http://slim.berlios.de/

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i -e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \
-e "s:/usr/X11R6:/usr:" \
Makefile &&
sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \
-e 's/# daemon/daemon/' \
slim.conf &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

sed -i -e "s:^CXX=.*:CXX=$(which g++) ${BUILD32}:" \
-e "s:^CC=.*:CC=$(which gcc) ${BUILD32}:" \
-e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \
-e "s:/usr/X11R6:/usr:" \
Makefile &&
sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \
-e 's/# daemon/daemon/' \
slim.conf &&
make

Install the package:

make install

N32

Compile the package:

sed -i '10 s@lib@lib32@' Makefile &&
sed -i -e "s:^CXX=.*:CXX=$(which g++) ${BUILDN32}:" \
-e "s:^CC=.*:CC=$(which gcc) ${BUILDN32}:" \
-e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \
-e "s:/usr/X11R6:/usr:" \
Makefile &&
sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \
-e 's/# daemon/daemon/' \
slim.conf &&
make

Install the package:

make install

64Bit

Compile the package:

sed -i '10 s@lib@lib64@' Makefile &&
sed -i -e "s:^CXX=.*:CXX=$(which g++) ${BUILD64}:" \
-e "s:^CC=.*:CC=$(which gcc) ${BUILD64}:" \
-e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \
-e "s:/usr/X11R6:/usr:" \
Makefile &&
sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \
-e 's/# daemon/daemon/' \
slim.conf &&
make

Install the package:

make install

Configuring

Create a SLiM bootscript:

cat > /etc/rc.d/init.d/slim << EOF
#!/bin/bash
# Begin $rc_base/init.d/slim
#
# Based on sysklogd script from LFS-3.1 and earlier.
# Written by Andrew "Weibullguy" Rowland <darowland@ieee.org>
#
# Date: 2008-06-23

. /etc/sysconfig/rc
. $rc_functions

# Read in the command arguments
case "$1" in
    start)
        boot_mesg "Starting SLiM Display Manager..."
        loadproc /usr/bin/slim -d
        ;;
    stop)
        boot_mesg "Stopping SLiM Display Manager..."
        killproc slim
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    status)
        statusproc /usr/bin/slim
        ;;
    *)
        echo "Usage: $0 {start|stop|restart|status}"
        exit 1
esac

exit 0

# End $rc_base/init.d/slim
EOF

Contents

Installed Directories: /usr/share/slim/themes/default/
Installed Programs: slim
Installed Libraries: None

Short Descriptions

slim is a desktop-independent display manager.
Retrieved from "?title=Slim&oldid=17336"