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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login