Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows > Print screen and resolution change

Forgot Password?
 Linux Desktop / X-Windows   Anything X. Gnome, KDE, remote desktop's, XGames etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-24-2004   #1 (permalink)
Just Joined!
 
Join Date: Jan 2004
Posts: 13
Print screen and resolution change

I just installed linux and am liking it so far. I have tried to figure out these two problems for a while but can't find them anywhere in the control panel or anything.

How would I be able to do a screen shot so it copies into the clipboard? I tried pressing the print screen button and going and pasting it into a graphics editor but it doesn't work.

Also how would I be able to change my resolution? It's at 640 x 400 but my graphics card and monitor can support more.
Haris_p is offline  



Reply With Quote
Old 01-24-2004   #2 (permalink)
Just Joined!
 
Join Date: Jan 2004
Posts: 13
Ok so I did a bit more searching and found a program that takes screen shots so one problem solved

Now all I need to know is how to change my screen resolution. I looked into the etc directory and found a file called vga.config and it said how to change the resolution, but i couldn't edit it. Is there another way to this or what?

by the way i'm using KDE GUI.
Haris_p is offline   Reply With Quote
Old 01-24-2004   #3 (permalink)
Linux Engineer
 
Join Date: Dec 2002
Location: New Zealand
Posts: 766
Send a message via ICQ to Hellmasker Send a message via MSN to Hellmasker
easiest way is probably to use the kde control thign to change it.
Hellmasker is offline   Reply With Quote
Old 01-24-2004   #4 (permalink)
Just Joined!
 
Join Date: Jan 2004
Posts: 13
Yes I tried all the KDE control panels but I can't find anywhere the resolution of the screen.
Haris_p is offline   Reply With Quote
Old 01-24-2004   #5 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
In that case, can you post the contents of your /etc/X11/XF86Config file?
Dolda2000 is offline   Reply With Quote
Old 01-24-2004   #6 (permalink)
Just Joined!
 
Join Date: Jan 2004
Posts: 13
Ahh yes I changed that and in there there was a commented out mode for 1240 X 1208 and when i commented the 640 X 480 and used that one, it just made the screen go off the monitor and all, what else do i need to change so the resolution fits on the screen?
Haris_p is offline   Reply With Quote
Old 01-24-2004   #7 (permalink)
Just Joined!
 
Join Date: Sep 2003
Posts: 46
If you have a picture that is simply larger than the viewable area, just adjust your monitor's width/height settings so it fits. There might be an option in the config file to adjust this, but I'm not sure.

If the actual picture is messed up, scrambled, or has lines across it, you'll probably need to change the sync rates or switch to a different(lower) resolution.
groot7000 is offline   Reply With Quote
Old 01-24-2004   #8 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Uppsala, Sweden
Posts: 1,276
you can also use ctrl + alt + (numpad) + and - keys to switch between the available resolutions. By available i mean the ones that are specified in the config file /etc/X11/XF86Config. try looking up the name of your monitor on google (mitsubishi diamond pro 920, NEC soopaflat 7000, whatever) and find the specifications. what you are looking for is the sync ranges.. horizontal and vertical also the width/height in pixels and the supported resolutions. when you have these you should edit the /etc/X11/XF86Config file apropriatly. you could also run xf86cfg which will allow you to enter those same commands via a simple graphical interface.

you can take screenshots with gimp.. - file - aquire - screenshot
variant is offline   Reply With Quote
Old 01-28-2004   #9 (permalink)
Just Joined!
 
Join Date: Jan 2004
Posts: 13
Ok so I did a bit editing on the file, but nothing changed. Here are some before and after bits of the file

original:
Code:
# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent

#    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525

    Mode "640x480"
        DotClock	25.175
        HTimings	640 664 760 800
        VTimings	480 491 493 525
    EndMode

# These two are equivalent

#    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

#    Mode "1024x768i"
#        DotClock	45
#        HTimings	1024 1048 1208 1264
#        VTimings	768 776 784 817
#        Flags		"Interlace"
#    EndMode
edited:
Code:
# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent

#    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525

#    Mode "640x480"
 #       DotClock	25.175
  #      HTimings	640 664 760 800
   #     VTimings	480 491 493 525
    #EndMode

# These two are equivalent

    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

#    Mode "1024x768i"
#        DotClock	45
#        HTimings	1024 1048 1208 1264
#        VTimings	768 776 784 817
#        Flags		"Interlace"
#    EndMode

then i also edited this:

original:
Code:
# The favoured Depth and/or Bpp may be specified here

    DefaultDepth 8

    SubSection "Display"
        Depth		8
        Modes		"640x480"
        ViewPort	0 0
        Virtual 	800 600
    EndSubsection

    SubSection "Display"
	Depth		4
        Modes		"640x480"
    EndSubSection

    SubSection "Display"
	Depth		1
        Modes		"640x480"
    EndSubSection

EndSection


Section "Screen"
    Identifier		"Screen MGA1"
    Device		"MGA Millennium I"
    Monitor		"Generic Monitor"
    Option		"no accel"
    DefaultDepth	16
#    DefaultDepth	24

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
    SubSection "Display"
	Depth		16
	Modes		"1280x1024"
    EndSubSection
    SubSection "Display"
	Depth		24
	Modes		"1280x1024"
    EndSubSection
EndSection


Section "Screen"
    Identifier		"Screen MGA2"
    Device		"MGA G200 AGP"
    Monitor		"Generic Monitor"
    DefaultDepth	8

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
EndSection
edited:
Code:
# The favoured Depth and/or Bpp may be specified here

    DefaultDepth 16

    SubSection "Display"
        Depth		8
        Modes		"800x600"
        ViewPort	0 0
        Virtual 	800 600
    EndSubsection

    SubSection "Display"
	Depth		4
        Modes		"800x600"
    EndSubSection

    SubSection "Display"
	Depth		1
        Modes		"800x600"
    EndSubSection

EndSection


Section "Screen"
    Identifier		"Screen MGA1"
    Device		"MGA Millennium I"
    Monitor		"Generic Monitor"
    Option		"no accel"
    DefaultDepth	16
#    DefaultDepth	24

    SubSection "Display"
	#Depth		8
	Depth		16
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
    SubSection "Display"
	Depth		16
	Modes		"1280x1024"
    EndSubSection
    SubSection "Display"
	Depth		24
	Modes		"1280x1024"
    EndSubSection
EndSection


Section "Screen"
    Identifier		"Screen MGA2"
    Device		"MGA G200 AGP"
    Monitor		"Generic Monitor"
    DefaultDepth	8

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
EndSection
Ok that's all I edited. Am I missing anything or did something wrong? I basically want to run 800X600 or higher, but 800X600 would be good enough.
Haris_p is offline   Reply With Quote
Old 01-28-2004   #10 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
That XF86Config file makes me feel slightly uneasy. What program set up this? It looks really weird, using manual ModeLine specifications and several Screens and stuff. Do you have a multi-monitor setup?
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:59 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1