XFree86 Setup Concerning Virtual Desktops -or- Argh! My eyes!
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
XFree86 Setup Concerning Virtual Desktops -or- Argh! My eyes!
I realize that this question is asked quite a bit, so bear with me. How do I turn off the virtual desktop? Since Slackware's video setup makes things out to be less than they are I decided to run xf86config so I could watch movies, scroll rapidily down a web page, and so on without everything being jerky. I'd never done this before, so on the first time through I screwed up. Then I went back though again, screwed up again. However I did know to avoid answering yes to the bit that asks me if I wanted a virtual desktop.
I hate virtual desktops.
Anyway, on my third time through I accidentally enabled the virtual desktop. "Noooo!" I'd already been through the setup three times, why not another? I fired up xf86config again and was prepared to answer that no, I did not want a virtual desktop. It never asked. So I went through again. Still no asking about virtual desktops.
"Time to read the manual." After doing so I opened up XF86config, found the screen section, and was a bit dismayed to find that the line I needed to edit was not there. (I don't remember what it is at the moment, but I'm going to guess you guys know what I'm talking about. If not, I'll look it up again.) Here's it is:
Code:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "** SiS (generic) [sis]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
I've looked at a lot of material to try and fix this myself, but most people just suggest to run XF86config again, or use some KDE wizard. Like I've said before XF86config doesn't give the option anymore, and I use fluxbox. Any help is appreciated, as my eyesight is pretty good now and I'd like to keep it like that.
p.s. Is it just me, or does the spell checker not recognize Slackware as a word?
Re: XFree86 Setup Concerning Virtual Desktops -or- Argh! My eyes!
Quote:
Originally posted by goofyheadedpunk I realize that this question is asked quite a bit, so bear with me. How do I turn off the virtual desktop? Since Slackware's video setup makes things out to be less than they are I decided to run xf86config so I could watch movies, scroll rapidily down a web page, and so on without everything being jerky. I'd never done this before, so on the first time through I screwed up. Then I went back though again, screwed up again. However I did know to avoid answering yes to the bit that asks me if I wanted a virtual desktop.
I hate virtual desktops.
Anyway, on my third time through I accidentally enabled the virtual desktop. "Noooo!" I'd already been through the setup three times, why not another? I fired up xf86config again and was prepared to answer that no, I did not want a virtual desktop. It never asked. So I went through again. Still no asking about virtual desktops.
"Time to read the manual." After doing so I opened up XF86config, found the screen section, and was a bit dismayed to find that the line I needed to edit was not there. (I don't remember what it is at the moment, but I'm going to guess you guys know what I'm talking about. If not, I'll look it up again.) Here's it is:
Code:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "** SiS (generic) [sis]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
I've looked at a lot of material to try and fix this myself, but most people just suggest to run XF86config again, or use some KDE wizard. Like I've said before XF86config doesn't give the option anymore, and I use fluxbox. Any help is appreciated, as my eyesight is pretty good now and I'd like to keep it like that.
p.s. Is it just me, or does the spell checker not recognize Slackware as a word?
That section looks good to me. Try cycling through your resolutions, though. Hit Control+Alt+Num+ or Num-, and see if you can get out of the virtual desktop that way. VD's will always be available on X, but I've never really understood the reasoning for the question in the config tool....
I've tried cycling through all the resolutions. The virtual desktop exists on all of them, save for the highest resolution. That's too high though, and it's killing my eyes.
Then simply remove the first resolution.
Your default color depth is 24, and it starts at 1280x1024. Just remove 1280x1024, making 1024x768 the first one. Itīll use that, and blam --- no viewport.
better still, just change the line to:
Depth 24
Modes "1024x768" "800x600" "640x480" "1280x1024"
so you still have the "1280x1024" res if you want it..
Not quite... that will still give him the viewport.
The desktop *size* is always going to be the highest *resolution*.
The point is that X can switch resolutions on the fly, but the size is always going to remain the same.
If he wants his desktop to be 1024x768, that needs to be the highest resolution.
Ahh yes my bad, but I did find that KDE3 has a menu option ->system settings/display where you can change KDE's desktop size to anthing listed in your mode line.
I would just hate to lose a res if I didn't need to, as I run the mode line:
Modes "1024x768" "800x600" "700x525" "640x512" "640x480" "720x400" "640x400" "576x432" "640x350" "576x384" "512x384" "416x312" "400x300" "320x240" "360x200" "320x200" "320x175"
so Xmame can pick the best mode for full screen.
Don't know if it helps goofyheadedpunk 'cause he is running fluxbox, but nice to know you can fill up your mode line
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.