KDE does not honor my settings in ~/.Xresources. Why?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You are right, and using only lower case letters works in all WM I tried.
Actually I wrote XTerm because it is spelled this way in "man xterm". Now that you make me think of it, I have read in some document (I can't remember which one right now) that XTerm is the old syntax and now only the first letter may be capitalized (Xterm), but the old syntax is still accepted to spare users the need to rewrite existing resource files. However Xterm doesn't work in KDE either, so I will keep xterm anyway.
But when using kde, my settings are ignored until I manually issue
Code:
xrdb -load ~/.Xdefaults
and that command exists in my ~/.xinitrc (I use run level 3).
What I did in the past was have a 'startup' script called by kde's startup/stop setup but when I rebuilt the system for 14.2 I have yet to fully setup kde for my use.
I wonder, do all your other ~/.Xresources work as expected ?
@John: I have really few settings in ~/.Xresources.
To elaborate a bit: I am preparing the release of Slint-14.2 and want that users get an homogeneous look with all or at least most WM/DE included, regardless of the runlevel. They will also have the same default background of the root window and the same panel and similar root menu layouts in all WM.
Thus, doing something specific for a DE/WM is something that I try to avoid.
But when using kde, my settings are ignored until I manually issue
Code:
xrdb -load ~/.Xdefaults
and that command exists in my ~/.xinitrc (I use run level 3).
What I did in the past was have a 'startup' script called by kde's startup/stop setup but when I rebuilt the system for 14.2 I have yet to fully setup kde for my use.
I wonder, do all your other ~/.Xresources work as expected ?
John
The setting which causes this is System Settings > Application Appearance > Colours > Options > Apply colours to non-KDE4 applications.
This setting means xterm will have a white background if your KDE window background is white. You can turn this option off but it's a clumsy solution which affects all other non-KDE applications as well.
Last edited by Gerard Lally; 11-08-2016 at 07:23 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.