Bashing-om, I tried sudo -H gedit and went to search your suggestion on pkexec which lead me to this post on how to use it: https://unix.stackexchange.com/questions/203136/how-do-i-run-gui-applications-as-root-by-using-pkexec#answer-203149 Both of these solutions opens gedit but with an extremely slow response to commands. Everything else I'm doing is lost due to stall, specially firefox, which I'm forced to kill. Also, as soon as I run them on terminal the fans on my laptop start an odd behaviour as if it's preventing overheating. Only stops when I close the app. window.
"admin://" is what work worked for me till now and I'm sticking with it. If you have any idea why this is happening I would be happy to know. Best regards. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1845892 Title: gedit crashes system when launched from terminal as root Status in gedit package in Ubuntu: Incomplete Bug description: This happens whenever I try to edit a file (for example /etc/apt/sources.list) or open gedit with root privileges. Application window opens, characters are replaced by squares, and becomes impossible to drag or resize it as my system completely stalls. Also if firefox is open, it also becomes unresponsive and crashes. This screenshot summarises what i have been experiencing so far: https://i.imgur.com/8R6vZhE.jpg Additionally, it also happens with nautilus. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gedit 3.28.1-1ubuntu1.2 ProcVersionSignature: Ubuntu 4.15.0-65.74-generic 4.15.18 Uname: Linux 4.15.0-65-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Sep 29 19:34:14 2019 InstallationDate: Installed on 2016-11-14 (1048 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: gedit UpgradeStatus: Upgraded to bionic on 2018-08-21 (403 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1845892/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp