how do I backup my macros?
-
I’m using NP++ on linux.
-
@Keith-Albert Make a backup copy of the file “shortcuts.xml” it contains macros.
-
I see 2 files by that name
/home/user/snap/notepad-plus-plus/current/notepad-plus-plus/shortcuts.xml
/home/user/snap/notepad-plus-plus/211notepad-plus-plus/shortcuts.xmlthe only macro in either one is “Trim Trailing Space and Save”
not seeing the ones I created. -
@Keith-Albert said:
not seeing the ones I created.
Well, running a Windows application through a translation layer like WINE or similar on Linux will add a layer of obfuscation, so it’s going to be harder for us to guess where your translation layer put things. It might help if you said whether you use WINE or something different; then someone else who has direct experience with that setup might be able to be more explicit in their help.
What I do know is that in Windows, there are two normal locations for
shortcuts.xml
: for a normal install, it goes in%AppData%\Notepad++\shortcuts.xml
, and in a portable (“zip” or “7z”, “local conf mode”) edition, it just goes in the same directory asnotepad++.exe
. I would assume your translation layer would rename%AppData%\Notepad++
to something else more linuxy, but I don’t know what.If you look at Notepad++'s ? menu, at the Debug Info entry, you can Copy debug info into clipboard and paste it here; that would tell us whether Notepad++ thinks you are in standard-install or local-conf-mode, and might give more hints as to where it’s stored.