Ubuntu :: Launch A Script When A Display Is Connected?

Aug 8, 2010

I am currently thinking about buying a new computer; it is supposed to be a server kind of thing, at least most of the time. So basic HTTP, SQL I want it to run all day 24/7... but after looking for a good PC I got a idea... since any new PC supports HD Video and all I thought why not add something like Boxee to my little server... but then I thought it don't have to run Boxee all the time and the graphical user interface only needs to run when Boxee wants to run or dont I not need the XServer to run and display Boxee? Anyways Boxee should only lunch when a Display aka HD TV is connected and also turned on.

So my question is that even possible? To lunch a script if a TV is turned on and than start the XServer and Boxee (or some other Media Browser) with it or if not is there a workaround like some key combination or signal (power button on a remote control) that can lunch that script? And is there a script that will do this?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Check If Connected Then Launch App?

Apr 16, 2011

Well, i have some applications that i use everyday so i add them to the startup applications, but they require Internet, otherwise the configuration is lost. I'll like a command that first check if i'm connected to Internet and if i am, launch the app. If not, don't do nothing.

This is a problem because for some reason everytime i turn on my laptop the wireless adapter doesn't turn on automatically (it always did when i was running windows).

View 4 Replies View Related

Debian :: Error: Cannot Open Display: 0 When Trying To Launch Firefox

Sep 8, 2010

So I just installed 32-bit Squeeze. I've done exactly two things since booting into the first install: pt-get install gtk+2.0, and ./firefox, so unless gtk did something, this might be an easily fixable problem with Debian itself. After installing gtk and trying to run firefox via command line, it tells me

Code: Error: cannot open display: :0 I googled a bit and couldn't come up with a solid solution, but the problem seems to be around other places. Any idea how to fix this?

View 2 Replies View Related

Ubuntu Multimedia :: Check If Display Device Is Connected?

Feb 10, 2010

I am trying to write a script to turn my HTPC off automatically and turn it back on again at a specified interval.

I've got the turn on off bit sorted using /sys/class/rtc/rtc0/wakealarm but I want the script to not turn the machine off if say something is downloading, I am currently watching something etc and i dont think I will have any trouble with that.

But what I would really like to be able to do is tell if my TV is currently on. I dont think anything x11 related would work here and this may not even be possible. Does Ubuntu "know" if it's display device is powered on or not? if so can I interrogate this somehow?

View 5 Replies View Related

OpenSUSE :: Kinternet Doesn't Display Application Launch / Resolve This?

Mar 17, 2011

I recently installed kinternet from a repository and when I enter Menu -> Applications -> Internet, there is no kinternet application.

I need this, to display the icon in the tray bar, so I can see if Internet is connected or not, and if it isn't I connect clicking on the icon.

View 6 Replies View Related

General :: Display User's Last Login Information When Connected Through FTP?

Apr 11, 2011

I want the last login information whenever I log in through FTP.

This is possible for normal console and SSH logins by configuring in /etc/login.defs file. But I am not able to view the last login information when FTP is used.

View 5 Replies View Related

Software :: Display Some Advertisements On Big Screen Connected To PC In One Shop?

Sep 13, 2010

Do you know any software or any way that helps to displaying some advertisements (multimedia ones, like video, images and sound also) on a big screen connected to PC in one shop?
I am new on linux.

View 2 Replies View Related

Debian Hardware :: Failed To Assign Any Connected Display Devices

Jun 8, 2015

Had this strange issue ....

Steps
a. Working Gnome desktop with NVidia proprietary drivers in Jessie.
b. Something happened (see below)
c. Still working Gnome desktop with NVidia proprietary drivers in Jessie.
d. Reboot
e. Boot up in low res -can see the terminal messages but no X/ Gnome Desktop
f. CtrlAlt-F1 takes to terminal login
g. Log in, looked at dmesg, syslog shows no errors but looking at Xorg.[0-5].log shows:

Code: Select all[     7.942] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[     7.943] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at PCI:1:0:0 (GPU-0)
[     7.943] (--) NVIDIA(0): Memory: 1048576 kBytes
[     7.943] (--) NVIDIA(0): VideoBIOS: 70.15.27.00.00
[     7.943] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     7.945] (--) NVIDIA(0): Valid display device(s) on GeForce GT 240 at PCI:1:0:0

[Code] ...

After looking at this post [URL] .... poked around at the back of the monitor and found the DVI cable loose. Plugged it in tight and rebooted and Gnome desktop came up as good as ever.

Step b. , as it turns out, was someone had adjusted the monitor height resulting in the DVI cable coming loose but not getting pulled out entirely.

View 0 Replies View Related

Hardware :: Display Settings Hosed If Second Monitor Is Connected On Boot-up

May 5, 2011

I'm trying to get my secondary display (DVI-Out) working on a laptop (built-in monitor & external display) and I'm afraid I made quite the mess of it installing the proprietary driver only to learn that my old ATI card is no longer supported and having to clean that up and reinstall the original distro driver!Anyways, I reverted back to the open source driver and all is ok. That is until I reboot. If I reboot with the DVI display connected then both displays are brought up in 640x480 res and look terrible.

What do I have to do to be able to leave my DVI display connected when I start up the machine and get it to render the way it does when I plug in the display after the machine is running?I suspect I need to create an xorg.conf file but these fancy modern Linuxes these days don't come with one (or maybe they no longer need it anymore).

View 2 Replies View Related

General :: Change Virtual Screen Resolution On Ubuntu (connecting Via VNC Without Real Display Connected)?

Aug 29, 2010

I have an Ubuntu server with no physical access to it, only via ssh/vnc.

It is stuck on a 1680x1050 resolution and in the system display settings the menus are disabled since there is no detected real display connected.

I need to lower the resolution to e.g. 800x600. code...

View 3 Replies View Related

Debian Hardware :: Get Vga Display Connected Notebook Mainboard Show Screen?

Nov 10, 2015

I know about ubuntu. Not debian.I have installed debian 8 64bit on a notebook mainboard vga display only.During installation vga display worked. After restarting the lock up crypt hdd shows. After that debian login screen should show. It does not. Only the pointer shows.If I put the hdd in another note book, the debian login screen shows on the notebook's display. I then connect the vga display.

Then I can select settings, displays and mirror debian gui and gui will show on both displays. After restarting the notebook both displays show the debian gui. If I then put the hdd into the notebook mainboard, then the vga display will not show the debian login screen. The pointer shows. On ubuntu settings, displays, general option, I can set all displays. That option is not in debian 8. How do I get debian 8 to show the debian 8 login screen on the notebook mainboard vga display only computer?

View 3 Replies View Related

OpenSUSE Network :: Connected To Internet And Also Connected Pcs Might Want To Use Internet?

Aug 21, 2010

I want to set a up a network of inter connected pcs, for example on pc A linux is installed.now pcs B, C , D, etc should connect to A and do there work, for example A want to do C/C++, development, whereas B wants to do some PERL development or whatever, this is just an example, 2 different pc users might do same work also, and the connecting pcs may have Windows or linux or bsd.OSes now what h/w or s/w is required and what steps are required to set up this network, main pc would be connected to internet and also connected pcs might want to use internet also..have installed opensuse edulife , and use this as PC A for testing.. and I use bridged dsl Broadband connection to connect to internet , by the username and password provided by the ISP, in windows its easy to setup this connection, however not able to do on linux,

View 9 Replies View Related

Ubuntu :: HD4870 Dual Display - Cannot Seem To Swap My Primary Display

Jan 8, 2010

Hi I am new to ubuntu and am having major problems setting my displays up. my setup is a hd TV to the Left of my pc monitor, i have managed to configure catalyst to let me have a main display with the second display being an extension of the first, the problem is i cannot seem to swap my primary display, at the minute my HDTV has all the taskbars and everything on it while my pc monitor is just a blank background, i would like it so i could start a film playing for my children, then drag it across to the HDTV while i can still use my pc in the background.

View 1 Replies View Related

Ubuntu :: Display Driver - Cannot Get Display Settings Nvidia7600GS?

Jan 28, 2010

I am using GeForce 7600 GSNot using the Nvidia X driver message you know... I searched all over, and seen this problem on many searches but no resolve issues.I want to be able to connect my tv, I use to be able to when I first installed Ubuntu and now IdK.

View 3 Replies View Related

OpenSUSE :: 11.4 Gnome 2.3 Display - CRTC Error That The Display Is Over The Maximum - 1920x1920

Apr 16, 2011

I have a fresh install of OpenSUSE 11.4 64bit and I have installed the AMD Display drivers for my Radeon HD 5970. Everything seems to be working quite well. I have a multiple monitor setup (1280x1024 monitor and a 1920x1080 monitor).

I have my primary display set to 1920x1080, however when I try to enable the second display, I get a CRTC error that the display is over the maximum (1920x1920). If I enable both monitors at lower resolutions, there is no problem.

I have done a fair bit of reading and have been unable to determine where this maximum is set, or how to change it. I'd like to be able to run both monitors at their native resolutions.

View 3 Replies View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

Fedora :: System-config-display Just Ruined Display?

Jun 29, 2010

I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?

View 14 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related

Fedora :: Display All Disks And Partitions Available In A GUI Display

Dec 1, 2010

I have installed Fedora 14 Security Spin, and want to display all disks & partitions available in a GUI display. How can I achieve that?

View 1 Replies View Related

Ubuntu Networking :: Set Display And Xhost: Unable To Open Display "XXX.XXX.X.XXX:0.0"

Jul 20, 2011

I have configured an instance in AWS EC2. I am trying to set the display back so I can run x apps. I login using ssh -xy -i...

export DISPLAY=XXX.XXX.X.XXX:0.0
echo $DISPLAY to verify
xhost +
xhost: unable to open display "XXX.XXX.X.XXX:0.0"

I have commented out nolisten tcp as suggested HERE I have modified /etc/gdm/custom.conf as suggested HERE Actually, the last suggested modifying /etc/gdm/gdm.conf, but that file didn't exist, so I added the line: DisallowTCP=false to /etc/gdm/custom.conf I rebooted, and still I get: xhost: unable to open display "XXX.XXX.X.XXX:0.0"

View 2 Replies View Related

Programming :: HTML5 "details" Tag Display - Inline - Display - Hidden CSS Ignored - Firefox - Seamonkey

Jan 11, 2011

I'm testing HTML5 for the first time, using Firefox (beta) 4.0b8 and SeaMonkey (beta) 2.1b1, and its ignoring some CSS. Specifically, I have problems with the <details> tag. (It is nested in a paragraph...I am using it to provide an in-paragraph definition in hopes it can be toggled.)

Firefox only partly supports <details>. It's not supposed to show anything except the content of <summary>, unless you click on <summary>'s content. Instead, it puts a line break before the content of <details>, splitting the paragraph in two peices (which looks silly), without the "closed/open" functionality.

So I tried using "display:inline" in my CSS, but that gets ignored. Just for fun, I also tried "display:hidden" (also ignored) and "display:none" (obeyed).

SeaMonkey doesn't doesn't do anything special with the content of <display>...but it also ignores the same CSS as Firefox.

The only thing I can do to support semantic design is apply "font-style:italic" to all <details> elements.

Granted, you might ask, "why bother using <details> at all. then?" Well, I would like to have <details> for the browsers that support it, with the "font-style:italic" to degrade the page nicely for those that don't (such as for SeaMonkey).

Does anyone know why "display:inline" and "display:hidden" get ignored?

View 1 Replies View Related

Ubuntu :: 11.04 Launch Bar And Top Bar Gone?

Apr 28, 2011

I have been using ubuntu since 10.04 version and configure with compiz to activate the corners, cube, etc. No problems with that. When I upgraded to 11.04 these things were not working but honestly I did not care that much and was just playing with compiz, so I was playing with an option in compiz about the size of the icons in the new 11.04 launch bar, just when I clicked it my top bar and launch bar are gone and not coming back after rebooting many times. BTW I already uninstalled compiz via terminal and the same problem is happening, maybe important for you to know (alt+f2 or other shortcuts not working except for ctr+alt+t)

View 9 Replies View Related

Ubuntu :: Not Able To Launch .jar

Jun 29, 2011

i run xubuntu 10.04 and for the past 2 hours i was trying to launch a .jar file and finnaly when i installed java properly this happened:

Code:
sasha@sasha-laptop:~$ java -jar '/home/sasha/Desktop/Minecraft stuff/minecraft.jar'
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.10)
at javax.swing.plaf.basic.BasicLookAndFeel.initialize(libgcj.so.10)

[Code]....

View 1 Replies View Related

Ubuntu :: Tomboy Does Not Launch?

Jan 6, 2010

I am attempting to use tomboy and it does not launch giving me the following:
Code:
~$ tomboy

(/usr/lib/tomboy/Tomboy.exe:3602): GLib-WARNING **: g_set_prgname() called multiple times
(/usr/lib/tomboy/Tomboy.exe:3602): GLib-WARNING **: g_set_prgname() called multiple times [INFO]: Initializing Mono.Addins

[Code]...

installing all the packages again without comment or error, but the problem persists with exactly the same error as above.

View 3 Replies View Related

Ubuntu :: 9.10 Fails To Launch?

Feb 27, 2010

I installed it yesterday. It worked well. I was able to log into windows without any trouble and restart into Ubuntu without a hitch.

This morning I launched Ubuntu as usual vi GRUB. I was asked to install about 135 upgrade files, which went withou an apparent challenges. I then went through the restart and noticed that there was an extra two choices in GRUB, but I just left it to launch Ubuntu automatically. Which it did.

I then messed about with the appearance settings. Noticed a some more updates were waiting which included 49 files. I went through the updating process and restart.
GRUB worked well, and I was soon loggin in with username and password.

The Ubuntu Screen became visible with the flashing horizontal line and about 3 seconds later everything froze. I waited for several minutes - I timed them - but still no progress - everything remained frozen.

I switched off the machine completely, as I knew of no other way to get out of this situation. I rebooted and when GrUB launched I booted into windows 7 with absolutely no problems.

I used restart in windows and then allowed GRUB to boot into Ubuntu. Once more I was able to log in but soon after the Ubuntu Screen appeared and the horizontal line flashed for a few seconds, everything froze. This time I waited five minutes before switching off the machine by disconnecting at the mains.

I am now using windwos 7 to make contact

View 4 Replies View Related

Ubuntu :: Can't Launch .sh From Icon

Jun 18, 2010

I am running Kubuntu 10.04 and i want to make some icons on the desktop to launch various telnet sessions. So i make a .sh using vi test.sh and then put in telnet 180.9.x.xx and save and quit. Then i chmod 777 it to make it executable and then moved it to my Desktop folder. But when i double click or right click and open with konsole nothing happens. I know it is probably something stupid which i have overlooked but when i have done this in Ubuntu in the past it has worked.

View 7 Replies View Related

Ubuntu :: Can't Get Osx To Launch With Grub2

Aug 29, 2010

I have an acer aspire one. I had iPC osx86 10.5.6 installed on it. then I installed ubuntu 10.04.1 and now i cant get OSX to start up. OSx shows up in grub but when i select it i just get a blank screen.

View 2 Replies View Related

Ubuntu :: Sigil Won't Launch / Fix This?

Nov 21, 2010

I downloaded the current version of Sigil 64bit from Google Code https://code.google.com/p/sigil/ and it is just not working. Whenever I try to launch it the screen appears for less than a second and then vanishes. Does anybody know how to fix this?

View 5 Replies View Related

Ubuntu :: Launch Apps In Gui From Other Tty?

Mar 24, 2011

[URL]theres a thread asking to issue commands to one tty from another, i'd like to know, if there's a way this can be done without screen, and so that you could issue commands to the gui, from other tty.

View 1 Replies View Related

Ubuntu :: Autohide The Launch Bar In UNR 10.10?

Mar 30, 2011

Is there a way to autohide the launch bar in UNR 10.10? I thought there was a way in the older versions.

View 3 Replies View Related







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