You are not logged in.

#1 2010-12-01 16:49:10

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

[solved]xrdb ignored by X

Hi all. First post on this forum, but many more on italian community one. Sorry for my poor english.

I use no DE and 'til now I used ~/.Xdefaults to set my cursor's theme. I would switch to xrdb, so I deleted .Xdefaults and created ~/.Xresources filled with the exactly same .Xdefaults lines, restarted X, then loaded settings with

xrdb ~/.Xresources

query output is correct

xrdb -query
Xcursor.theme:    Dart3D_LHPPL
Xcursor.size:    32

but no cursor theme is loaded. I already tried with Xcursor*theme but nothing changed. I want to specify that the same settings and syntax work perfectly in .Xdefaults, so no theme/directory issue.

Thanks in advance.

Last edited by 4javier (2010-12-01 20:12:48)

Offline

#2 2010-12-01 18:00:38

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [solved]xrdb ignored by X

it passes the settings to applications when they start, so you need to add it to xinitrc before stuff is started

Offline

#3 2010-12-01 19:51:47

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: [solved]xrdb ignored by X

I'm a dumb. You're right, thanks a lot. But this changes the usefulness of xrdb...if I wanna apply some changes pratically I have to restart X like I did with .Xdefaults... hmm

Thanks again

Offline

#4 2010-12-01 19:53:06

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [solved]xrdb ignored by X

the .Xdefaults settings also won't be applied until you restart the application (it has to reread the file), so it works the same way

Last edited by thestinger (2010-12-01 19:53:26)

Offline

#5 2010-12-01 20:12:29

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: [solved]xrdb ignored by X

Yes I know, I thought that one of the advantage using xrdb, was that the changes sould be recognized by applications with no need to reboot them. I was wrong.
The difference instead is that the changes in .Xdefaults need Xserver's reboot to take effect, ones made by xrdb need just the application interested to reboot.

Bye

Offline

#6 2010-12-02 13:31:22

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [solved]xrdb ignored by X

4javier wrote:

Yes I know, I thought that one of the advantage using xrdb, was that the changes sould be recognized by applications with no need to reboot them. I was wrong.
The difference instead is that the changes in .Xdefaults need Xserver's reboot to take effect, ones made by xrdb need just the application interested to reboot.

Bye

Really? I thought it depends on the application.  Like if you want to change X settings, you must restart X, if you want to change the settings of an app, restart the app.  Is this not how it works?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#7 2010-12-02 15:08:57

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: [solved]xrdb ignored by X

Not with classical use of .Xdefaults, that's loaded automatically every time X start. So if you wanna the changes been applied you must restart X. I f you use xrdb just the application involved must be restarted. Obviously you can also pass .Xdefaults as input of xrdb, with no need to restart X.

Offline

Board footer

Powered by FluxBB