LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2008, 10:47 AM   #1
the2k
Member
 
Registered: Dec 2005
Location: Devon - UK
Distribution: Suse - Desktop, Arch - Laptop, Centos - Server and whatever I fancy on the other machine ;)
Posts: 59

Rep: Reputation: 15
problems with fluxbox


Hi there,

I have just got gentoo installed (and still have seemingly hundreds of problems that i'm trying to work through) however the latest one is causing some headaches, I have installed fluxbox to give me a window manager until i can fathom out how to install KDE 4.whatever and whilst everything appeared to go smoothly when i run it half the window is hanging off the left hand side of the screen.

i could alter it using H.Position but that would make everything else hang of the right hand side of the screen, when i was testing X it was centred fine (it did have a large dark area in the middle) but it was centred ok.

I have been trying various things with my xorg.conf file and it currently looks like the following...
Code:
Section "ServerLayout" 
        Identifier     "X.org Configured" 
        Screen      0  "Screen0" 0 0 
        InputDevice    "Mouse0" "CorePointer" 
        InputDevice    "Keyboard0" "CoreKeyboard" 
EndSection 

Section "Files" 
        RgbPath      "/usr/share/X11/rgb" 
        ModulePath   "/usr/lib/xorg/modules" 
        FontPath     "/usr/share/fonts/misc/" 
        FontPath     "/usr/share/fonts/TTF/" 
        FontPath     "/usr/share/fonts/OTF" 
        FontPath     "/usr/share/fonts/Type1/" 
        FontPath     "/usr/share/fonts/100dpi/" 
        FontPath     "/usr/share/fonts/75dpi/" 
EndSection 

Section "Module" 
        Load  "xtrap" 
        Load  "dbe" 
        Load  "dri" 
        Load  "glx" 
        Load  "extmod" 
        Load  "record" 
        Load  "GLcore" 
        Load  "freetype" 
        Load  "type1" 
EndSection 

Section "InputDevice" 
        Identifier  "Keyboard0" 
        Driver      "kbd" 
EndSection 

Section "InputDevice" 
        Identifier  "Mouse0" 
        Driver      "mouse" 
        Option      "Protocol" "auto" 
        Option      "Device" "/dev/input/mice" 
        Option      "ZAxisMapping" "4 5 6 7" 
EndSection 

Section "Monitor" 
        #DisplaySize      360   270     # mm 
        Identifier   "Monitor0" 
        VendorName   "GWY" 
        ModelName    "GATEWAY VX900" 
 ### Comment all HorizSync and VertRefresh values to use DDC: 
        HorizSync    31.0 - 95.0 
        VertRefresh  50.0 - 160.0 
        Option      "DPMS" 
EndSection 

Section "Device"  
        Identifier  "Card0" 
        Driver      "radeon" 
        VendorName  "ATI Technologies Inc" 
        BoardName   "RV516 XT Radeon X1600 Series Primary" 
        BusID       "PCI:1:0:0" 
EndSection

Section "Screen" 
        Identifier "Screen0" 
        Device     "Card0" 
        Monitor    "Monitor0" 
        DefaultDepth 24 
        SubSection "Display" 
                Viewport   0 0 
                Depth     1 
                Modes   "1280x1024" "800x600" 
        EndSubSection 
        SubSection "Display" 
                Viewport   0 0 
                Depth     4 
                Modes   "1280x1024" "800x600" 
        EndSubSection 
        SubSection "Display" 
                Viewport   0 0 
                Depth     8 
                Modes   "1280x1024" "800x600" 
        EndSubSection 
        SubSection "Display" 
                Viewport   0 0 
                Depth     15 
                Modes   "1280x1024" "800x600" 
        EndSubSection 
        SubSection "Display" 
                Viewport   0 0 
                Depth     16 
                Modes   "1280x1024" "800x600" 
        EndSubSection 
        SubSection "Display" 
                Viewport   0 0 
                Depth     24 
                Modes    "800x600" 
        EndSubSection 
EndSection
from what i can gather it should be making the screen display at 800x600 resolution, however when i start fluxbox it's exactly as it was before, the screen resolution doesn't change or anything?

thanks for any help that anyone can offer.
Mike
 
Old 12-21-2008, 01:06 AM   #2
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
What resolution do you get now?

And could you post a screen shot on your desktop? Is the entire desktop off screen or just the windows that you open?

Where did you come up with this line:
Code:
        Screen      0  "Screen0" 0 0
Are you using multiple monitors by any chance? If not, try commenting it out. I think it defines how multiple screens relate to each other.

/CZ
 
Old 12-21-2008, 09:19 AM   #3
the2k
Member
 
Registered: Dec 2005
Location: Devon - UK
Distribution: Suse - Desktop, Arch - Laptop, Centos - Server and whatever I fancy on the other machine ;)
Posts: 59

Original Poster
Rep: Reputation: 15
Hi there,

Here is a picture of how fluxbox looks currently, I am unable to take a normal screenshot because if i do it looks like there isn't a problem!

http://photos-h.ak.fbcdn.net/photos-...75567_9992.jpg

If I comment out
Code:
Screen      0  "Screen0" 0 0
I get Fatal server error:
no screens found

when i try to restart x
 
Old 12-25-2008, 03:33 AM   #4
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
What if you try something like this:

Code:
Screen      "Screen0"
I think the two trailing zeros are defining how multiple screens relate to each other but I'm not sure. Anyway, I don't see any reason for it on a single monitor setup. As for the first zero, I have no idea but when I used single monitor I just defined the screen plain and simple like above.

/CZ
 
Old 12-25-2008, 06:22 AM   #5
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Use xvidtune to create right modeline for your display.
 
  


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
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
Fluxbox problems ethics Linux - Newbie 8 05-10-2005 10:18 AM
Problems with Fluxbox norkers Linux - Software 3 03-31-2005 10:50 AM
Problems with fluxbox corbis_demon Linux - Software 1 10-07-2004 02:25 AM
FLuxbox Problems xp1o1d5 Linux - Newbie 2 08-31-2004 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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