LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-14-2016, 11:08 AM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Rep: Reputation: 30
External Monitor in LXDE Desktop Environment for Debian Stable


Hi.
I have installed the latest Debian Stable version last week. I'm using the LXDE environment. My main problem is:

I am using an old netbook/laptop with a small screen. So, to improve thing I attached an external Dell monitor to it though the VGA port. After connecting the cable to the port, I go to Menu -> Preferences -> Monitor Configuration. In the pop up window I choose the option: Turn off the laptop LCD and use only the external monitor. Then, I click APPLY, then, SAVE.

The problem is that everytime I restart the laptop the login screen appears only in the laptop and I have to do everything mentioned above again! Not only that, most of the times I need to disconnect the VGA cable for things to work properly while the login screen is up.

How can I solve this problem?
Thank you.

P.S.: Laptop is a LG model X140.

Last edited by doraimom; 09-14-2016 at 11:19 AM.
 
Old 09-14-2016, 02:33 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I'm not sure precisely how to do in in LXDE, but I know how to do it in XFCE4. My solution is to use arandr to set up my desired multi-monitor configuration and save it to a bash script file. Then I go to the Sessions and Startup settings in XFCE4 to add that bash script file to the list of startup things.

I also insert the line "sleep 4" in this script to ensure it waits a while before running. XFCE4 can get confused if another program is redefining the xrandr settings at the same time it is.

With XFCE4, though, no such scripting is required for your case. By default, XFCE4's built in display settings remember which monitors you want to be active, and the resolution. If you only want one monitor active, then that's good enough. Unfortunately, it's not good enough for a typical multi-monitor setup because the XFCE4 display wizard only allows overlapping screens (all sharing the same top left corner).
 
Old 09-14-2016, 02:49 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You may be able to disable the screen at KMS level with kernel command line switch. I had a box once that defaulted to non-existing output, kernel command line allows for enabling and disabling outputs at your will. Duckduck ...
 
Old 09-14-2016, 02:56 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
OK, here's what Duckduck gave: https://www.osadl.org/Single-View.11...38a7b3b.0.html

Check out the section about disabling/enabling connectors.
 
  


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
LXer: Lubuntu 15.10 Alpha 2 Is Ready for Download, Still Using the LXDE Desktop Environment LXer Syndicated Linux News 0 07-30-2015 08:22 PM
[SOLVED] Most stable desktop environment on Debian tyko Linux - Newbie 8 03-01-2014 10:23 AM
[SOLVED] Problem with LXDE desktop environment on Ubuntu 12.10 teboil12 Linux - Software 8 12-12-2012 09:32 AM
LXer: LXDE - Light Weight Desktop Environment for openSUSE Linux LXer Syndicated Linux News 0 08-11-2008 08:21 PM
LXer: LXDE - Lightweight X11 Desktop Environment for Ubuntu LXer Syndicated Linux News 0 07-06-2008 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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