Results 1 to 9 of 9
For some reason, my monitor (Samsung SyncMaster 960bf,) whenever it's set in 1280 x 1024 resolution, the screen appears to be offcentered, with about a 1/4 of an inch of ...
- 09-27-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 32
Linux/Mandriva beginner here.
For some reason, my monitor (Samsung SyncMaster 960bf,) whenever it's set in 1280 x 1024 resolution, the screen appears to be offcentered, with about a 1/4 of an inch of a vertical black bar on the left hand side of the screen, with everything else shifted over.
Now, I read that I should check the XF86Config file in /etc/X11 folder and make sure the refresh rates for both the vertical and the horizontal settings are to be inline with the manufactured specifications. The ones listed are wrong, so I changed them to what they should be, however when I clicked save as and wanted to overwrite it, a menu popped up saying that it couldn't overwrite it and that I should check if I have access or enough space (which I do have enough space.)
So my question is, why isn't it letting me overwrite the file?
- 09-27-2007 #2
You must have root privileges to edit any file outside your home ( /home/<your_id> ). Execute su command to gain root privileges.
Execute this
Code:su nano /etc/X11/xorg.conf
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-27-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 32
I tried the "nano /etc/X11/xorg.conf" command into the konsole and it replied back with "bash: nano: command not found"
Also a new question, I tried downloading a tar.gz into my /usr/local/src/ folder, and for some reason I can't download it directly into it.
- 09-27-2007 #4
If you get the "command is not found" error, it usually means that the package which provides the command you are trying to use is not installed. In this instance, you need to install nano using the package manager. As for not being able to save to /usr/local/src, this is normal if you are not root. Apart from a few directories such as /tmp, /var/tmp and other temporary directories, most normal users cannot write to directories other than their own unless they have been given permission to do so.
- 09-27-2007 #5
Either install nano or use vi or pico to edit xorg,conf file.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-27-2007 #6Just Joined!
- Join Date
- Sep 2007
- Posts
- 32
I recently installed VIM, and while learning the tutorial, I tried editing the XF86Config file, it's telling me that it's a read only file and that I can't overwrite it.
- 09-27-2007 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,090
Go to a terminal and try this code:
If that doesn't work, repeat the code with su -Code:su vim /etc/X11/xorg.conf
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-28-2007 #8Just Joined!
- Join Date
- Sep 2007
- Posts
- 32
Ah alright that did the trick in order to edit the files, however I still have the monitor problem about being everything shifted over whenever I'm in the 1280 x 1024 resolution, even though I inputted the correct horizontal/vertical refresh rates.
Also another question, how do I gain root privileges so I can save my .tar.bz2/.tar.gz into /usr/local/src/ ?
I tried saving some of the files into a /tmp folder, however whenever I try to unzip the files using tar -zxvf <filename> or tar -jxvf <filename> I just get "bash: syntax error near unexpected token 'newline' " (I did make sure to change the directory to where ever I downloaded the file at.
- 09-28-2007 #9
Your problem is not to do with permissions because everyone can read or write to /tmp. I would make sure that I am using the tar files you downloaded are not corrupt and that you are using the right syntax when issuing commands to extract them e.g. "tar zxvf" for tar.gz and "tar jxvf" for tar.bz2 files. As for switching to root, you use the "su" or "su -" command.


Reply With Quote
