![]() You could try a more current version than 0.23 offered by the repos.Ī Flatpak version is available via Software manager - version 0.24 - edit - scrap that the open devices feature is disabled in the Flatpak.A hex editor for Windows, also called byte editor or binary editor, is a truly universal tool. Regarding the crash on wxhexeditor's take ownership feature - does it happen on a regular root owned file? - Edit ignore that - it appears to be specific to it's open devices feature. Aswell as the ubuntu wiki link given also take a read of the output of man sudo run in a terminal What environment variables are preserved or not varies with what arguments you use for sudo. Nope, sudo is literally to run a command as another user - the default is root, but it can be used to run a command as any other user on the system as-well. The sudo -A is interesting to hide what should be hidden, thanks, that might be very useful!īut the outcome is still the same as with sudo -i, I don’ know if that is a feature of Linux. Re sudo, I did not realise that my user account’s pwd also would switch to a different user’s (root) environment variables, including /home, not just giving admin privileges. I’m still chewing on your pkexec env … solution, that would solve the terminal start issue only (?), but I could not find a similar rule to adapt (and don’t know if I want, I think basically the app should not quit when I’m going to authenticate). Re pkexec, yes, I was afraid it would be a matter of polkit rules, but that’s way above my head.Īs it was suggested I’ve tried it, but the reply is strange, is your power cable plugged in? The 6 Gdk-CRITICAL appear only after selecting Devices/…sda, together with the aforementioned error message, after clicking OK the last 2 lines are added.Īt clicking Cancel only the Segmentation fault is added. bin/sh: 1: Syntax error: Unterminated quoted string (wxHe圎ditor:6419): Gdk-CRITICAL **: 21:45:32.674: IA_gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed (wxHe圎ditor:6419): Gdk-CRITICAL **: 21:45:32.673: IA_gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed I have got a script on my system at ~/.local/share/nemo/actions/scripts/zenity_askpass.shĬode: Select all (wxHe圎ditor:6419): Gdk-CRITICAL **: 21:45:32.673: _gdk_pixmap_new: assertion '(width != 0) & (height != 0)' failed You can use sudo with a GUI prompt for password by using it's ASKPASS feature.Į.g. This isn't a bad thing when you are launching a GUI app with sudo - it prevents the users own home been polluted with root owned files sometimes with quite deleterious effect (login loops etc). Your use of sudo -i is specifically to use the other users environment variables including home. Pkexec, sudo etc are all methods of elevating privileges - i.e temporarily pretending the user is another user (default being root). Two "standard" users would always use the same config file? But is this a good / the only / the best solution?ĭoes my user pwd automatically mean root is now the user? I thought root would be a different user? for recently opened files) will be found next time again. Only the Terminal is asking for my pwd (ugly),Īnd the config file goes into the root folder. ![]() Code: Select all Exec=gnome-terminal -e “sh -c ‘sudo -i wxHe圎ditor ’”
0 Comments
Leave a Reply. |