Xresources not read at startup

Hi,

I am running Debian Etch on a Macbook, and I have a simple problem,
namely, that my $HOME/.Xresources file, which has a few colour options
for xterm, is not read at startup. I need to manually xrdb load it
each session. I tried a variety of options, including linking it to
the system Xdefaults, checking /etc/X11/Xsession.options for the
'allow-user-session' flag, and nything related in the kdmrc file. I
also tried putting a startup script in the .kde Autostart directory,
then finally put the xrdb command in a .xsession file, having it touch
a text-file. The latter did not happen either.

Any ideas?
--

Regards,

Kumar.

--

"An eye for an eye will only make the entire world blind."

- Mohandas Karamchand Gandhi

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Xresources not read at startup

On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
> Kumar Ravichandran :
> >
> > I am running Debian Etch on a Macbook, and I have a simple problem,
> > namely, that my $HOME/.Xresources file, which has a few colour options
> > for xterm, is not read at startup. I need to manually xrdb load it
>
> I have it in ~/.xinitrc
>
I tried that as well :(. No good!

--
Regards,

Kumar.

--

"An eye for an eye will only make the entire world blind."

- Mohandas Karamchand Gandhi

--

Xresources not read at startup

On Nov 21, 2007 7:07 PM, Kumar Ravichandran
wrote:
> On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
> > Kumar Ravichandran :
> > >
> > > I am running Debian Etch on a Macbook, and I have a simple problem,
> > > namely, that my $HOME/.Xresources file, which has a few colour options
> > > for xterm, is not read at startup. I need to manually xrdb load it
> >
> > I have it in ~/.xinitrc
> >
> I tried that as well :(. No good!

I made .Xdefaults a symlink to .Xresources, and it started working.
Might be worth a try.

Cheers,
Kelly Clowers

--

Xresources not read at startup

On Wed, Nov 21, 2007 at 07:39:26PM -0800, Kelly Clowers wrote:
> On Nov 21, 2007 7:07 PM, Kumar Ravichandran
> wrote:
> > On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
> > > Kumar Ravichandran :
> > > >
> > > > I am running Debian Etch on a Macbook, and I have a simple problem,
> > > > namely, that my $HOME/.Xresources file, which has a few colour options
> > > > for xterm, is not read at startup. I need to manually xrdb load it
> > >
> > > I have it in ~/.xinitrc
> > >
> > I tried that as well :(. No good!
>
> I made .Xdefaults a symlink to .Xresources, and it started working.
> Might be worth a try.
>
>

I am sorry to reply so late, but this was the first thing I did. Since
nothing is working, I just load the file at startup via a kde-script.

--

Regards,

Kumar.

--

"An eye for an eye will only make the entire world blind."

- Mohandas Karamchand Gandhi

--

Xresources not read at startup

Am 2007-11-21 19:39:26, schrieb Kelly Clowers:
> I made .Xdefaults a symlink to .Xresources, and it started working.
> Might be worth a try.

Please note, that

~/.Xresources

are different from

~/.Xdefaults-
or
~/.Xdefaults

While the first one is read by the "xserver" from

/etc/X11/Xsession.d/30x11-common

the later two are read by the application directly at every startup.

Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

Xresources not read at startup

Am 2007-11-21 00:43:39, schrieb Kumar Ravichandran:
> Hi,
>
> I am running Debian Etch on a Macbook, and I have a simple problem,
> namely, that my $HOME/.Xresources file, which has a few colour options

Why not put it into

$HOME/.Xdefaults-
or
$HOME/.Xdefaults

which are read by default troug the application?

----[ '~/devel/editres.strace' ]----------------------------------------

execve("/usr/bin/editres", ["editres"], [/* 78 vars */]) = 0

open("/home/michelle.konzack/.Xdefaults-michelle1.private", O_RDONLY) = 4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

read(4, "\n. ~/.Xdefaults\n", 16) = 16

access("/home/michelle.konzack/.Xresources/de_DE.UTF8/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/home/michelle.konzack/.Xresources/de/Editres", R_OK) = 0
stat64("/home/michelle.konzack/.Xresources/de/Editres", {st_mode=S_IFREG|0664, st_size=671, ...}) = 0
open("/home/michelle.konzack/.Xresources/de/Editres", O_RDONLY) = 4

open("/home/michelle.konzack/.Xresources/de/Editres-real", O_RDONLY) = 4

open("/home/michelle.konzack/.Xresources/de/Editres-lang", O_RDONLY) = 4

access("/usr/lib/X11/de_DE.UTF8/app-defaults/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/X11/de/app-defaults/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/X11/app-defaults/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/X11/de_DE.UTF8/app-defaults/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/X11/de/app-defaults/Editres", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/X11/app-defaults/Editres", R_OK) = 0
stat64("/etc/X11/app-defaults/Editres", {st_mode=S_IFREG|0644, st_size=10027, ...}) = 0
open("/etc/X11/app-defaults/Editres", O_RDONLY) = 4

open("/home/michelle.konzack/.icons/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/michelle.konzack/.icons/default/index.theme", O_RDONLY) = 4

open("/usr/share/icons/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/icons/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/michelle.konzack/.icons/crystalblue/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/michelle.konzack/.icons/crystalblue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/crystalblue/cursors/sb_v_double_arrow", O_RDONLY) = 4

------------------------------------------------------------------------

Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

Syndicate content