LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2008, 06:44 PM   #16
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled

/etc/X11/xinit/xinitrc is just a symlink to xinitrc.kde . As i dont use KDE, i dont have that file & using an .Xresources instead of an .Xdefaults doesnt work.
 
Old 09-28-2008, 12:22 AM   #17
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
I didn't really understand what you said .. but I am using fluxbox .. and the symlink is to xinitrc.fluxbox ...

and ~/.Xresources does work
 
Old 09-28-2008, 07:29 AM   #18
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Code:
ll /etc/X11/xinit    
total 4.0K
-rw-r--r-- 1 root root 321 2003-03-16 23:36 README.Xmodmap
lrwxrwxrwx 1 root root  11 2008-09-12 06:08 xinitrc -> xinitrc.kde
.Xresources doesnt work this way
 
Old 09-28-2008, 03:13 PM   #19
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Can you try doing a "xrdb -merge $HOME/.Xresources"

I can't see any reason for ~/.Xresources not to work... afaik it is independent of WM
 
Old 09-28-2008, 03:53 PM   #20
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Man X shows:
Code:
XENVIRONMENT
               Any  user-  and  machine-specific resources may be specified by
               setting the XENVIRONMENT environment variable to the name of  a
               resource  file to be loaded by all applications.  If this vari-
               able is not defined, a file named $HOME/.Xdefaults-hostname  is
               looked  for  instead,  where  hostname  is the name of the host
               where the application is executing.

XENVIRONMENT
              This must point to a file containing X resources. The default is
              $HOME/.Xdefaults-<hostname>.  Unlike /usr/lib/X11/Xresources, it
              is consulted each time an X application starts.
So I would think that .Xresources files are like .bash_profile and .Xdefaults are like .bashrc
 
Old 09-29-2008, 04:51 AM   #21
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
This is what I do to get the colours in the output from ls when run in a bash shell, based on a suggestion from rworkman in an old post that I haven't been able to find.
Create a .bashrc file in your home directory and add this line
Quote:
. /etc/profile.d/coreutils-dircolors.sh
 
Old 09-29-2008, 07:31 AM   #22
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by duryodhan View Post
Can you try doing a "xrdb -merge $HOME/.Xresources"

I can't see any reason for ~/.Xresources not to work... afaik it is independent of WM
It works but i have to merge everytime. .Xdefaults work out of the box
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting xterm font and colors. ErV Linux - Software 1 05-04-2007 05:09 AM
man pages with colors in xterm milod Linux - Software 4 03-30-2006 11:34 PM
rxvt/xterm colors macondo Debian 2 04-20-2004 07:10 PM
ls colors in xterm/rxvt/aterm Pougan Linux - Software 8 12-01-2003 11:24 AM
Environment Variables: xterm, ls, mc, and emacs colors kulitpuro Slackware 4 09-01-2003 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration