FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 08-21-2012, 01:44 PM
Gene Heskett
 
Default gnome-applet-volume-control is a huge usability regression

On Tuesday 21 August 2012 09:41:32 Nils Kassube did opine:

> Gene Heskett wrote:
> > Its my understanding that rc.local is executed as an S99 function in
> > /etc/rc.whatever, and the display manager isn't started until all
> > that stuff has run. And I have attempted in times past to put
> > something that needs X in rc.local, and its always been a 100%
> > failure, no display. I have added a couple things to the autostart
> > menu, but haven't rebooted to try them yet.
>
> To my understanding the X server is started earlier than rc.local
> because rc.local is supposed to run as the last job.
>
> Anyway, usually you can't start applications which need a display from
> rc.local unless you provide the DISPLAY variable and run the application
> as the user owning the display. As an example, I am the owner of the
> display :0.0 as user nils. If I login as nils from Ctrl-Alt-F1, I can't
> start any application that needs X running. However if I set DISPLAY
> accordingly, it works:
>
> DISPLAY=:0.0 xeyes
>
> And if I wanted to run the application from rc.local it would be
>
> su nils -c 'DISPLAY=:0.0 xeyes'
>
> > I asked how to start a program on a specific workspace but no one has
> > volunteered any info on that.
>
> For KDE there is kstart to do that but I don't know if it would work
> with Gnome.
>
Checking in synaptic, it says kstart is a kerboros related utility.

One would think that should be a gdm function, but gdm doesn't seem to have
a man page.
>
> Nils

Thanks Nils.

Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
Modesty is a vastly overrated virtue.
-- J. K. Galbraith

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-21-2012, 01:54 PM
Gene Heskett
 
Default gnome-applet-volume-control is a huge usability regression

On Tuesday 21 August 2012 09:52:54 Oliver Grawert did opine:

> hi,
>
> Am Dienstag, den 21.08.2012, 06:45 -0400 schrieb Gene Heskett:
> > > > (Someone correct me if i'm wrong, my knowledge is old and
> > > > non-Ubuntu, but i don't see why this would have changed.)
> > > > All scripts in /etc/rc.5/ will not be run until runlevel 5 is
> > > > reached, which is typically the "graphical" run level.
>
> here is an upstart script, just store it in /etc/init/myscript.conf and
> be done:
>
> --- snip ---
>
> description: "running myscript"
>
> start on (starting gdm
> or starting kdm
> or starting xdm
> or starting lxdm
> or starting lightdm)
>
> task
> script
> /path/to/your/script
> end script
> --- snap ---
>
> this will fire your script only if the display manager emitted the
> "starting" event .. for more details see [1]
>
> ciao
> oli
>
> [1] http://upstart.ubuntu.com/cookbook/

That link is nicely done, but does not consider or discuss putting an
upstart job on a given workspace. Sigh..

Thanks Oli.

Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
There's always free cheese in a mousetrap.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-21-2012, 02:06 PM
Nils Kassube
 
Default gnome-applet-volume-control is a huge usability regression

Gene Heskett wrote:
> On Tuesday 21 August 2012 09:41:32 Nils Kassube did opine:
> > Gene Heskett wrote:
> > > I asked how to start a program on a specific workspace but no one
> > > has volunteered any info on that.
> >
> > For KDE there is kstart to do that but I don't know if it would
> > work with Gnome.
>
> Checking in synaptic, it says kstart is a kerboros related utility.

Sorry, I meant kstart from the package "kdebase-runtime". I didn't
realise that there is a package named "kstart".


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-21-2012, 03:42 PM
Gene Heskett
 
Default gnome-applet-volume-control is a huge usability regression

On Tuesday 21 August 2012 11:39:15 Nils Kassube did opine:

> Gene Heskett wrote:
> > On Tuesday 21 August 2012 09:41:32 Nils Kassube did opine:
> > > Gene Heskett wrote:
> > > > I asked how to start a program on a specific workspace but no one
> > > > has volunteered any info on that.
> > >
> > > For KDE there is kstart to do that but I don't know if it would
> > > work with Gnome.
> >
> > Checking in synaptic, it says kstart is a kerboros related utility.
>
> Sorry, I meant kstart from the package "kdebase-runtime". I didn't
> realise that there is a package named "kstart".
>
>
> Nils

Thats more like it! Looks like it is worth a try. Thanks Nils, it will
get tested in the next day or so, as the uptime seems not to be able to get
through the 3rd week, 16 days & change now.

Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
Who goeth a-borrowing goeth a-sorrowing.
-- Thomas Tusser

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 06:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org