Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how do I backup my macros?

    Help wanted · · · – – – · · ·
    3
    4
    676
    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 Albert
      Keith Albert last edited by

      I’m using NP++ on linux.

      andrecool-68 1 Reply Last reply Reply Quote 0
      • andrecool-68
        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 Albert
          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
          • PeterJones
            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
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors