I am using ubuntu mate 20.04.
Whenever pluma is open and I want to edit another file it opens on a new tab on the already opened editor.
How can I force it to open on a new window instead?
While messing around with Lubuntu 19.04, running lxqt-sudo to launch Pluma text editor as root so that I could edit the /var/www PHP projects I had, I noticed when rightclicking the file browser pane and choosing View Folder, that it opened up, at first, PCManFM-Qt. However, when it did so, it used a very ugly theme. (That's another question I have posted.) Then, I installed Nautilus. When I did, now when I open Pluma as root, it uses some file manager called Files, which I assume is Nautilus because it shows up when I do ps -ef | grep -i nautilus
.
How do I tell Pluma to use PCManFM-Qt instead of Nautilus? What config file do I edit?
pluma, and I believe gedit also, does not start a new instance, if it is running already, but instead opens the file with the existing instance. The call then returns immediately. Normally this is desired behaviour. But sometimes the immediate return is a problem when the editor is called from a script or program, which relies on the file having been edited before the call is returned (e.g. git commit
or crontab -e
).
Is there a way to either start a new instance of pluma or otherwise force a call to pluma (when one instance is already open) to not return immediately but only after the file in question has been closed in the editor.
Recently I discovered that, after years of thinking various software was adding a newline to the end of my files, it was actually Pluma (or Gedit - same difference) silently adding them all along. Currently I'm working on a website that will have lots of PHP includes, parsing data saved on disk and the likes, so it would make my life a lot easier to do away with the extra line added to the end of each file. As far as I can tell, there isn't a way to stop this behaviour.
I'd like to either get this sorted or find a text editor similar to Gedit without this issue. I don't really want to resort to using Notepad++ via Wine, but that may be an option. Terminal text editors are also a possibility but I'd rather use one with a GUI for anything more than minor edits to files.