LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   root@localhost:~# xf86config -bash: xf86config: command not found (https://www.linuxquestions.org/questions/slackware-14/root%40localhost-%7E-xf86config-bash-xf86config-command-not-found-274255/)

klemen 01-05-2005 02:00 PM

-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

Cedrik 01-05-2005 02:07 PM

Try ctrl+alt+[+] and ctrl+alt+[-]

Also the tool to configure X is xorgconfig

klemen 01-05-2005 02:20 PM

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 ?

mijenks 01-05-2005 02:25 PM

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.

ringwraith 01-05-2005 02:34 PM

you can also try xorgsetup for a automagical method.

lfur 01-05-2005 02:35 PM

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

klemen 01-05-2005 02:38 PM

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?

lfur 01-05-2005 02:45 PM

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

klemen 01-05-2005 02:52 PM

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?

Cedrik 01-05-2005 02:54 PM

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

- xorgconfig
- xorgsetup
...

lfur 01-05-2005 02:56 PM

First of all, you should update your slocate database by running

updatedb

as root.

And than do another search.

enjoy

klemen 01-05-2005 02:57 PM

OK that works, what about the SuperProbe function, is there any similar function?

Cedrik 01-05-2005 03:06 PM

From an old thread, SuperProbe program is obsolete since 2001

http://www.linuxquestions.org/questi...03/12/4/126501

klemen 01-05-2005 03:08 PM

Thanks for ALL your help

klemen 01-06-2005 02:27 AM

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?


All times are GMT -5. The time now is 07:00 AM.