LinuxQuestions.org
Visit Jeremy's Blog.
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 01-05-2005, 02:00 PM   #1
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Rep: Reputation: 15
-bash: xf86config: command not found


Hello

I have a problem with adjusting my screen resolution. When I as a root user tipe xf86config I get:

root@localhost:~# xf86config
-bash: xf86config: command not found

Im running Slackware 10.0 with kde 3.2. Kde is working perfect.
How can I change my screen resolution?

thanks
Klemen

Last edited by klemen; 01-05-2005 at 02:03 PM.
 
Old 01-05-2005, 02:07 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try ctrl+alt+[+] and ctrl+alt+[-]

Also the tool to configure X is xorgconfig
 
Old 01-05-2005, 02:20 PM   #3
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
ctrl+alt+[+] and ctrl+alt+[-] works ok , but it give only 3 possibilities txe maximum resolution is My default which is 1024x768. I have an 19inch monitor, so I wont 1600x1200.

The command xorgconfig works but the command SuperProbe does not. Is any other command like SuperProbe ?
 
Old 01-05-2005, 02:25 PM   #4
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
Edit your xfree86conf file by hand. Add 1600x1200 in your preferred bit depth. Of course, follow the syntax already in there.

[edit]:
The command to configure X is NOT xorgconfig!! The command to configure X is dependent on the implementation of X11 that a platform is using!! Some people still use XFree (though I wouldn't know why). Additionally, different distributions have different manifestations of the configure script. For example, Gentoo has xorgconfig, xorgcfg, and `X -configure`.

Usually the way I figure out what the config script is is by doing a `locate conf | grep bin | grep x` and that should give you only (mostly) executable configure scripts.

Last edited by mijenks; 01-05-2005 at 02:31 PM.
 
Old 01-05-2005, 02:34 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
you can also try xorgsetup for a automagical method.
 
Old 01-05-2005, 02:35 PM   #6
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
A little off the topic, but

[QOUTE]root@localhost:~# xf86config
-bash: xf86config: command not found[/QUOTE]

If you can't find the command, try:

which xf86config

or

locate xf86config

Enjoy
 
Old 01-05-2005, 02:38 PM   #7
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
I tray to find that file with the search function but it can"t find it. Where should it be? What if its not there?
 
Old 01-05-2005, 02:45 PM   #8
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
Try:

find / -name "filename"

and optionally, you can redirect any error (in case you're not root) to /dev/null

find / -name "filename" 2> /dev/null

enjoy
 
Old 01-05-2005, 02:52 PM   #9
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
I get:

root@localhost:~# locate xf86config
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/X11R6/lib/libxf86config.a

It that the right file?
 
Old 01-05-2005, 02:54 PM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Slackware 10 uses Xorg as X server, not XFree86 so the tools to configure X are named
differently

- xorgconfig
- xorgsetup
...
 
Old 01-05-2005, 02:56 PM   #11
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
First of all, you should update your slocate database by running

updatedb

as root.

And than do another search.

enjoy
 
Old 01-05-2005, 02:57 PM   #12
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
OK that works, what about the SuperProbe function, is there any similar function?
 
Old 01-05-2005, 03:06 PM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
From an old thread, SuperProbe program is obsolete since 2001

http://www.linuxquestions.org/questi...03/12/4/126501
 
Old 01-05-2005, 03:08 PM   #14
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
Thanks for ALL your help
 
Old 01-06-2005, 02:27 AM   #15
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
Hello again

I use xorgconfig function and set up new parameters. After reboot kde can't start becouse of wrong color deaph and it can't find suitable monitor.
Before i use xorgfunction i make an backup of xorgconfig file. But the problem is that i have graphical boot of slackware. So, i can't get into console to change the bad file with the right one.
After the system tell me the kde -xsistem will be permanently blocked i have an empty lines on which i can write but no command works.

OK, the questions it how to get in console?
 
  


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
where is the XF86config-4 or XF86config file in the fedora? u2911 Fedora 4 07-24-2004 08:38 PM
xf86config is an unrecognized bash command in fresh install of slackware 10 drxsmurf Slackware 2 07-07-2004 11:49 PM
bash: xf86config: command not found Kyl3 Slackware 4 06-13-2004 06:46 PM
xf86config...command not found. station Slackware 4 05-17-2004 01:40 PM
New install - xf86config not found??? KevB Slackware 15 06-09-2003 03:38 AM

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

All times are GMT -5. The time now is 04:17 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