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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-03-2012, 06:46 PM
|
#1
|
Member
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59
Rep: 
|
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.
|
|
|
07-03-2012, 07:01 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Depends on what desktop environment or window manager you use, most have an autostart feature where you can run the command.
|
|
|
07-03-2012, 09:18 PM
|
#3
|
Member
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59
Original Poster
Rep: 
|
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
|
|
|
07-04-2012, 03:19 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,976
|
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.
|
|
|
07-04-2012, 03:57 PM
|
#5
|
Member
Registered: Jul 2012
Location: Pacific Northwest
Distribution: Arch
Posts: 59
Original Poster
Rep: 
|
solved
I fixed the problem by just adjusting the monitor settings in preferences from the start menu. So it was the desktop manager.
|
|
|
07-04-2012, 04:01 PM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
All times are GMT -5. The time now is 07:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|