Fórum Root.cz
Hlavní témata => Desktop => Téma založeno: rado3105 26. 04. 2011, 16:29:47
-
1. Nastavils som
evdev
ako USE in /etc/make.conf
2. Do /etc/make.conf som pridal:
INPUT_DEVICES="evdev"
VIDEO_CARDS="radeon
"
3. Pouzil som tento prikaz:
echo "x11-base/xorg-server udev" >> /etc/portage/package.use
4.
emerge xorg-server
5.
# env-update
# source /etc/profile
6. pridal som slit a toolbar ido USE v /etc/make.conf
7. echo "x11-wm/fluxbox -gnome -kde truetype vim-syntax" >> /etc/portage/package.use
8. emerge fluxbox xlockmore eterm
9. echo "exec startfluxbox" > ~/.xinitrc
10.
# emerge slim
# rc-update add xdm default
11. edit: /etc/conf.d/xdm:
DISPLAYMANAGER="slim"
12. emerge commonbox-styles commonbox-styles-extra \
fluxbox-styles-fluxmod gentoo-artwork
13. startx
14. reboot
Po restarte sa zobrazi slim, ale ked napisem meno: root alebo uzivatelske meno ukaze sa: execution command failed. Prepnutim do terminalu(ctrl+alt+f1) a zadanim startx fluxbox, fluxbox nabehne.
-
aky mas login_cmd v /etc/slim.conf ?
-
prikaz na spustenie v /etc/slim.conf je defaultny:
login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
-
ja tam mam toto:
login_cmd exec /bin/bash -login /etc/X11/xinit/xinitrc
-
a ja pouzivam xfce a v subore /etc/env.d/90xsession mam este
XSESSION="Xfce4"
-
Zkus to nastavit takto a prihlas se jako uzivatel pod kterym jsi instaloval (pravdepodobone root).
login_cmd exec /bin/bash -login ~/.xinitrc %session
Pokud nepomuze, ukaz co pise SLIM do /var/log/messages.
-
Zmenil som to ako si pisal a prihlasi ma to automaticky do fluxboxu. Bez toho aby som si vybral uzivatela a heslo.
Tebe to tiez tak robi?
-
Zmenil som to ako si pisal a prihlasi ma to automaticky do fluxboxu. Bez toho aby som si vybral uzivatela a heslo.
Tebe to tiez tak robi?
login_cmd se provadi az v pripade, ze ses spravne prihlasil. Nech to tak jak jsem Ti psal a podivej se jeste na sessionstart_cmd, jestli je vporadku - to je prikaz, ktery se vola jako prvni.
sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
-
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
# login_cmd exec /bin/bash -login ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
#sessions xfce4,icewm,wmaker,blackbox
# Alternatively, read available sessions from a directory:
sessiondir /etc/X11/Sessions
# Executed when pressing F11 (requires media-gfx/imagemagick for import)
# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
screenshot_cmd import -window root /slim.png
#screenshot_cmd scrot /root/slim.png
# Executed when pressing F11 (requires media-gfx/imagemagick for import)
# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
screenshot_cmd import -window root /slim.png
#screenshot_cmd scrot /root/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user r-c
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme slim-gentoo-simple
# Lock file, /etc/init.d/xdm expects slim.pid
lockfile /var/run/slim.pid
# Log file
logfile /var/log/slim.log
Zda sa ze to sposobuje autologin yes - to ze ma prihlasi bez zadania hesla. Teraz kompilujem ked sa dorobi to otestujem.
-
Ano, to by melo byt tim - je to tam i napsano :-D.
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes
-
Vdaka gentoo. Pomohol si mi dost.
Este som sa chcel spytat, ako ti vyzera fluxbox ked sa prihlasis bez nastaveni? Cierne pozadie a jedna dolna lista? Neni som si isty ale samizda som mal defaultne nejake pozadie ked som to pred dlhsou dobou instaloval.
-
Pouzivam OpenBox, ale je to velice podobne. Ano, plocha je prazdna - pokud chces mit listu, musis si ji nainstalovat :). Ostatne, skoro vse co chces si musis nainstalovat, protoze fluxbox/openbox jsou jen okenni manazery. Pak si musis upravit rc skript pro tohoto okenniho manazera a spoustet si tam co chces (napr.: lista, pidgin atd...)
Dobry seznam je zde (dole):
http://www.gentoo.org/doc/en/openbox.xml
Ja osobne pouzivam lxterminal, xfce4-panel, xfce4-power-manager, nitrogen (pozadi), wicd-client (wifi atd...).