SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-02-02 14:48:46

wassm.
Member
Registered: 2009-09-06
Posts: 41

External Display does not save settings after logout/reboot

Hi,
i plugged in my external display-configured it with lxrandr/tried also with grandr, turned off netbooks display. Everything was just fine, but after logout/reboot, external display just mirrors the netbook resolution, shows no desktop picture. After setting it again, conky stays in the middle of the screen.

Is there any way to make this working fine?
Thanks


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

Help fund CrunchBang, donate to the project!

#2 2010-02-02 16:10:17

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: External Display does not save settings after logout/reboot

So, i did research here on forum, and here i found something:
http://crunchbanglinux.org/forums/topic … torsolved/

I added:

xrandr --output VGA --mode 1980x1020
xrandr --output LVDS --left-of VGA

to my autostart script, and resolution is saved after login/logout. Still the desktop is meesed up (wallpaper not shown properly, conky in the middle of the screen).

Abyone knows how to fix it?

P.S.Situation is the same with compositing or without it

Last edited by wassm. (2010-02-02 16:13:15)


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#3 2010-02-02 17:25:15

atomicbricks
#! CrunchBanger
From: Cambridge, MA, USA
Registered: 2010-01-12
Posts: 100

Re: External Display does not save settings after logout/reboot

I never did get my external monitor settings to be set up as I wanted them when I reboot. I added an xrandr line to autostart.sh which defines my external VGA monitor as off and my netbook resolution as I would want it if I were just using that screen.

Then, if I am connected to the external monitor, I use grandr to activate the external VGA monitor and deactive and netbook monitor. At that point, I also have to restart conky to get it set in the correct place (top right). I don't use wallpaper on my netbook, so I can't say anything about that.

My understanding is that I could put all of that into a script of some sort, and I can run it with a single command from the terminal, or I can link it to an entry in the Openbox menu. But, I'm not yet familiar enough to do that quickly, and haven't yet had the time and initiative to learn what i need to know to do it.

Offline

#4 2010-02-02 17:33:58

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: External Display does not save settings after logout/reboot

Well, i added these two lines to autostart.sh

xrandr --output VGA --mode 1366x768
xrandr --output LVDS --left-of VGA

After Reboot, or after starting Computer plugged in, now everything seems to be fine-even conky and wallpaper. Still, the problem with conky (same as by samoflange) and wallpaper remains after logout/login.

So, i suggest you only to add these two lines-with your screen resolution (if you have VGA Monitor).


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#5 2010-02-02 17:58:27

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: External Display does not save settings after logout/reboot

Yes, and i use after login volume icon. So i found here that i have to add new ppa:
http://crunchbanglinux.org/forums/topic/5757/lxandr/
I added, but i have no updates visable for tint2.


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#6 2010-02-02 18:10:37

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: External Display does not save settings after logout/reboot

After plugging/unplugging external monitor, also the netbooks display is a mess-i have to log out to make it nice-not such a big deal. But after plugging the external display (and login) it is a mess again. Did anyone succeed to make it work smooth?
Thanks


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#7 2010-02-02 19:34:56

atomicbricks
#! CrunchBanger
From: Cambridge, MA, USA
Registered: 2010-01-12
Posts: 100

Re: External Display does not save settings after logout/reboot

I'm not sure if this is what you mean by the netbook display being a mess when you plug in the external monitor, but whenever I have both my netbook display and external VGA display activated, the netbook display does not show the entire desktop. My guess is that the two displays are trying to match resolution... or something like that. The netbook (1024x600) shows only the top portion of the desktop, while the external monitor (1280x1024) shows everything. I haven't tried to figure this out because I haven't yet come to a time when I needed both displays activated.

Offline

#8 2010-02-02 22:03:42

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 218

Re: External Display does not save settings after logout/reboot

Dear wassm

Would you mind to check this thread - it solved my "similar" problem ...

http://crunchbanglinux.org/forums/topic/5757/lxandr/

Regards

Offline

#9 2010-02-04 20:36:17

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: External Display does not save settings after logout/reboot

So, my problem was-when i plugged in external display wallpaper was only partially visible, conky was in the middle, volume control icon was missing. After restart, although the external display is plugged in, it mirrors only netbook resolution. So i have to set it up manually. Again.

I am testing now mint 8 Fluxbox RC1-and here LXRandR 0.1.1 is making really great job-no login/logout needed-just plug in external display whenever you want, resolution is automatically adjusted, wallpapers, conky...-even after restart...


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#10 2011-04-27 10:18:10

Rubinski
Member
Registered: 2011-04-27
Posts: 16

Re: External Display does not save settings after logout/reboot

Hi good people of the #! world. I am a total noob but this post and the linked post got me sorted, just want to say thanks and post what I did and what my deal was encase other noobs have the same question.
Dunno how many others will be in this situation but I have a laptop with the screen broken off. I keep it plugged into my TV so I can watch movies/surf the web from the sofa. I could not get the damn thing to set itself to the right display setting so I edited the autostart.sh script (for fellow noobs this is done by right click, settings, openbox config, edit autostart.sh)
I added:
## Getting the damn screen sorted.
xrandr --output VGA1 --mode 1360x768 --output LVDS1 --off
pkill conky
(sleep 5s && conky) &
pkill volwheel
volwheel

It pays to check what your #! calls the screens on your machine. this is done by typing xrandr into a terminal window and it will tell you what name it gives your screens. This seems to vary. Here is mine:
rubinski@TVbox:~$ xrandr
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 4096 x 4096
LVDS1 connected (normal left inverted right x axis y axis)
   1024x768       60.0 +   85.0     75.0     70.1     60.0     43.5 
   832x624        74.6 
   800x600        85.1     72.2     75.0     60.3     56.2 
   640x480        85.0     72.8     75.0     59.9 
   720x400        85.0 
   640x400        85.1 
   640x350        85.1 
VGA1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 820mm x 460mm
   1360x768       59.8*+
   1280x768       59.9 
   1024x768       75.1     70.1     60.0 
   800x600        85.1     72.2     75.0     60.3     56.2 
   640x480        85.0     72.8     75.0     60.0 
DVI1 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)

LVDS1 is the broken off screen so that is why I turn it off.
VGA1 is my TV connection. I want it to native resolution so I set it to  1360x768
DVI1 there is none
TV1 there is none

Blam! all done. Sorry for those that read this and think it is aimed at retards but it is only my second post and it was damn satisfying to get this stuff working.
Rubinski

Offline

#11 2011-04-27 11:24:48

Erinsfan
#! CrunchBanger
From: At a terminal
Registered: 2011-01-28
Posts: 148

Re: External Display does not save settings after logout/reboot

@Rubinski - why kill a process then restart it? A simpler solution is to put the "xrandr --output VGA1 --mode 1360x768 --output LVDS1 --off" before either conky of volwheel are called for the first time.

Or, is there an issue I cannot spot?


Enjoying a good !#

Offline

#12 2011-05-03 10:32:20

Rubinski
Member
Registered: 2011-04-27
Posts: 16

Re: External Display does not save settings after logout/reboot

@Erinsfan - ha-ha cause I don't know any better. Removed the earlier calls and changed to:
## Getting the damn screen sorted.
xrandr --output VGA1 --mode 1360x768 --output LVDS1 --off
(sleep 5s && conky) &
volwheel

## Start Clipboard manager
(sleep 3s && parcellite) &

If you never see me again you will know why smile

Ok so the vol wheel needs the brackets and sleep stuff too. I dunno what that is all about. I suppose I should investigate smile

It now looks like:
## Getting the damn screen sorted.
xrandr --output VGA1 --mode 1360x768 --output LVDS1 --off
(sleep 5s && conky) &
(sleep 3s && volumeicon)

## Start Clipboard manager
(sleep 3s && parcellite) &

Now sorted smile

Last edited by Rubinski (2011-05-04 07:13:21)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo