A GNOME extension for changing the screenshot output directory https://extensions.gnome.org/extension/1179/screenshot-locations/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.6 KiB

Contributing

Bug Reports, Feature Requests, & Questions

  • Fill out the template as best you can

Code

Building

The extension uses the meson build system.

  • You can set up a development environment by running meson setup --prefix=$HOME/.local builddir
    • You can optionally configure the locale path by running meson setup --prefix=$HOME/.local -Dlocaledir=$HOME/.local/share/gnome-shell/extensions/screenshotlocations.timur@linux.com/locale builddir
  • You can compile and install a build by running meson install -C builddir
  • Changes to the meson.build will require reconfiguring it with meson --reconfigure builddir
  • You can create a packed extension by running meson compile extension.zip -C builddir

Translations

  • Additional files to translate can be added by updating the po/POTFILES file
  • The translations .pot file can be regenerated by running meson compile screenshotlocations.timur@linux.com-pot -C builddir
  • To add translations for a new language, add the language code to po/LINGUAS
    • Make sure the language code is unique and sorted by running cat po/LINGUAS | uniq -u | sort > po/LINGUAS
    • Update the list of .po files by running meson compile screenshotlocations.timur@linux.com-update-po -C builddir
  • For additional help, refer to the meson localisation guide