Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default Xorg Background
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Greek
View previous topic :: View next topic  
Author Message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Sun Mar 27, 2005 12:09 am    Post subject: Default Xorg Background Reply with quote

Γεια και χαρά.

Θα ήθελα να μάθω πως μπορώ να αλλάξω το default background στο Xorg. Επίσης αν γίνεται να έχω αυτό το background για όλους τους χρήστες.

Ευχαριστώ πολύ.
_________________
Honor guide me...
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 27, 2005 12:16 pm    Post subject: Reply with quote

Mporeis na prostheseis tin parakato entoli sto /etc/X11/xinit/xinitrc:

Quote:
bsetbg /path/to/background.file
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Sun Mar 27, 2005 11:13 pm    Post subject: Reply with quote

Πώς μπορώ να κάνω αντί για εκείνο το εκνευριστικό γκριζό-ασπρο background που φαίνεται στιγμιαία όταν φορτώνουν-ξεφορτώνουν τα xorg, να βάλω να δείχνει όλη η οθόνη "ψηφιακό" μαύρο -> RGB 0,0,0;
Back to top
View user's profile Send private message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Mon Mar 28, 2005 11:07 am    Post subject: Reply with quote

Νομίζω με:

Code:
xsetroot -solid black


στο /etc/X11/xinit/xinitrc
_________________
Honor guide me...
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Mon Mar 28, 2005 3:13 pm    Post subject: Reply with quote

ksenos wrote:
Νομίζω με:

Code:
xsetroot -solid black


στο /etc/X11/xinit/xinitrc


Μπαααα.

Δεν έκανε καμμιά διαφορά.

Προφανώς δεν παίζει ρόλο πού το προσθέτω.

Το πρόσθεσα στο τέλος.
Back to top
View user's profile Send private message
ag_x
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 142
Location: Self Sarkarm.

PostPosted: Mon Mar 28, 2005 6:36 pm    Post subject: Reply with quote

Εαν χρησιμοποιείς ένα display-manager για να μπεις σε γραφικό περιβάλλον,πχ gdm,μάλλον δεν θα διαβάσει το xinitrc.
Έχω την εντύπωση,μια και δεν δουλεύω με display-managers,ότι μια τέτοια εντολή,θα πρέπει να μπει στο ~/.xsession.

Αν πάλι μπαίνεις με startx,προφανώς και για να μην τρέχει την εντολή,διαβάζει πρώτα το .xinitrc του προσωπικού σου καταλόγου.
Η εντολή πρέπει να μπει στην αρχή του xinitrc,μια και η τελευταία γραμμή εκκινεί ένα "window-manager",πχ fluxbox,ή ένα "DE" πχ kde.
Για να πάρεις μια ιδέα της μορφής του xinitrc,σου παραθέτω από κάτω ένα παράδειγμα.
Code:
 
# Begin .xinitrc file
urxvtd &
xmodmap $HOME/.xmodmap
xsetroot -solid gray4 -cursor_name left_ptr
xbindkeys &
exec ratpoison
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Mon Mar 28, 2005 8:05 pm    Post subject: Reply with quote

Λοιπόν τα ~.xsession δεν υπήρχαν - ούτε στο /root ούτε στο home του χρήστη μου.

Τα έφτιαξα και στα 2 με τη γραμμή αυτή.

Επίσης το έβαλα πρώτο-πρώτο και στο xorg.conf.

Τίποτα. Τα ίδια.
Back to top
View user's profile Send private message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Mon Mar 28, 2005 9:25 pm    Post subject: Reply with quote

Ουφ την βρήκα την λύση. Δυστυχώς αν έχεις δηλώσει το $XSESSION στο /etc/rc.conf τότε θα αγνοήσει τελείως το ~/.xsession. (και εγώ χρησιμοποιώ diplay manager).

Πρέπει να προσθέσεις την εντολή στο /etc/X11/xdm/Xsession_0 ή /etc/X11/xdm/GiveConsole. Στο πρώτο αρχείο η εντολή θα εκτελείται κάθε φορά που ξεκινάνε τα X ενώ στο δεύτερο εκτελείται με κάθε επιτυχημένο login (ως root όμως οπότε δεν μπορείς να εκμεταλευτείς για άλλα πράγματα.

Εγώ αυτό που έκανα είναι να καταργήσω την μεταβλητή από το /etc/rc.conf και να τρέχω τον window manager και ότι άλλο χρειάζομαι (πχ. pypanel) από το ~/.xsession.

υ.γ.

Ξέχασα να αναφέρω οτι χρησιμοποιώ xdm οπότε ίσως να διαφέρει με gdm ή kdm.
_________________
Honor guide me...
Back to top
View user's profile Send private message
ag_x
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 142
Location: Self Sarkarm.

PostPosted: Fri Apr 22, 2005 5:53 am    Post subject: Reply with quote

wantilles.
Δεν ξέρω αν διορθώθηκε το πρόβλημα σου,αλλά τώρα μόλις είδα κάτι που μπορεί να σε ενδιαφέρει.
Δεν ξέρω αν δουλεύει γιατί δεν έχω gdm-kdm να το τεστάρω αλλά δεν χάνεις τίποτα να το δοκιμάσεις.
Σου παραθέτω την πληροφορία όπως την διάβασα.
Quote:
Changing the uggly gray startup background of X
Just add the -br option to the line that launch X in:
/etc/X11/gdm/gdm.conf,
or /usr/kde/3.3/share/config/kdm/Xservers,
or /usr/kde/3.4/share/config/kdm/kdmrc,
or /etc/X11/xdm/Xservers.
Back to top
View user's profile Send private message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Fri Apr 22, 2005 8:08 am    Post subject: Reply with quote

yeah!!!! Σε ευχαριστώ πολύ ag_x. Όντως το γκριζο-τέτοιο δεν υπάρχει πια. :D
_________________
Honor guide me...
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Mon Apr 25, 2005 9:46 pm    Post subject: Reply with quote

ag_x wrote:
wantilles.
Δεν ξέρω αν διορθώθηκε το πρόβλημα σου,αλλά τώρα μόλις είδα κάτι που μπορεί να σε ενδιαφέρει.
Δεν ξέρω αν δουλεύει γιατί δεν έχω gdm-kdm να το τεστάρω αλλά δεν χάνεις τίποτα να το δοκιμάσεις.
Σου παραθέτω την πληροφορία όπως την διάβασα.
Quote:
Changing the uggly gray startup background of X
Just add the -br option to the line that launch X in:
/etc/X11/gdm/gdm.conf,
or /usr/kde/3.3/share/config/kdm/Xservers,
or /usr/kde/3.4/share/config/kdm/kdmrc,
or /etc/X11/xdm/Xservers.


Παιδιά σας ευχαριστώ πάρα πολύ για το ενδιαφέρον σας ύστερα από τόσες μέρες.

Το δοκίμασα αλλά δεν δουλεύει.

Εξάλλου ήδη πάει και αλλάζει το default background ο καινούριος driver της nVidia και το κάνει ένα σκούρο ομοιόμορφο γκρι υποφερτό.

Το ποστ το είχα πρωτογράψει όταν είχα έναν παλιότερο.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Greek All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum