Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-12-21 15:24:38

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

service startup sequence

Because volumeicon is so handy, we would like to use it with PulseAudio, but the only way that seems to work consistently is when volumeicon is started after PA. We can do that by creating a script:

#!/bin/bash

pulseaudio --start
sleep 2
volumeicon &
exit 0

Then that is added to Session and Startup > Application Autostart, and the volumeicon autostart entry needs to be unchecked. But we wonder if there is a native/better method of doing that? It does not look like the entries in Application Autostart are in launch order.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#2 2014-12-21 16:08:05

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: service startup sequence

Jerry3904 wrote:

It does not look like the entries in Application Autostart are in launch order.

That seems like a... Well, if not a bug, certainly an "anti-feature" roll .

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#3 2014-12-21 16:20:09

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: service startup sequence

well not sure about that (OSS - still here), but it shoud work with something like

Exec=pulseaudio --start && sleep 2 && volumeicon

in the desktop file

Offline

#4 2014-12-21 19:45:41

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: service startup sequence

Thanks for the suggestion. That did not work for the people who tested it, but it led to a similar solution: call that script I posted instead from wherever it is located. For example:

Exec=/usr/local/bin/name-of-script

That seems to work for everybody, though the script would not survive a reinstall in that location.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#5 2014-12-22 06:30:37

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: service startup sequence

looks like GNOME has a extension for this: http://www.webupd8.org/2014/05/how-to-d … ns-in.html maybe xfsm can interpret this, too?

Offline

#6 2014-12-22 10:53:10

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: service startup sequence

Worth a look, thanks.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 547.84 KiB (Peak: 550.3 KiB) ]