LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 03-15-2013, 06:08 PM   #1
vectrum
Member
 
Registered: Jul 2011
Posts: 59

Rep: Reputation: Disabled
I can't keep xrandr setting permanent as ~/.xprofile is not being read.


I can't make xrandr setting permanent.
I've created ~/.xprofile and, being root copy it to /etc/ and /etc/X11/xinit/. I've also appended xrandr setting in ~/.xinitrc but my slack14 suddenly stopped reading ~/.xprofile file.
The setting is xrandr -s 832x624 -r 75
It works only when I give it as a command.
Please help.
Thank you.

P.S I tried here http://www.linuxquestions.org/questi...d.php?t=707202 but couldn't
understand.
 
Old 03-16-2013, 12:57 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,206

Rep: Reputation: 229Reputation: 229Reputation: 229
I have experienced the same frustration. I have even tried written a script and placed it at /etc/rc.d/rc4.d (or even ini.d/) folders hoping init to catch it before loading the login screen but probably I needed more readings to have it work.

Having no such time I conceded to do it the dirty way by adding the lines into the /etc/profile, a place where slackware habitually goes after login. If your system has none you may try create one /etc/profile and get the luck if it is read after login.

The login screen is a bit ugly but when X loads the resolution is corrected to a pretty one. I did not want to put it ~/ because I wanted other users to enjoy the same resolution after the login.

Hope that helps.

Good luck.

Last edited by malekmustaq; 03-16-2013 at 12:58 PM.
 
Old 03-17-2013, 10:36 AM   #3
vectrum
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by malekmustaq View Post
I have experienced the same frustration. I have even tried written a script and placed it at /etc/rc.d/rc4.d (or even ini.d/) folders hoping init to catch it before loading the login screen but probably I needed more readings to have it work.

Having no such time I conceded to do it the dirty way by adding the lines into the /etc/profile, a place where slackware habitually goes after login. If your system has none you may try create one /etc/profile and get the luck if it is read after login.

The login screen is a bit ugly but when X loads the resolution is corrected to a pretty one. I did not want to put it ~/ because I wanted other users to enjoy the same resolution after the login.

Hope that helps.

Good luck.
Thank you for the suggestion. My problem's been solved but I don't know how .
I have put xrandr setting in ~/.xprofile and, yes dropped a line in .bash_profile.
It's suddenly started working.
According to general opinions that are available on W3, xrandr should go on .xprofile and let all the users set/customize it accordingly.

Thank you.
 
  


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
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 05:48 AM
Getting xprofile to work ... chexmix Slackware 9 02-27-2009 03:02 PM
Setting the xrandr setting permanently dazdaz Linux - Hardware 2 11-24-2005 01:57 AM
set permanent read-write permission on shares Randall Slack Linux - Networking 1 10-30-2005 08:54 PM
how do i make network setting permanent? taoweijia Linux - Newbie 3 02-22-2004 11:02 PM


All times are GMT -5. The time now is 06:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration