RmDebArc_5 to linuxmemes@lemmy.world · 1 年前Text editor warimagemessage-square179fedilinkarrow-up1803arrow-down134file-text
arrow-up1769arrow-down1imageText editor warRmDebArc_5 to linuxmemes@lemmy.world · 1 年前message-square179fedilinkfile-text
minus-squarebronxasaur@lemmy.worldlinkfedilinkarrow-up9·1 年前Does ’sudo gedit’ not work? Disclaimer: I use neither gnome nor gedit.
minus-squareSaltyIceteaMakerlinkfedilinkarrow-up2·1 年前I heard that it is safer to do sudoedit [file] instead of sudo [editor] [file]. At least it’s like this in vim. Idk about nano and Emacs tho
minus-squarecaseyweederman@lemmy.calinkfedilinkarrow-up1·1 年前sudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit
deleted by creator
Does ’sudo gedit’ not work?
Disclaimer: I use neither gnome nor gedit.
deleted by creator
I heard that it is safer to do sudoedit [file] instead of sudo [editor] [file]. At least it’s like this in vim. Idk about nano and Emacs tho
sudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit
deleted by creator