An open API service indexing awesome lists of open source software.

https://github.com/OttoAllmendinger/gnome-shell-screenshot

Gnome Shell extension for making and uploading screenshots
https://github.com/OttoAllmendinger/gnome-shell-screenshot

clipboard gnome gnome-shell-extension imgur javascript screenshot

Last synced: 3 months ago
JSON representation

Gnome Shell extension for making and uploading screenshots

Awesome Lists containing this project

README

          

![Screenshot](https://raw.githubusercontent.com/OttoAllmendinger/gnome-shell-screenshot/master/data/screenshot.png)

Shortcut to create screenshots that can be opened, copied to clipboard or saved
to disk.

This extension is based on
[gnome-shell-imgur](https://github.com/OttoAllmendinger/gnome-shell-imgur/).

## Installation

### Via extensions.gnome.org

The latest reviewed version can be found at
[GNOME Shell Extensions](https://extensions.gnome.org/extension/1112/screenshot-tool/)

### Via github.com

The latest development version can be installed manually with these commands:

```sh
git clone https://github.com/OttoAllmendinger/gnome-shell-screenshot.git
cd gnome-shell-screenshot
make update_dependencies
make install
```

Then go to https://extensions.gnome.org/local/ to turn on the extension or use
gnome-tweak-tool.

## Reporting a Bug

When reporting a bug, please include debugging output from `gnome-shell`.

You can capture the logs with this command:

```
journalctl --user /usr/bin/gnome-shell --follow
```

## Known Issues

### Errors with "gnome-screenshot" backend

Example:

- `Output file does not exist`
- `GLib.SpawnError: Failed to execute child process`

These errors can occur if the [`gnome-screenshot`](https://apps.gnome.org/de/app/org.gnome.Screenshot/) tool is not installed on your system.

Please use your package manager to install the software.

If the tool is installed and the error persists, please file a new bug.

### Error after updating extension (Gnome-Shell 3.37 and above)

Since Gnome-Shell version `3.37.2`, extensions that are updated are unavailable
(in an error state) until the user logs out and back in again.
([See commit 6ddd43f3 in gnome-shell](https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/6ddd43f36178939d0e1873a40f1cf66f26c61140))

If the error persists, please open a bug report.

### `Error: exitCode=256`

#### Firejail

When using Firejail, please add this configration:

File `/etc/firejail/gjs.local`:

```
noblacklist ${HOME}/.local/share/gnome-shell
```

([Reported here](https://github.com/OttoAllmendinger/gnome-shell-screenshot/issues/80))

#### Extension "No Flash for Clipboard Screenshots"

The extension [available here](https://extensions.gnome.org/extension/1474/no-flash-for-clipboard-screenshots/)
is known to cause problems when used together with gnome-shell-screenshot.

Please deactivate `no-flash-for-clipboard-screenshots` when using gnome-shell-screenshot.

([Reported here](https://github.com/OttoAllmendinger/gnome-shell-screenshot/issues/122))

### Clipboard stops working in Gnome 3.20

On Gnome 3.20, the clipboard stops working after the lock screen appears.

See https://github.com/OttoAllmendinger/gnome-shell-screenshot/issues/4

As a workaround, restart the shell: `Ctrl-F2` `r` `Enter`. The clipboard
should work again afterwards.

## Contributors

- https://github.com/RaphaelRochet, https://github.com/peetcamron, https://github.com/oxayotl -- French translation
- https://github.com/gsantner -- German translation
- https://github.com/pkomur, https://github.com/orschiro, https://github.com/MartinPL -- Polish translation
- https://github.com/amivaleo, https://github.com/Fastbyte01 -- Italian translation
- https://github.com/ge0rgecz -- Czech translation
- https://github.com/dirosis -- Greek translation
- https://github.com/AlexGluck, https://github.com/alex-volga -- Russian translation
- https://github.com/trinaldi -- Portuguese (Brazil) translation
- https://github.com/alex-volga -- Ukrainian translation
- https://github.com/iamhefang -- Simplified Chinese translation
- https://github.com/Mavrikant -- Turkish translation
- https://github.com/Burday -- Bulgarian translation
- https://github.com/johanbcn -- Spanish and Catalan translation
- https://github.com/ibaios -- Basque translation
- https://github.com/kudaliar032 -- Indonesian translation
- https://github.com/Vistaus -- Dutch translation
- https://github.com/xypine -- Finnish translation

Also see contributors for
[gnome-shell-imgur](https://github.com/OttoAllmendinger/gnome-shell-imgur/).

## Tip Address

Bitcoin 3NkWgrxHmQKiNMo94zs4vDQzwwpJ4FtwRN