Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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.

  2. #2
    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.

  3. #3
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    easiest way is probably to use the kde control thign to change it.

  4. #4
    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.

  5. #5
    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?

  6. #6
    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?

  7. #7
    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.

  8. #8
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    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

  9. #9
    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.

  10. #10
    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?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •