|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Milano
Messaggi: 551
|
Non riesco a far partire Fluxbox
Allora, ho installato compilato etc FluxBox e tutto bene sin qua.
Poi pero' non riesco a farlo partire. Nella documentazione ho letto che devo prendere xinitrc metterlo nella home del mio user e modificarlo aggiungendo alla fine questa riga: exec /usr/local/bin/fluxbox quindi ho questo file xinitrc: Codice:
#!/bin/sh
# (c) 1999-2002 Red Hat, Inc.
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap
sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap
# merge in defaults
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
# merge in keymaps
if [ -f "$sysxkbmap" ]; then
setxkbmap `cat "$sysxkbmap"`
XKB_IN_USE=yes
fi
if [ -f "$userxkbmap" ]; then
setxkbmap `cat "$userxkbmap"`
XKB_IN_USE=yes
fi
if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
if [ -n "$xkbsymbols" ]; then
setxkbmap -symbols "$xkbsymbols"
XKB_IN_USE=yes
fi
fi
fi
# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
if [ -f "$sysmodmap" ]; then
xmodmap "$sysmodmap"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
fi
unset XKB_IN_USE
# run all system xinitrc shell scripts.
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done
# The user may have their own clients they want to run. If they don't,
# fall back to system defaults.
# set up ssh agent environment if available.
if [ -f $HOME/.Xclients ]; then
[ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \
exec ssh-agent $HOME/.Xclients || \
exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
[ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \
exec ssh-agent /etc/X11/xinit/Xclients || \
exec /etc/X11/xinit/Xclients
else
# failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
xclock -geometry 100x100-5+5 &
xterm -geometry 80x50-50+150 &
if [ -x /usr/bin/netscape -a -f /usr/share/doc/HTML/index.html ]; then
netscape /usr/share/doc/HTML/index.html &
fi
if [ -x /usr/X11R6/bin/fvwm2 ]; then
exec fvwm2
else
exec twm
fi
fi
exec /usr/local/bin/fluxbox
grazie!
__________________
"GOD'S IN HIS HEAVEN, ALL RIGHT WITH THE WORLD." |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Mar 2002
Città: Italy/Usa
Messaggi: 2817
|
ma un fluxbox -exec non ti basta?
__________________
"Utilizzando atomi pentavalenti drogheremo il silicio di tipo n; Utilizzando atomi trivalenti drogheremo il silicio di tipo p; Utilizzando della cannabis ci drogheremo noi e vedremo il silicio fare cose impossibili" - DSDT-HowTo |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Milano
Messaggi: 551
|
[sephi@localhost sephi]$ fluxbox -exec
Failed to read: session.tabs Setting default value Failed to read: session.slitlistFile Setting default value Failed to read: session.groupFile Setting default value Failed to load groupfile: BScreen::BScreen: e' accaduto un errore nella interrogazione del server X. un altro window manager e' gia' attivo per il display :0.0. Blackbox::Blackbox: nessuno schermo gestibile, uscendo Fluxbox: Unknown error. come vedi non basta...
__________________
"GOD'S IN HIS HEAVEN, ALL RIGHT WITH THE WORLD." Ultima modifica di Sephirot : 03-10-2003 alle 02:22. |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Milano
Messaggi: 551
|
up
__________________
"GOD'S IN HIS HEAVEN, ALL RIGHT WITH THE WORLD." |
|
|
|
|
|
#5 | |
|
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
Re: Non riesco a far partire Fluxbox
Quote:
ma cos'è tutta sta robaccia??? (prima di proseguire fai il backup del tuo attuale .xinitrc che non si sa mai! 1. lavora da root: crea un nuovo file .xinitrc dentro la tua home (/home/utente/.xinitrc) con: cd /home/utente nano .xinitrc ..e scrivici dentro SOLO questa riga, e nient'altro: exec /usr/bin/fluxbox ...salva ed esci.... da log in testuale ti basta poi dare "startx" e vedrai che parte fluxbox! ciaooo PS: se dopo aver fatto questo non ti parte lo stesso, il problema (almeno a me) stava nei file di config che non so perchè non erano nel posto giusto... se lo fa pure a te posta che ti dico cosa fare! PPS: hai preso l'ultima versione di fluxbox dalla homepage spero... che distro usi? se hai debian e hai fatto solo apt-get install fluxbox la versione è veramente vecchissima! |
|
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Aug 2002
Città: Roma - Nato il 01/04/1981 - Huawei Technologies
Messaggi: 6734
|
Ma dove lo hai pescato questo xinitrc?
Devi modificare il file .xinitrc che si trova nella tua home directory
__________________
|Je hais vos idées, mais je me ferai tuer pour que vous ayez le droit de les exprimer. *PettyFan*
|
|
|
|
|
|
#7 | |
|
Senior Member
Iscritto dal: Apr 2000
Città: Milano
Messaggi: 551
|
Re: Re: Non riesco a far partire Fluxbox
Quote:
__________________
"GOD'S IN HIS HEAVEN, ALL RIGHT WITH THE WORLD." |
|
|
|
|
|
|
#8 |
|
Senior Member
Iscritto dal: Nov 2001
Città: Padova/Pordenone
Messaggi: 388
|
Non scomodiamo root quando non serve.
Nella tua home crea un bel .xinitrc (notare il punto davanti al nome...) buttaci dentro il path in cui si trova fluxbox... da quel che ho capito /usr/local/bin/fluxbox salva ed esci l'exec davanti al path è assolutamente superfluo in questo caso. Ora lancia startx e goditi il tuo fluxbox Ciao
__________________
Powered only by Debian Sid GNU/Linux && FreeBSD |
|
|
|
|
|
#9 | |
|
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
Re: Re: Re: Non riesco a far partire Fluxbox
Quote:
dunqnue hai modificato come ti ho detto il file .xinitrc??? exec o non exec il risultato è lo stesso... ...che distro usi? hai preso tutti i pacchetti che servono? Debian-Puff:/home/roby# apt-cache search fluxbox fbdesk - desktop icons for fluxbox window manager (NON indispensabile) fluxconf - FluxBox configuration utility fluxbox - Highly configurable and low resource X11 Window manager fluxbox-theme-contrib - Themes for fluxbox (NON indispensabile) fluxbox-theme-sid - Themes for fluxbox (NON indispensabile) fluxbox-themes - Themes for fluxbox (NON indispensabile) ... a sto punto, una volta che hai scaricato tutto, vai nella dir /usr/share/fluxbox, e copiati i 2 file di testo che ci trovi dentro (uno di config e uno per le keys da tastiera..) e copiali dentro la tua /home/utente/fluxbox. a me solo così andava, non so come mai questa operazione dovevo farla io manualmente ma vai a sapere.... |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 03:40.




















