Slackware :: Automating Xorg RandR Turning Laptop Screen Off If External Monitor Is Connected?

Jan 2, 2010

I have a netbook (Acer Aspire One) I'm running Slackware 13. and usually, I prefer to connect an external monitor. When I switch my machine on with the monitor connected, the display is duplicated on both screens and since I just want the netbook's screen to be off and only see the display on the external monitor, I can doxrandr --output LVDS --off

Great! However, it's a hassle to do this every time I log in and I'd like to automate the process if possible. I did some googling and I found that if you want to automate xrandr commands, you can put a script in /etc/X11/Xsession.d/ (see this). I wrote the following script to automate my xrandr commands and since the Xsession.d directory didn't exist, I tried creating it. The script was called 45custom-xrandr_settings, as the one on the RandR wiki is called the same.

Code:
#!/bin/bash
# Check whether the external monitor is connected

[code]...

View 5 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Black Screen On Laptop's External Monitor When Specifying Vesa Driver In Xorg

Jan 16, 2010

I have an Asus z9100 laptop with an Intel 855GM integrated graphics chip, which is running Karmic (the purpose of the laptop is to be a MythTV frontend so my understanding is that it needs to run 9.x in order to connect to the MythTV 0.22 backend - I have installed and configured this using the installable Mythbuntu package) and the laptop is subject to this bug which causes random freezes:

[URL]

So, following advice for similar freezes I've seen, I have added the following options to my grub menu.lst on the kernel line:

nolapic nomodeset

and I have edited xorg.conf so that it makes use of the vesa driver instead of the Intel driver. This results in no freezes and if I wanted to watch Myth on the laptop screen I'd be squared away. However, the laptop has a damaged screen so the point was always to output the signal to an external monitor via its VGA out.

When I attach the external monitor and boot with the setup as described, the external monitor is never detected. But I noticed that if I remove the "nolapic nomodeset" from the kernel boot line, it is detected. However, signal is only output to it during the earliest part of boot (when the Ubuntu logo is in the center of the screen before the full-screen graphic with the animated progress line), after which the external monitor goes black and all the display output goes to the laptop screen. The external monitor power button is still lit up green as if it has been detected and is receiving signal, but it's just a black screen.

get the signal out to the external monitor after the initial part of the boot process, using the vesa driver? Here is the current state of my xorg.conf:

Code:
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
EndSection

[Code].....

View 2 Replies View Related

Fedora :: External Monitor Won't Work - Both Monitor And Laptop Screen Black

Aug 7, 2011

I am having problems getting my external monitor to work. When I plug in the monitor, both the laptop screen and the external monitor go black. When I unplug the monitor, the laptop screen works again.
When I startup with the external monitor plugged in, neither screen works or teh computer hangs or something.

I have had the external monitor going on a couple of occasions. I did manage to configure my monitors through System Settings > Display. I turned off the laptop monitor as I just want to use the external. But after rebooting, things didn't work.

I have a Thinkpad E420, Fedora 15

View 14 Replies View Related

Slackware :: How To Configure External Monitor In Laptop

Sep 6, 2010

I have slackware 13.1 installed on my laptop and use kde.I just bought a new external monitor 1680 X 1050. The laptop's monitor is 1280 X 800. From KDE i configured laptop's screen to be inactive and the external monitor at resolution 1680 X 1050. When i boot and enter KDE both monitors are activated, ican't understand their resolution. Then, just when i enter system configuration-monitor-monitor configuration the laptop's monitor automaticly turns off. Then i configure the external to 1680 X 1050 resolution. This happens every time i have to enter slackware. How to setup my xorg.conf file. You can see it below:

[Code]...

View 14 Replies View Related

Ubuntu :: Xorg.conf And External Monitor - Resolution Seems To Be Slightly Off As The Outer Edges Of Screen Are Cut Off

Sep 24, 2010

I have Ubuntu (running Jolicloud) on my HP dv2000 laptop, connected to my Sony AV Receiver through HDMI to use the TV as an external monitor. However, the resolution seems to be slightly off as the outer edges of the screen are cut off. Is there a way to fix this by editing the xorg.conf file? My current setup is below. I tried adding the line "Virtual 1244 700" to the subsection "display", but when I restarted it threw me into low graphics mode. Is there anything else I can try?

I also tried setting up the resolution at 1920x1080 on the TV and kept the default resolution on the monitor as 1280x800, and as you would expect displays the entire desktop in a smaller version on part of the tv. However, the desktop is still offset, leaving the top and left margins cut off. So, perhaps I need a way to offset the screen? Is this possible in xorg.conf?

View 8 Replies View Related

Ubuntu :: No Picture On Laptop Screen, Only On External Monitor?

Jul 3, 2010

The laptop is a samsung X30 and i spent days trying to install ubuntu 10.04 unsuccesfully as there was no clear picture on the screen, just a black and purple splodge. I then saw a post on these forums discussing the default resolution of ubuntu and how it is incompatible with some machines so via VGA cable i connected it to my TV and sure enough i could see what was going on and finished the installation process. I assumed that once ubuntu was fully installed i would be able to change the resolution using the monitor preferences but none of them worked. I am now faced with the problem that unless plugged into the TV i have no picture on my laptop, does anyone know why my laptop screen wont work with ubuntu and how

View 2 Replies View Related

Debian Hardware :: Laptop Screen Goes Blank With External Monitor

Mar 28, 2016

I am running Debian 8.3, and I'm running Gnome 3.14.1.I have an external monitor plugged in with HDMI, and while Linux is loading both screens are on duplicate. Once the GUI kicks in, only the external screen works, so I have to enter my password blindly. Then, I open a terminal and run

Code: Select allsudo echo 950 > /sys/class/backlight/intel_backlight/brightness

and the laptop screen turns back on.

I'm wondering: Is there a way to streamline this so that it happens on boot, but after GNOME loads?Or: Is there a better method to solve this?

View 1 Replies View Related

Ubuntu :: System Only Shows On External Monitor - Not Laptop Screen / Fix This?

Jul 2, 2010

I'm a new user and recently installed ubuntu on an old samsung laptop, during the installation process i couldnt see anything on the screen and came to the conclusion that ubuntu's default resolution was different to that of the laptop screen so i plugged it into my TV and sure enough it worked however i still only have a picture on the tv, ive tried all the resolutions available in the 'monitors' box but nothing, does anyone know how to fix this?

View 1 Replies View Related

General :: Installing Into A Laptop With Non Working Screen Using A External Monitor?

May 10, 2011

I have an HP Pavilion dv9000 which I would like to use completely with any Linux OS. I have tried to install Linux Ubuntu 10.04.1 but it appears that it doesn't recognize the external monitor and ends the installation. I have a clean hard drive that I could install but I do not know which of the two drives I should replace. I can only get into windows in safe mode and I would think this may have something to do with the problem, don't no.

View 2 Replies View Related

General :: Xorg DPMS Off: Keep VT From Turning Screen Back On

Mar 19, 2010

I have an embedded board with a small UPS. When AC power goes down, I need to turn off all power hungry devices in order to have a clean shutdown. First thing I do, is set DPMS to force powerdown, then go through the usual SIGTERM/SIGKILL/umount sequence. I have an Intel i915 Display adapter connected to an LVDS LCD panel.

Unfortunately, when Xorg dies, Xserver or the VT code turn the LCD panel back on.

I even tried working around it by directly poking the panel enable register in the Display chip, so that X doesn't know about it, but the panel goes back on when the VT comes back.

Is there any "legal" way of keeping the display off?

View 2 Replies View Related

Fedora Hardware :: External Monitor Not Detected - Dell Laptop - Monitor

Aug 17, 2011

My software and hardware information are as follows. I have Fedora 12 and KDE 4.4.5 installed on a Dell Vostro 1500 laptop. I believe it's a 64 bit processor; it's an Intel Core 2 Duo CPU. The external monitor is a Dell as well.

My problem is that my system does not seem to be detecting an external monitor that I have connected. Everything else is working just fine; however, I would like to have the option of attaching an external monitor. When I plug the external monitor into the laptop, the external monitor remains black and appears to be in power save mode. The results of xrandr -q (with or without the external monitor attached: it doesn't appear to change) are as follows.

Code:

How can I get my laptop to recognize that the external monitor is even connected? Let me know if I can be more specific or provide additional details.

View 5 Replies View Related

Debian Hardware :: External Monitor As The Main Monitor For A Laptop

Sep 22, 2010

I recently installed Debian, using the amd64 Network Install .iso. I'm using XFCE4 as my desktop environment, and everything is working well... on my laptop's screen.

My desired setup is to have my laptop sitting on a well-ventilated shelf, closed, and to have an external monitor be my main monitor. I want this because I'm using my laptop as my "home" computer, so it never moves, and I don't like the keyboard/trackpad. My laptop has a VGA output, and I can get my desired setup on my Windows partition (not stating a preference ; just that the hardware CAN do what I want it to).

I've been working my way around the Internet for a few days, now, and I've got the commercial NVIDIA driver installed. If I run sudo nvidia-config --twinview I can get my external monitor to be part of the display, which is great, but it's part of a dual-screen monitor setup, which is not what I want at all, because (a) XFCE's multiple virtual desktops are good enough for me and (b) my graphics card is integrated, and I'm trying to squeeze every drop of performance out of my laptop that I can (1 gig of RAM; the less that my graphics card eats into it, the better). Plus, it'd be annoying to accidentally drop something on my laptop's screen, and then have to dig it out of the shelf in order to undo it. I'm not saying that I'm consistently clumsy, but I'd eventually end up doing it.

View 2 Replies View Related

General :: Xorg Configuration For External Monitor?

Oct 15, 2010

A few days ago I installed browserlinux onto my AspireOne netbook whilst connected to a 15" external monitor of 1024x768 at 60Hz. During installation I ran the Puppy Xorg Wizard with the netbook's monitor (1024x600) switched off. It selected the optimum resolution of my external monitor correctly as 1024x768 and the 'intel' driver for the Intel 945 Express chipset. However when I ran programs and maximised their windows they would cut off about a third from the bottom. I ran the Xorg Resolution Wizard which showed a resolution of 1024x600 despite xorg.conf only showing an option of 1024x768. I tried to copy a xorg.conf from Linpus (Fedora 8) which had required some altering in the past to run the external monitor at the correct resolution but X failed to start (possibly because Xorg in browserlinux is a newer release). Would it be possible for someone to upload a xorg.conf file which would enable display the external monitor at the correct resolution (and ideally allow switching between the two monitors - under Linpus the hotkey is Fn + 4) or suggest alterations to the current file?

[Code]...

View 7 Replies View Related

General :: Ubuntu - Run A Script When An External Monitor Is Connected?

May 2, 2011

How can I detect when an external monitor is connected in linux? I need to run various scripts to set up my workspace. Is there some clever way to kick off a script when the monitor state has changed? I'm using the Nvidia display driver.

View 3 Replies View Related

Ubuntu :: Check Via Terminal If External Monitor Is Connected?

Apr 20, 2010

Ive been wondering about an alternative method for checking to see if an external monitor is connected.
Currently I am using:

Code:
#!/bin/bash
EXTERN=VGA1
if $(xrandr --prop |grep -q "$EXTERN connected");then
echo -e "$(echo $EXTERN | tr -d [0-9]) is e[1;32mconnectede[0m"
else

[Code].....

So, what I am asking is, is there a way to ignore/over-ride compiz's texture size check, a different way to query xrandr, or is there a completely different method I can go about checking if an external monitor is connected?

View 3 Replies View Related

Ubuntu :: Toshiba Laptop - Hardware - Screen Goes Blank After Few Seconds - From Turning On

Sep 16, 2010

I'd like your input on this. A toshiba laptop screen goes blank after few seconds(from turning on).

At first i thought it was fan that was out and once it got hot enough it cut the laptop off like my old Acer did.

But after close examination i noticed that it continues working. HD still spining and fan blows..

Example: Turn on>Hit F2 to go in to Bios> Bios screen appears>Before i have a chance to do anything it geos blank but continues working> I hit Cntrl ALt Del> it resets and screen comes right back up>second later it goes blank again.

ALSO the toshiba logo and whole screen seems to have a red tint to it.

I also get a media test error but that is likely from hard drive not being there during some of the tests.

DO you think it can be an LCD Backlight issue? or possibly video card?

View 5 Replies View Related

Ubuntu Installation :: Meerkat Won't Boot With External Monitor Connected?

Oct 30, 2010

Have a Dell Studio XPS with 64 bit Meerkat on it. Whenever I connect my Samsung external monitor by displayport/dvi ubuntu no longer boots. Machine unresponsive and have to cut power and disconnect it. :/

Sounds exactly like this bug, no? [URL] Except for the fact I have ATI video card and the restricted drivers (with Catalyst control center, although it is useless).

Code:
02:00.0 VGA compatible controller: ATI Technologies Inc Madison [Mobility Radeon HD 5000 Series] Win7 install works fine.

View 2 Replies View Related

Ubuntu :: Setting The Resolution For A Monitor Connected To Laptop

Jul 16, 2010

I have connected to the VGA output of my laptop a 19" monitor. I setted in Ubuntu the resolution for that monitor to 1280x1024.

Two days ago i connected the laptop to a projector. When Ubuntu detected the projector it ask me for my user password to change "i dont know what".

After using the projector I have connected the laptop to the 19" monitor again. Now I can not set the resolution for the monitor to 1280x1024 (that resolution doesn't appear in the list)....

View 6 Replies View Related

Slackware :: Screen Keeps Turning Off After 10 Minutes?

Apr 27, 2010

I have actually done a bit of searching on this, but the suggested solutions either don't work or are not applicable to my setup.First, I changed the setterm link in /etc/rc.d/rc.M to be setterm -blank 0 -powersave off -powerdown 0and have xset s off in my fluxbox startup file.Nevertheless, the screen goes blank after 10 minutes. I can't figure out what is causing it and how to stop it.

View 12 Replies View Related

Ubuntu :: External - Surround Speakers Connected To Laptop Not Working / Solution For This?

Oct 28, 2009

Im using Ubuntu 9.04 in my acer aspire 6930 laptop. Inbuilt speakers in my laptop is working, however the external or surround speaker system say 2.1 connected to my laptop is not working.. i just want to know possible solutions for this challenge..

View 4 Replies View Related

Slackware :: TV - MONITOR 26 And Xorg.conf ?

Jun 9, 2011

I bought a very beaultiful pink tv-monitor 26", model LG26LED6500 for my daughter and I also intend to enjoy it setting up in my slackware 13.37. Then I use a VGA cable and 6600GT nvidia card, but now I'm having a doubt because there aren't vertical and horizontal frequencies specs in this manual. Only:

I did a xorg.conf using a vesa driver and kde screen output was a 1024x768 - 61hz.

If I try to use a nvidia driver and xorg.conf piece above X break down. If I use any manual frequency parameters X break down too.

1)What's the difference between CRT config and tv-monitor xorg?

2)Have I use strings modeline monitor and modes screen in this situation?

View 3 Replies View Related

Slackware :: Getting Xorg.conf To Match Monitor

Jan 5, 2010

I am using a AOC 19" LCD on a system with an on board Nvidia GeForce 4 MX and I cannot get X to start with 1280x1024, the max for the monitor.

Here is the sections for xorg.conf

It always defaults to 160x1200, which the monitor proclaims "Out of Range" and I have to in through Display Setings to set to 1280x1024. What do I need to put in xorg.conf to default to 1280x1024.

View 6 Replies View Related

Slackware :: Usb Mouse Connected To A Laptop Is Completely Non-responsive ?

Oct 19, 2010

I installed slackware 13.1 lately to a laptop. its a toshiba satellite m40 185 if it makes any difference. In any case, and while the touchpad works flawlessly, connecting a standard USB mouse to the pc does not power up the mouse (its a microsoft notebook optical mouse) and of course the mouse pointer does not follow the mouse's moves... no clicks either.

Basically when I do

Quote:

I don't see junk printed on my terminal, whereas moving around the touchpad I do see some.

Just to clarify, It's not just X that is not working, gpm doesn't get mouse moves from the usb mouse either (touchscreen works flawlessly in console too).

my xorg.conf looks like:

Quote:

I added the last 2 options after following this guide, which seems to cover concurrent read-in from more than 1 pointing devices.

All the other guides I found assume that you have a working gpm.

One question is: since with the new radeon drivers the xorg.conf file can be missing altogether and X will not cry, does it make any difference to add mouse options in xorg.conf?

Continuing my thought: it must be something else. Kernel doesn't seem to be the problem. The USB subsystem works since usb mass storage devices (that's all I have sitting around) are sensed by the kernel and udev properly. Additionally, the problem persists with the huge kernel.

Before slackware, I used to run fedora on the laptop and both pointing devices worked properly, however I think fedora uses another method of setting up the X server devices..

View 4 Replies View Related

Ubuntu Installation :: 9.04 Install On Laptop With External Monitor

Feb 15, 2011

I have been using Ubuntu for a while now on my netbook, however I have an older HP dv5 laptop that hasn't been used in a couple of years that I would like to format and install a linux distro on. Problem is that it has a very broken LCD screen and I had been previously using an external monitor with it. I had tried to install Ubuntu 9.04 on it at one point but could not progress very far into the installation due to the external monitor. I had also tried using the non-graphical installer but had little success with it as well.

I had thought of removing the HDD from the laptop and putting it into another of my laptops and installing it that way, but the specs are different between the two laptops and I figured that it would not work properly once the HDD was switched back to the older laptop. Is there any way to use an external monitor to install a newer version of Ubuntu? or perhaps is there another distro that is easily installed using an external monitor? My plan is to eventually remove the broken screen all together and only have the external monitor connected, the broken screen is a bit unsightly.

View 2 Replies View Related

Ubuntu :: Switch Between Laptop Display And External Monitor?

Mar 1, 2011

I am looking for a way to switch quickly and easily between my Laptop Display and my External Monitor, in Windows I had it configured so that when I plugged my Monitor in it would switch to that and when I removed it it would switch back to Laptop Display. From what I have tried it looks like this isn't possible with Linux, but I would like to get to the stage when I can click an icon to switch (or 1 to go to External and 1 to go to Laptop) My Laptop has an ATI Mobility Radeon HD 4500 Series Graphics Card and I have so far noticed the following issues.

1. If I use the Gnome Monitors instead of ATI Catalist Control Centre it seams to cause some strange issues include confusing Linux on what the max screen res supported by my External Monitor is.

2. When I try and enable/Disable either Display or change Resolution, I am told that I have to reboot before the changes take affect.

View 2 Replies View Related

General :: Xorg.conf Wide Screen Lcd Monitor

Aug 4, 2009

I am using Linux 2.6.29-020629-generic #020629 SMP Tue Mar 24 12:03:21 UTC 2009 i686 GNU/Linux ubuntu.

I have a widescreen lcd laptop and the current resolution is set at 1280x768 pls see output of xrandr here for more information [url]

I want to change the resolution to 1024x768. I can do in ubuntu' display tool. The problem is that once I change it, the output does not take up the whole screen it has blank spots on the left and right side

For a better understanding please have a look at [url] and [url]

In open suse the system sets it at 1024x768 without any blanks on the left and right corner. You can have a look at it here [url].

My current xorg.conf is details is at [url].

Please also find my xorg.0.log at [url]

The lcd does not have any controls to tweak.

View 3 Replies View Related

Ubuntu :: Unable To Connect An External Monitor To Laptop Running 10.04?

May 13, 2010

I've been unable to connect an external monitor to my laptop running 10.04, even though the resolution and framerate are right. The monitor says something like "unsupported video settings".

In other news, I put the live cd into another computer which relies on a monitor and after the very first screen with the two logos at the bottom, the monitor decides to go to sleep. I try with another monitor and it just seems to have to feed. This is the more important problem, but I wonder if there isn't some built-in problem with 10.04.

View 2 Replies View Related

Ubuntu :: Switch Display To External Monitor With Laptop Lid Closed?

Dec 23, 2010

I don't know if it sounds weird but I've been trying for weeks with no result. I want to plug my external monitor through my laptop's vga plug, close the lid and work on my monitor instead of the laptop's monitor. I looked through the gnome power management settings and when the laptop lid is closed it can only suspend, blank screen, hibernate or shutdown. I can plug my monitor and I have clone displays and it works fine but I can' find a way to shutdown the laptop screen without shutting down the vga outlet. Its a brand new Acer aspire 5734Z with a 15,6 inches screen (wich is why I want to plug in my 19 inches monitor and work on bigger screen)

View 3 Replies View Related

General :: Backtrack Playing Video On External Monitor For Laptop

Jun 11, 2010

I've got a laptop running Backtrack4 and an external tv/monitor. Is there a program/command/configuration file that I can use to allow my laptop and monitor to connect with one another via HDMI?

View 1 Replies View Related

Software :: Span Desktop So That Some Portion Is On Laptop And Some On External Monitor

Jul 7, 2010

I am having a Dell ST2410 LCD and a laptop IBM.I want to span my desktop so that some portion is on laptop and some on external monitor. I tried xdmx but it did not worked.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved