LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-03-2006, 12:53 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
where can i find .Xdefaults or .Xresources?


Hey everyone. I am having trouble configuring my Eterm so i can have a transparent background. Where can i find the .Xdefaults or .Xresources file? When i type in: vi ~/.Xdefaults

it opens up a blank file
the samehappens when i type in ~/.Xresources.

I am using slack 10.2 with Fluxbox..any suggestions as to what i should be doing?
 
Old 08-03-2006, 01:05 AM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
`man X`...
 
Old 08-03-2006, 01:14 AM   #3
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
it says man command not found ;[ i did install all the man pages i just dunno why the actual command never works
 
Old 08-03-2006, 01:27 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Neither of those are present by default with Slackware. You have to create them yourself. If you're setting up multiple users and you don't want to write each from scratch each time you can put premade ones in /etc/skel but that's beside the point...

If the man command doesn't work for you then that's a sign you've got some problems... It should be in /usr/bin
 
Old 08-03-2006, 01:31 AM   #5
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
ya i cant find man in /usr/bin

how do i get that installed?
 
Old 08-03-2006, 01:33 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Get the man-<version> package from any Slackware mirror and install it using "installpkg filename.tgz". Edit: it'll be in the slackware-10.2/slackware/ap folder on the mirrors.

Edit: check that it really isn't installed with "ls /var/log/packages | grep man".

Last edited by Nylex; 08-03-2006 at 01:35 AM.
 
Old 08-03-2006, 02:00 AM   #7
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
Well i got the man command to work, just when i type in man X


or man ls

or man [command]

it gives me this blank page, with no text in it..what am i doing wrong?
 
Old 08-03-2006, 02:01 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have groff installed?
 
Old 08-03-2006, 02:07 AM   #9
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
ya i just installed groff , and i ran man X

still the same problem
 
Old 08-03-2006, 02:13 AM   #10
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Do you have anything in /usr/man ? Specifically man1 directory full of man pages?
 
Old 08-03-2006, 02:16 AM   #11
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
ya i have a bunch of man files and cat folders and other stuff
 
Old 08-03-2006, 02:30 AM   #12
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
man1 is full of a bunch of *.gz files which seem to be manpages. I did not extract the files to see what they were.
 
Old 08-03-2006, 11:43 AM   #13
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
What's the result of the following:
Code:
echo $MANPATH
This should be set in /etc/profile to /usr/local/man:/usr/man:/usr/X11R6/man but some of the scripts in /etc/profile.d/ do add to it. Maybe this environment variable is being wiped out somewhere...

At any rate, you can still read the manpage for X by executing "man /usr/X11/man/man7/X.7.gz"
 
Old 08-03-2006, 11:50 AM   #14
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Or I suppose you could just read this: http://linuxcommand.org/man_pages/manpath1.html
 
Old 08-05-2006, 07:34 PM   #15
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
Well it looks like my man command is working now! thanks guys for all your help on that. So how do i find .Xdefaults or .Xresources? Do i have to create one myself? if yes where can i find a good sample one so i can copy and paste the code into my text editor?
 
  


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
How to load .Xresources with kdm cl0ck Linux - Newbie 1 01-30-2006 01:21 PM
.Xdefaults doesnt take effect, even with xrdb -merge .xdefaults... michelbehr Linux - Newbie 0 07-05-2004 09:59 PM
Why doesn't Gnome 2.4 pickup my Xresources settings? LinuxLuvr Slackware 5 01-13-2004 03:42 PM
X windows: .Xresources and .Xdefaults file?? deepika Linux - General 0 11-19-2003 04:11 PM
modifying .Xresources david_wliu Linux - General 3 03-18-2003 03:36 PM

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

All times are GMT -5. The time now is 04:55 AM.

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