RmDebArc_5 to linuxmemes@lemmy.world · 1 year agoText editor warimagemessage-square178fedilinkarrow-up1803arrow-down134file-text
arrow-up1769arrow-down1imageText editor warRmDebArc_5 to linuxmemes@lemmy.world · 1 year agomessage-square178fedilinkfile-text
minus-squarebronxasaur@lemmy.worldlinkfedilinkarrow-up9·1 year agoDoes ’sudo gedit’ not work? Disclaimer: I use neither gnome nor gedit.
minus-squareSaltyIceteaMakerlinkfedilinkarrow-up2·1 year agoI 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 year agosudo 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