LINUX.ORG.RU

Ответ на: комментарий от Selecter

На Debian Sarge сделал так:

ln -s /opt/firefox/firefox ~/Desktop/Autostart/firefox
ln -s /opt/thunderbird/thunderbird ~/Desktop/Autostart/thunderbird

Отгёб из /etc/X11/xfce4/xinitrc:

#!/bin/sh

xsetroot -solid black -cursor_name watch

# fix broken $UID on some system...
if test "x$UID" = "x"; then
        UID=`id -u`
fi

# Those are my settings, change them as appropriate...
# Xft DPI: 96
# Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
# Xft hinting: 1/0

xrdb -nocpp -merge - << EOF
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
EOF

test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# Uncomment this if you want to load Xresources and/or Xdefaults
# test -f $HOME/.Xresources && xrdb -merge $HOME/.Xresources
# test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults

# Launch xscreensaver (if available), but only as non-root user
test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &

# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
        x|xno*)
                ;;
        *)
                exec $xfcesm
                # Shouldn't get there, but anyway...
                exit
                ;;
esac

# or use old-fashioned startup script otherwise
xfce-mcs-manager
xfwm4 --daemon

# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if test -d "$HOME/Desktop/Autostart"; then
  for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
    if test -x $HOME/Desktop/Autostart/$i; then
      $HOME/Desktop/Autostart/$i &
    fi
  done
fi

xftaskbar4&
xfdesktop&
xfcalendar&

panel=`which xfce4-panel`
case "x$panel" in
        x|xno*)
                ;;
        *)
                $panel
                ret=$?
                while test $ret -ne 0; do
                        xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
                        cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
                        $panel
                        ret=$?
                done
                ;;
esac

xsetroot -bg white -fg red  -solid black -cursor_name watch

Selecter ★★★★
()
Ответ на: комментарий от Selecter

Все остальные проги (которые знают, что такое сессии) загружаться будут вместе с xfce, если сохранишь сессию после завершения работы в xfce.

Selecter ★★★★
()
Ответ на: комментарий от Selecter

я извиняюсь, но как сохранять сессию в xfce. У меня при выходе такой вопрос не задается...

anonymous
()

вообще xfce автоматом загружает все что есть в ~/Desktop/Autostart/ я именно этим и пользуюсь ...

theli
()

alex@debian:~$ cat ./.xinitrc /usr/bin/xfce-mcs-manager /usr/bin/xfwm4 --daemon /usr/bin/xftaskbar4 & /usr/bin/xfdesktop & exec /usr/bin/gkrellm & exec /usr/bin/X11/xxkb & exec /usr/bin/obexserver & exec /usr/bin/konsole & exec /usr/bin/xfce4-panel alex@debian:~$

G_Luck
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.