LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   where can i find .Xdefaults or .Xresources? (https://www.linuxquestions.org/questions/slackware-14/where-can-i-find-xdefaults-or-xresources-470312/)

asilentmurmur 08-03-2006 12:53 AM

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?

kodon 08-03-2006 01:05 AM

`man X`...

asilentmurmur 08-03-2006 01:14 AM

it says man command not found ;[ i did install all the man pages i just dunno why the actual command never works

ciotog 08-03-2006 01:27 AM

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

asilentmurmur 08-03-2006 01:31 AM

ya i cant find man in /usr/bin

how do i get that installed?

Nylex 08-03-2006 01:33 AM

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".

asilentmurmur 08-03-2006 02:00 AM

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?

Nylex 08-03-2006 02:01 AM

Do you have groff installed?

asilentmurmur 08-03-2006 02:07 AM

ya i just installed groff , and i ran man X

still the same problem

ciotog 08-03-2006 02:13 AM

Do you have anything in /usr/man ? Specifically man1 directory full of man pages?

asilentmurmur 08-03-2006 02:16 AM

ya i have a bunch of man files and cat folders and other stuff

asilentmurmur 08-03-2006 02:30 AM

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.

ciotog 08-03-2006 11:43 AM

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"

ciotog 08-03-2006 11:50 AM

Or I suppose you could just read this: http://linuxcommand.org/man_pages/manpath1.html

asilentmurmur 08-05-2006 07:34 PM

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?


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