LinuxQuestions.org
Help answer threads with 0 replies.
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 01-31-2004, 10:09 PM   #16
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60

Quote:
Originally posted by Cheezel_X
......
but im in the control center messing around with the hard ware

and i found my grahix card and it says its at 1024 at the moment but its still 800x600 when you look in the resolution
what are you judging your info on when you say that in the control center it says 1024x768, but you personally say its at 800x600?
like what do you mean when you say "when you look in the resolution" ?
 
Old 01-31-2004, 10:11 PM   #17
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Cheezel_X
ok wait a sec

i was in the consolve and i make a new xconfig file

but cos it didnt overright the old config file i saved it as a new one

so now i know where the config file is how do i overright the old one? and where is the old one?
If you are in a console as a regular user, you can't overwrite the file because you don't have permissions to do so - and that's the way it should be. If you were using pico or nano, nothing was changed and no new file was written.

If you are in a console as root (su, super user), then the file was written to the path you selected when you saved it.

Be more specific about how you were in a console, how you made a new file, what user you were logged in as, and what file you opened to determine that you have 1024x768 but it still displays as 800x600.
 
Old 01-31-2004, 10:21 PM   #18
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
i can post my new one thats saved else where

but how do i post the one thats running atm?

Last edited by Cheezel_X; 01-31-2004 at 10:22 PM.
 
Old 01-31-2004, 10:24 PM   #19
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
in the control center under hardware - resolution it says 800x600

but when you are in root consolve the grahix card said 1024x768...
 
Old 01-31-2004, 10:32 PM   #20
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Cheezel_X
i can post my new one thats saved else where

but how do i post the one thats running atm?
Either open the file /etc/X11/XF86Config-4 in a console and then hold down your left mouse button, drag it across the file from the top to the bottom, and then use the scroll wheel to paste the contents in this reply window.

Or, using a file browser, you should be able to open the file with some editor included in Mandrake. Then you can probably do something like Ctrl + A (for Select All) and then Ctrl + C (for copy); or choose the drop-down menu that says Edit and choose Select All, and then Copy. Then you can do Ctrl + V (for paste) or choose the Edit button in your web browser and select Paste.

I'm not familiar with all these GUI tools that Mandy uses, but I know how this works in the background. That file is the one where your resolution is set, no matter what some control center app says. If we fix that file, you'll be good to go.
 
Old 01-31-2004, 10:34 PM   #21
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
ok ill go try my best
 
Old 01-31-2004, 10:56 PM   #22
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
how do you change permissions of harddrives?

cos im trying to copy the xf86 to a win hd but i have to change the permission...
 
Old 01-31-2004, 11:03 PM   #23
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
nm here it is...

-------------

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

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work

EndSection



Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

EndSection



Section "InputDevice"

Identifier "Keyboard1"

Driver "Keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbCompat" ""

Option "XkbOptions" ""

EndSection



Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "PS/2"

Option "Device" "/dev/psaux"

Option "Emulate3Buttons"

Option "Emulate3Timeout" "50"

EndSection



Section "Monitor"

Identifier "monitor1"

VendorName "Generic"

ModelName "1024x768 @ 70 Hz"

HorizSync 31.5-57.0

VertRefresh 50-70



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

Driver "fbdev"

Option "DPMS"

EndSection



Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 16



Subsection "Display"

Depth 8

Modes "default"

EndSubsection



Subsection "Display"

Depth 15

Modes "default"

EndSubsection



Subsection "Display"

Depth 16

Modes "default"

EndSubsection



Subsection "Display"

Depth 24

Modes "default"

EndSubsection

EndSection



Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection


--------------------------
 
Old 02-01-2004, 11:45 AM   #24
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
why can't you just change your resolution in the control center?
i remember last year when i had redhat and mandrake on one of my boxes, that they were "bulleted" options and you select your resolution and restart the X server, is this not an option anymore?

and also if you wanna try something manually with your XF86Config-4 you can change a line in there .... cause personally i have never seen the line that says :
Modes "default"
and with that said, i have no idea what "default" entails in this situation ....
so, in the subsections for the display, try insterting some modes ...
and since it says you default color depth is 16, then we will only make changes to this section ....
so in the following section :
Code:
Subsection "Display"

Depth 16

Modes "default"

EndSubsection
make it look like this :

Code:
Subsection "Display"

Depth 16

Modes "1024x768"  "800x600"  "640x480"

EndSubsection
and if you make these changes within X, then restart the X server after making changes, and if you are not in X, then simply startx
 
Old 02-01-2004, 07:15 PM   #25
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
ok ill try that when i get home, soz about the time idfference im in australia and yesterday was the weekend so thats why i was on

thanks
 
Old 02-02-2004, 12:24 AM   #26
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
ok i opened in the xf86 file in kwrite but i cant save over it as i have no permission

how do i log in so that i can just edit it like the way i am and save over it?
 
Old 02-02-2004, 10:13 AM   #27
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
You need to be loggined in as root.

*logged in
*I don't know what I was thinking...

Last edited by Guru3; 02-04-2004 at 12:35 AM.
 
Old 02-03-2004, 02:17 AM   #28
Cheezel_X
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
nm thanks fellas its all workin good at 1024 now! cheers and who ever had a voting thing i voted for ya
 
  


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
Is arrangement of file systems will differ if we copy a file from FAT 32 to ext 3 ? anindyanuri Linux - Software 2 02-20-2005 11:39 AM
[NTFS]/[EXT(2 or 3)]/[FAT/FAT32] partitions fraz Linux - Software 5 11-14-2004 07:43 AM
How to debug Linux FAT filesystem code? ashishkumbhare Programming 2 04-14-2004 02:16 PM
fat fs code difficult to understand ramya272 Programming 7 03-07-2004 12:43 AM
fat fs code explanation ramya272 Programming 0 03-06-2004 09:55 AM

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

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