LinuxQuestions.org
Help answer threads with 0 replies.
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 07-03-2012, 06:46 PM   #1
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Rep: Reputation: Disabled
xrandr in startup


My monitor works better after the following command:

xrandr -s 1280x1024 -r 75

I want this to be executed automatically whenever X windows starts. The command doesn't work in xinitrc. I have only been able to have it work in ~/.profile but clearly this is the wrong file to execute the command. Can someone please tell the proper place to put this command. Much appreciated.
 
Old 07-03-2012, 07:01 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Depends on what desktop environment or window manager you use, most have an autostart feature where you can run the command.
 
Old 07-03-2012, 09:18 PM   #3
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thanks

I appreciate the response. I am using LXDE. I tried adding:
@xrandr -s 1280x1024 -r 75
to:
/etc/xdg/lxsession/LXDE/autostart
to no avail. The refresh rate is the issue. Does anyone know where the refresh rate is initially configured? it seems like X would deal with this configuration. I believe I am using Xorg but I can't find anything within the xorg.conf.d files and I can't find any xorg.conf file
 
Old 07-04-2012, 03:19 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,730
Blog Entries: 27

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
Moderator Response

Moved: This thread is more suitable in <Linux-Newbie> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-04-2012, 03:57 PM   #5
Laertiades
Member
 
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59

Original Poster
Rep: Reputation: Disabled
solved

I fixed the problem by just adjusting the monitor settings in preferences from the start menu. So it was the desktop manager.
 
Old 07-04-2012, 04:01 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Nice that you have found a solution and posted it back here. Please mark this thread as solved using the thread tools at the top of the thread.
 
  


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
GUI for XrandR 1.2 10110111 Linux - Software 4 07-04-2010 08:26 AM
Xrandr Problem Libertes Linux - Newbie 19 02-06-2010 03:41 PM
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 05:48 AM
Help needed with Xrandr! drakeman007 Linux - Newbie 2 03-09-2009 08:26 AM
xrandr and others gone Beire Ubuntu 1 07-15-2005 06:51 AM


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