linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 742 forks source link

Run now in Startup Applications doesn't works #11310

Open Giorgio-IT opened 1 year ago

Giorgio-IT commented 1 year ago

Mint 21 Vanessa 64 bit, Cinnamon 5.4.12

issue

In Startup Applications window (menu Preferences -> Startup-applications) in the lower part the button Run now doesn't run the command selected

Steps to reproduce

1) Make new application to set volume at login at desired value, e. g. 40 %, using command pactl set-sink-volume 0 40% 2) Select this application 3) press "Run now" key 4) volume is reduced to 0 %

See forum thread

Expected behaviour

Volume set to 40 % Note that logout then login set volume to 40 % then application works.

mtwebster commented 1 year ago

Start cinnamon-settings from a terminal and see what output you get when you attempt to reproduce the issue:

cinnamon-settings startup

If I attempt it I get:

Failed to get sink information: No such entity

So I must be missing something...

Giorgio-IT commented 1 year ago

Real time answer ! Here's what I get: ~$ cinnamon-settings startup /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:442: DeprecationWarning: Gtk.Window.set_wmclass is deprecated self.window.set_wmclass(wm_class, wm_class) Loading Startup Applications module Now the window opens. When I press "Run now" key the following row is added SSH_AUTH_SOCK=/run/user/1000/keyring/ssh but volume remain unchanged! Then using konsole behaviour change (volume doesn't go to 0 %) but still not as it should be,

Giorgio-IT commented 1 year ago

Tried again now:

~$ cinnamon-settings startup /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:442: DeprecationWarning: Gtk.Window.set_wmclass is deprecated self.window.set_wmclass(wm_class, wm_class) Loading Startup Applications module

and nothing added in terminal when I press "Run now" key. Then behavior different from previous attempt.

Giorgio-IT commented 1 year ago

But volume goes to 0 %.