-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI sudo doesn't work on Ubuntu 20.04 #200
Comments
Did you run the GUI or did you apply the changes via CLI? |
I tried doing it both ways. |
Running as root or using |
How did you install your Numix theme? |
I was using sudo and I installed the theme through the ppa. I’ll try running that gtk command when I get home thanks |
|
Hmm, so far I'm at a loss as to why it wouldn't work. |
Could you please try some other colours/folder styles? |
In case this wasn't clear: by CLI I meant running |
Ok so I was using the 'Run in terminal' option from launching the executable, but using -t got it to work for me. Thanks! |
Yeah there seems to be a bug with the sudo pop-up not actually authenticating here. Running either When it's not working:josh@migs:~/numix-folders$ ./numix-folders
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
(numix-folders:65702): Gtk-WARNING **: 04:04:07.786: cannot open display:
/home/s1985194/numix-folders/gui/gui:129: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "type" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
self.win = Gtk.ApplicationWindow(Gtk.WindowType.TOPLEVEL, application=app)
/home/s1985194/numix-folders/gui/gui:134: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
self.win.set_wmclass("numix-folders", "Numix Folders")
/home/s1985194/numix-folders/gui/gui:214: DeprecationWarning: Gtk.ColorButton.set_color is deprecated
self.colourbuttons[i].set_color(Gdk.color_parse(self.colour[i]))
/home/s1985194/numix-folders/gui/gui:223: DeprecationWarning: Gtk.Widget.modify_font is deprecated
self.colourentries[i].modify_font(Pango.FontDescription('monospace'))
/home/s1985194/numix-folders/gui/gui:234: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
buttonok = Gtk.Button("_Apply", use_underline=True)
/home/s1985194/numix-folders/gui/gui:236: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
buttonclose = Gtk.Button("_Cancel", use_underline=True)
cp: target '/Numix/' is not a directory
find: ‘/Numix/*/actions/*custom*’: No such file or directory
find: ‘/Numix/*/places/*custom*’: No such file or directory
find: ‘/Numix/*/actions’: No such file or directory
find: ‘/Numix/*/places’: No such file or directory
chown: cannot access '/Numix/': No such file or directory
gtk-update-icon-cache: No theme index file.
Folder change complete! When it is working:josh@migs:~/numix-folders$ sudo ./numix-folders
/home/s1985194/numix-folders/gui/gui:129: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "type" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
self.win = Gtk.ApplicationWindow(Gtk.WindowType.TOPLEVEL, application=app)
/home/s1985194/numix-folders/gui/gui:134: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
self.win.set_wmclass("numix-folders", "Numix Folders")
/home/s1985194/numix-folders/gui/gui:214: DeprecationWarning: Gtk.ColorButton.set_color is deprecated
self.colourbuttons[i].set_color(Gdk.color_parse(self.colour[i]))
/home/s1985194/numix-folders/gui/gui:223: DeprecationWarning: Gtk.Widget.modify_font is deprecated
self.colourentries[i].modify_font(Pango.FontDescription('monospace'))
/home/s1985194/numix-folders/gui/gui:234: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
buttonok = Gtk.Button("_Apply", use_underline=True)
/home/s1985194/numix-folders/gui/gui:236: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
buttonclose = Gtk.Button("_Cancel", use_underline=True)
/home/s1985194/numix-folders/gui/notification:26: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "parent, flags, message_type, buttons, message_format" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
dialog = Gtk.MessageDialog(win, None, Gtk.MessageType.INFO,
/home/s1985194/numix-folders/gui/notification:26: PyGTKDeprecationWarning: The keyword(s) "message_format" have been deprecated in favor of "text" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
dialog = Gtk.MessageDialog(win, None, Gtk.MessageType.INFO,
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
Folder change complete! There's clearly some generic interface bugs and info/complaints messages in there too, |
There is no repo version for Ubuntu focal so I downloaded the zip and it seemed like everything was normal. I changed the folder color and a notification popped up saying numix-folders was applying...but nothing happens.
The text was updated successfully, but these errors were encountered: