LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: 92

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,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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: 92

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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