Community
    • Login

    how do I backup my macros?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 1.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Keith AlbertK Offline
      Keith Albert
      last edited by

      I’m using NP++ on linux.

      andrecool-68A 1 Reply Last reply Reply Quote 0
      • andrecool-68A Offline
        andrecool-68 @Keith Albert
        last edited by

        @Keith-Albert Make a backup copy of the file “shortcuts.xml” it contains macros.

        1 Reply Last reply Reply Quote 0
        • Keith AlbertK Offline
          Keith Albert
          last edited by

          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.xml

          the only macro in either one is “Trim Trailing Space and Save”
          not seeing the ones I created.

          1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones
            last edited by

            @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 as notepad++.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.

            1 Reply Last reply Reply Quote 2

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors