LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with fluxbox (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-fluxbox-691903/)

the2k 12-20-2008 10:47 AM

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

Count Zero 12-21-2008 01:06 AM

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

the2k 12-21-2008 09:19 AM

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

Count Zero 12-25-2008 03:33 AM

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

Samotnik 12-25-2008 06:22 AM

Use xvidtune to create right modeline for your display.


All times are GMT -5. The time now is 03:43 PM.