numixproject / numix-folders

Alternate folders for use with our base icon theme.
GNU General Public License v3.0
151 stars 26 forks source link

wayland support #162

Closed jamdox closed 4 years ago

jamdox commented 8 years ago

it'd be nice to be able to use the GUI under wayland session in gnome!

bilelmoussaoui commented 8 years ago

Can you open the gui under wayland and paste the error messages you have got ?

Le 13 août 2016 07:21, "jamdox" notifications@github.com a écrit :

it'd be nice to be able to use the GUI under wayland session in gnome!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/numixproject/numix-folders/issues/162, or mute the thread https://github.com/notifications/unsubscribe-auth/AHTlxfV-8IlG8O5x9W7gOlYOgwjLq2DVks5qfVQ_gaJpZM4Jjm_w .

ghost commented 7 years ago

Hi, i had this error:

No protocol specified Unable to init server: Could not connect: Connection refused No protocol specified Unable to init server: Could not connect: Connection refused No protocol specified Unable to init server: Could not connect: Connection refused

(numix-folders:25143): Gtk-WARNING **: cannot open display: :0

heyhippari commented 7 years ago

Same issue on Fedora 25 Beta (which has Wayland as default)

bilelmoussaoui commented 7 years ago

@Foggalong One of the main issues on wayland is that you can run gksudo anymore...Do you have any idea how to avoid that? or something else we can use ?

Foggalong commented 7 years ago

@bil-elmoussaoui Basically no. gksu has been deprecated but nothing function has yet replaced it :/

bilelmoussaoui commented 7 years ago

I think we can use pkexec and ship our own PolicyKit (should be placed on /usr/share/polkit-1/actions/). Even synaptic moved to use pkexec instead of gksudo...

Foggalong commented 7 years ago

Last I heard pkexec wasn't ready for daily use yet, though admittedly it's a very long time since I looked into it. I'm happy to make the switch but it'll be a few days until I have time to sit down and learn how it works, so if you or someone else wants to do that in the mean time then be my guest :)

bilelmoussaoui commented 7 years ago

I will do by this evening

palob commented 7 years ago

Couldn't we alternatively implement the script on a per-user base by copying the icons to ~/.local/share/icons/? What's in local directories is prioritised over /usr(/local)/share. This way we wouldn't need to ask for root user priviliges at all and the customised icons would persist updates of a global Numix installation, addressing #101.

bilelmoussaoui commented 7 years ago

I'm going to work on improve Numix folders and i wanted to do the same as you're proposing ;) hope it will work without any problem ;)

Foggalong commented 7 years ago

That sounds like a better way to do things :)