solus-project / budgie-desktop

I Tawt I Taw A Purdy Desktop
https://solus-project.com/
2.34k stars 159 forks source link

lightdm-settings wont open in the budgie menu #1433

Open Ste74 opened 6 years ago

Ste74 commented 6 years ago

Operating System: Manjaro Budgie version: 10.4+34+gd6f3519f-1 ( arch package )

The issue encountered lightdm-settings wont open in the budgie menu but it work if i run from terminal with pkexec

after this commit made by Mint .. Note in Cinnamon and Mate ( Manjaro release ) it work as expected..

For now reinstall a lightdm-settings reverted before the commit mentioned solve the issue

fossfreedom commented 6 years ago

@Ste74 works just fine on Ubuntu 18.04 - package issue on Manjaro?

Ste74 commented 6 years ago

@fossfreedom sorry for the delay, but i was a bit busy in this period .. how can i debug this ? This seem happen only in Manjaro Budgie release :(

fossfreedom commented 6 years ago

any warnings or error messages if you run

budgie-panel --replace &

and then start "login window" from the menu ?

fossfreedom commented 6 years ago

hmm - rebooted - straight from a login, login window does not open. However running budgie-panel --replace & then "login window" does work.

budgie-polkit issue?

@Ste74 do you see the same?

EDIT: I'm seeing the same observation with bleachbit which has the same "Exec=pkexec bleachbit"

fossfreedom commented 6 years ago

think this is either a closely related issue or a duplicate of this https://github.com/solus-project/budgie-desktop/issues/1279

EDIT - on second thoughts - just a related policykit issue - not really a duplicate.

fossfreedom commented 6 years ago

@Ste74 the workaround for the moment is to change the lightdm-settings.desktop Exec=pkexec lightdm-settings line to

Exec=sh -c "pkexec lightdm-settings"

This extra "shell" trick seems to work for all apps .desktop files that use Exec=pkexec appname

Ste74 commented 6 years ago

@fossfreedom thank you for the tip but Exec=sh -c "pkexec lightdm-settings" not work .. it continue to not start from menu .. i have installed the system into vbox with a my last build 17.1.11 not already released for usesr.. this is the terminal message

budgie-issue

Ste74 commented 6 years ago

I have also tried to add this sh -c 'sleep 5; budgie-panel --replace &' in autostart but nothing change , from menu we can't run lightdm-settings.. and all is fine from the terminal @ikeydoherty any tip for trace this strange issue? An user in our forum report also this https://forum.manjaro.org/t/budgie-menu-issue-with-lightdm-settings/51684/4

Ste74 commented 6 years ago

For the moment i have overrided the .desktop launcher for lightdm-settings https://gitlab.manjaro.org/profiles-and-settings/desktop-settings/commit/510a6c5735469bb1f07f6533fab27c8cf785b292

Coeur-Noir commented 6 years ago

Here is UBudgie 18.04

I think I have same issue with Bleachbit ( as root ) : I can't open it from app's menu but it's ok from terminal pkexec bleachbit

Its desktop files reads though :

TryExec=pkexec
Exec=pkexec bleachbit

…and yes sorry, changing to sh -c "pkexec bleachbit" did the trick for me.