Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[domanda] ~/.Xdefaults non viene caricato
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1563
Location: switzerland

PostPosted: Tue Sep 07, 2004 8:34 am    Post subject: [domanda] ~/.Xdefaults non viene caricato Reply with quote

per quale motivo .Xdefaults potrebbe non essere caricato?

ho installato aterm e ho messo le impostazioni nel file ~/.Xdefaults ma tali impotsazioni non sono visibili

mi viene un dubbio...non è che per caso .Xdefaults è un file legato ad un determinato window manager (io uso wmaker)? non so se è una domanda stupida o no... :oops:


grazie
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31459
Location: here

PostPosted: Tue Sep 07, 2004 8:35 am    Post subject: Reply with quote

Che vorresti che facesse? Non ho capito molto quello che cerchi di fare
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Sep 07, 2004 8:42 am    Post subject: Re: [domanda] ~/.Xdefaults non viene caricato Reply with quote

luna80 wrote:
per quale motivo .Xdefaults potrebbe non essere caricato?

ho installato aterm e ho messo le impostazioni nel file ~/.Xdefaults ma tali impotsazioni non sono visibili

mi viene un dubbio...non è che per caso .Xdefaults è un file legato ad un determinato window manager (io uso wmaker)? non so se è una domanda stupida o no... :oops:


grazie


Crea un file dal nome ~/.Xresource , metti tutti i parametri per aterm di cui necessiti:

Code:


###########
## ATERM ##
###########

aterm*background: Black
aterm*foreground: White
aterm*cursorColor: White
aterm*reverseVideo: false
aterm*font: 10x20
aterm*scrollKey: on
aterm*geometry: 80x25+150+150
aterm*transparent: true
aterm*shading: 20
aterm*scrollBar: false
# aterm*transpscrollbar: true
aterm*loginShell: true
aterm*colorBD: Blue
aterm*colorUL: Green
# aterm*tinting: Blue
aterm*saveLines: 1000


poi crei un file ~/.xinitrc in questo modo:

Code:
#!/bin/sh
userresources=$HOME/.Xresources

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

# Start some nice program
<--- qui ci metti il tuo WM --->


poi lanci:

Code:
chmod 755 .xinitrc


rilanci X ed hai concluso :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1563
Location: switzerland

PostPosted: Tue Sep 07, 2004 8:56 am    Post subject: Reply with quote

fedeliallalinea wrote:
Che vorresti che facesse? Non ho capito molto quello che cerchi di fare


ho messo delle impostazioni nel file .Xdefaults per avere aterm trasparente (per il momento mi accontentavo di quello) ma quelle impostazioni non vengono caricate: il file .Xdefaults è ingorato.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1563
Location: switzerland

PostPosted: Tue Sep 07, 2004 8:58 am    Post subject: Re: [domanda] ~/.Xdefaults non viene caricato Reply with quote

gutter wrote:

Crea un file dal nome ~/.Xresource , metti tutti i parametri per aterm di cui necessiti:

Code:


###########
## ATERM ##
###########

aterm*background: Black
aterm*foreground: White
aterm*cursorColor: White
aterm*reverseVideo: false
aterm*font: 10x20
aterm*scrollKey: on
aterm*geometry: 80x25+150+150
aterm*transparent: true
aterm*shading: 20
aterm*scrollBar: false
# aterm*transpscrollbar: true
aterm*loginShell: true
aterm*colorBD: Blue
aterm*colorUL: Green
# aterm*tinting: Blue
aterm*saveLines: 1000


poi crei un file ~/.xinitrc in questo modo:

Code:
#!/bin/sh
userresources=$HOME/.Xresources

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

# Start some nice program
<--- qui ci metti il tuo WM --->


poi lanci:

Code:
chmod 755 .xinitrc


rilanci X ed hai concluso :wink:



non cambia niente
Back to top
View user's profile Send private message
Dr.Dran
l33t
l33t


Joined: 08 Oct 2004
Posts: 766
Location: Imola - Italy

PostPosted: Mon Oct 03, 2005 9:50 pm    Post subject: Reply with quote

Ciao a tutti...
Rispolvero questo post, per il semplice fatto che un problema analogo...
Ho GDM + Gnome e non riesco a caricare il file .Xresource o .Xdefaults dalla mia home directori, ho provato pure la soluzione di Gutter elencata qui sopra ma il risultato è sempre lo stesso 0...
Dove sto sbagliando? Qualche d'uno ha qualche suggerimento? Mi serve perchè voglio personalizzare un attimo emacs e senza non ce la faccio...

Grazie mille :wink:

EDIT: ho fatto una prova, se do il comando
Code:
xrdb -merge .Xdefaults
o
xrdb -load .Xdefaults


l'xterm viene modificato, però emacs non caga di striscio nessuna opzione... cosa può essere? vi faccio vedere le opzioni con cui ho compilato emacs:

Code:
Core-Linux dran # emerge -pvD emacs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-editors/emacs-21.4-r1  +X -Xaw3d +gnome -leim -lesstif -motif +nls -nosendmail 0 kB

Total size of downloads: 0 kB


Inoltre, dimenticavo, il file .Xresources o .Xdefaults funziona correttamente per quanto riguarda xterm, cioè mi carica le impostazioni ad ogni riavvio...

ed emacs niente...Boh... ?!?

EDIT 2: Ho notato un'altra cosa strana, beh se emacs lo lancio da terminale beh accetta tutti i colori e le modifiche... invece se lo lancio dall'icona del menù di Gnome se ne frega di tutto... ma che kavolo... il problema è che con gnome 2.10 non posso editare la voce del menù per poter verificare se viene lanciata con un comando particolare...ari-boh?!?
_________________
:: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group]
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Oct 03, 2005 10:45 pm    Post subject: Reply with quote

DranXXX wrote:

EDIT 2: Ho notato un'altra cosa strana, beh se emacs lo lancio da terminale beh accetta tutti i colori e le modifiche... invece se lo lancio dall'icona del menù di Gnome se ne frega di tutto... ma che kavolo... il problema è che con gnome 2.10 non posso editare la voce del menù per poter verificare se viene lanciata con un comando particolare...ari-boh?!?


Non uso Gnome quindi non so come si comporti questo DE. Ma mi sembra strano che non si possano editare i menu. Ci sarà un qualche file (XML penso) dove puoi mettere le mani :)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Dr.Dran
l33t
l33t


Joined: 08 Oct 2004
Posts: 766
Location: Imola - Italy

PostPosted: Tue Oct 04, 2005 5:50 pm    Post subject: Reply with quote

Beh in Gnome 2.10 non esiste un editor di menù, debbo aspettare che si stabilizzi il 2.12, effettivamente potrei andare a vedere il file xml che contiene tutte le voci, però ho notato che creando un link sul desktop che richiama emacs il tutto funziona correttamente e quindi sono già a posto...

Grazie Mille ciauz :D

EDIT:
:D :D :D :D :D

Non ci crederete mai ma ho scoperto come mai la cosa non funzionava, beh ho provato a fare questo: visto che non riuscivo ad editare normalmente l'icona di avvio di emacs, mo è venuto in mente di trascinarla sul desktop in modo tale da poterla poi editare... beh cosa ho visto, l'icona non richiamava come nome emacs, ma emacs.emacs-21 ecco scoperto l'arcano, se nell'icona di lancio inserisco emacs invece di emacs.emacs-21 le mie impostazioni vengono utilizzate, invece se inseriso il nome emacs.emacs-21 il tutto non funziona... ecco tutto qua :D

Mamma mia che robe :D
_________________
:: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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