LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-22-2004, 12:30 PM   #1
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Rep: Reputation: 15
xscreensaver in KDE uses wrong screen size


On my laptop with Mdk 10.0 CE, when I run with the laptop panel I use a screen res of 1280x1024, when I use an external monitor I set it to 1600x1200 and switch off the internal panel (by closing the lid).

I change res using Xdrakres followed by a logout - not using kde's screen resize and rotate.

I have set KDE not to use a screensaver, and in my autostart folder I launch xscreensaver

well, xscreensaver runs using the "small" resolution - so covering just a rectangluare portion of the whole screen.

any clues ?

tia,
Edoardo
 
Old 03-23-2004, 08:14 AM   #2
MunterMan
Member
 
Registered: Nov 2003
Location: The North of England
Distribution: Suse 10.3
Posts: 172

Rep: Reputation: 30
xscreensaver runs as a daemon in the back ground, it starts when you start the x server, which is before you log on.
Logging out/in wont restart the saver. To do that you are going to have to stop the xserver and restart it again.

Make your changes with Xdrakres.
log in a text terminal with su
init 3
init 5

which is a lot of messing just to get a screen saver working.
Personally I would just live with 1280 X 1024. works fine for my on my 20" monitor.
 
Old 03-23-2004, 08:38 AM   #3
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
thanks MunterMan
the problem is the problem happens even if I (change res and) log out and do a ctrl-alt-bkspc which restarts X
and even if I (change res and) shut down the pc and restart !!!

basically, my xscreensaver NEVER ran at 1600x1200
so somewhere it reads a different screensize and uses that.

this is my /etc/X11/XF86Config-4 ... if that may help.
I notice that there is no mention of the defined modes in the screen section, just that 'virtual' ....

Edo


# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection

Section "DRI"
Mode 0666
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Dell 2001FP (Analog)"
HorizSync 31-80
VertRefresh 56-76

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "ATI"
BoardName "ATI Radeon (fglrx)"
Driver "radeon"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1600 1200
EndSubsection

Subsection "Display"
Depth 15
Virtual 1600 1200
EndSubsection

Subsection "Display"
Depth 16
Virtual 1600 1200
EndSubsection

Subsection "Display"
Depth 24
Virtual 1600 1200
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 03-23-2004, 09:07 AM   #4
MunterMan
Member
 
Registered: Nov 2003
Location: The North of England
Distribution: Suse 10.3
Posts: 172

Rep: Reputation: 30
Got this from the xscreensaver site

http://www.jwz.org/xscreensaver/faq.html#screen-size


Quote:
On my laptop, XScreenSaver doesn't fill the whole screen!


This is a bug in the X server, not xscreensaver: the XF86VidModeGetViewPort() function is full of lies, and I don't see any way to work around it.


I believe this only happens on certain laptops, and possibly only on systems that have a docking station or external monitor that runs in a different resolution than the laptop's screen.


There is discussion of this bug in the Red Hat and Debian bug systems; the buck was finally passed upstream to XFree86, where it is bug 421.


The XFree86 developers have closed the bug. As far as I can tell, their reason for this was, "this is an X server bug, but it's pretty hard to fix. Therefore, we are closing it."


So how about that. If you'd like them to actually fix this, you'll have to convince them that it matters, I guess...
End Quote:

Sorry I couldn't help
 
Old 03-23-2004, 09:15 AM   #5
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
well, it does help instead

you have been most helpful - I have nothing to configure ...

it's just soo sad that "OS/X is my favorite Linux distro" [Blake Stone]
driving to laptopia
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
console screen size only 1/2 of monitor size infamous41md Linux - Newbie 9 05-20-2006 01:08 PM
xscreensaver lock screen with Ctrl-Alt-Del kaon Linux - Software 2 07-13-2005 11:50 AM
Kde and xscreensaver not getting along Neruocomp Linux - Software 0 01-03-2005 10:10 PM
xscreensaver hangs on entering a wrong password on fedora 2 kcn_viper Linux - General 0 12-25-2004 06:33 PM
KDE screen size on Mandrake baseballtwin86 Linux - Newbie 4 10-09-2004 08:33 PM

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

All times are GMT -5. The time now is 11:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration