Re: Xresources not read at startup

2007-11-30 Thread Michelle Konzack
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-host-alias
or
$HOME/.Xdefaults

which are read by default troug the application?

[ '~/devel/editres.strace' ]

execve(/usr/bin/editres, [editres], [/* 78 vars */]) = 0
snip
open(/home/michelle.konzack/.Xdefaults-michelle1.private, O_RDONLY) = 4
  ^^^
snip
read(4, \n. ~/.Xdefaults\n, 16)   = 16
snip
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
snip
open(/home/michelle.konzack/.Xresources/de/Editres-real, O_RDONLY) = 4
snip
open(/home/michelle.konzack/.Xresources/de/Editres-lang, O_RDONLY) = 4
snip
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
snip
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
snip
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
snip



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/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Xresources not read at startup

2007-11-30 Thread Michelle Konzack
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-host_alias
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/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Xresources not read at startup

2007-11-24 Thread Kumar Ravichandran
On Wed, Nov 21, 2007 at 07:39:26PM -0800, Kelly Clowers wrote:
 On Nov 21, 2007 7:07 PM, Kumar Ravichandran
 [EMAIL PROTECTED] wrote:
  On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
   Kumar Ravichandran [EMAIL PROTECTED]:
   
 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources not read at startup

2007-11-21 Thread s. keeling
Kumar Ravichandran [EMAIL PROTECTED]:
 
  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


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources not read at startup

2007-11-21 Thread Kumar Ravichandran
On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
 Kumar Ravichandran [EMAIL PROTECTED]:
  
   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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources not read at startup

2007-11-21 Thread Kelly Clowers
On Nov 21, 2007 7:07 PM, Kumar Ravichandran
[EMAIL PROTECTED] wrote:
 On Wed, Nov 21, 2007 at 04:52:29PM +0100, s. keeling wrote:
  Kumar Ravichandran [EMAIL PROTECTED]:
  
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]