Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Commit 2196ca0

Browse files
bug fixes & updates & license change
Changed license, fixed a couple non-syntax errors in code, updated header with contact info, and tested the script quite heavily, using it every day for myself.
1 parent ceed602 commit 2196ca0

2 files changed

Lines changed: 108 additions & 113 deletions

File tree

README.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
[![Download the latest version](https://img.shields.io/badge/Download-Latest%20version-orange)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/releases/latest)         [![Donate via PayPal](https://img.shields.io/badge/Donate-via%20PayPal-%23013088)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler#donations)         [![GPLv3 License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/blob/master/LICENSE)         [![ShellCheck Passing](https://img.shields.io/badge/ShellCheck-Passing-brightgreen)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler)
1+
[![Download the latest version](https://img.shields.io/badge/Download-Latest%20version-orange)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/releases/latest)         [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/blob/master/LICENSE)
22

33
***
44

5-
# Lightshot print screen Unix handler
5+
# Lightshot print screen Linux handler
66

77
This script handles global print screen keystrokes for you to fully enjoy [Lightshot screenshot tool](https://app.prntscr.com/en/) (home page) on any Linux/Unix.
88

@@ -12,11 +12,11 @@ It is a standard [POSIX](https://en.wikipedia.org/wiki/POSIX) (wiki) shell scrip
1212

1313
- It does not download Lightshot for you.
1414
- It does not install Lightshot for you.
15-
- It does not launch Lightshot for you! This is very important.
15+
- It does not launch Lightshot for you!
1616

1717
## What the script actually does
1818

19-
This script's sole purpose is to simulate (send) hotkey to Lightshot, be it Print, Control + Print, or anything else completely.
19+
This script's sole purpose is to simulate/send hotkey to Lightshot, be it Print, Control + Print, or anything else completely.
2020

2121
***
2222

@@ -65,51 +65,46 @@ There is also the help switch (not `--help`):
6565
which will point out the possibility for you to feed the key combination you have configured in your Lightshot interface without ever editing the script:
6666

6767
```
68-
Script : Lightshot print screen Unix handler
69-
Version : 7.0 (stable)
70-
GitHub : https://git.io/fx2US
68+
Project: Lightshot print screen Linux handler
69+
Version: 8.0 (2024-Jun-20)
70+
GitHub : https://burian.work/lightshot
7171
--------------------------------------------------------------------
7272
Description: This script works with XDOTOOL to trigger Print Screen
73-
key combination in Lightshot application installed on Unix in Wine.
74-
License: GPL 3.0. The code itself can be further enhanced by others.
73+
key combination in Lightshot application installed on Linux in Wine.
7574
The script, however, won't launch Lightshot for you due to variable
7675
installation locations which make it impossible. You need to run it!
76+
License is MIT. The code can be further enhanced by others provided
77+
that any new copies have my copyright notice included in every case.
7778
--------------------------------------------------------------------
78-
Usage in terminal: ./lightshot_print_screen [-k "HotKey"]
79+
Usage in terminal: ./lightshot_print_screen [-k HotKey]
7980
80-
-k 'HotKey': Optional switch requiring one argument,
81+
-k HotKey: Optional switch requiring one argument,
8182
which is the print screen hotkey combination.
8283
For the left Control key and the Print Screen key
83-
that would be 'Control_L+Print' (as an example).
84+
that would be -k Control_L+Print (as an example).
8485
8586
-h: Show this help.
8687
8788
Usage in desktop environment:
8889
8990
You need to find Keyboard shortcuts, and re-map Print to run
9091
this script, an example from Linux Mint is placed on GitHub.
92+
93+
Author: Copyright 2018-2024 Vlastimil Burián, vlastimilburian@protonmail.com
9194
```
9295

9396
### Graphical interface
9497

95-
There is none. This script however launches the Lightshot screenshot tool directly.
98+
There is none. This script however launches the Lightshot screenshot tool directly, same as if you right-clicked on its tray icon and then clicked _Take a screenshot_.
9699

97100
***
98101

99-
## Screenshot from Linux Mint 20 Cinnamon
102+
## Screenshot from Linux Mint Cinnamon keyboard settings
100103

101-
![Screenshot from Linux Mint 20](https://www.vlastimilburian.cz/github_images/lightshot-linux-mint-20.png)
104+
![Screenshot from Linux Mint Cinnamon keyboard settings](https://www.vlastimilburian.cz/github_images/lightshot-linux-mint-20.png)
102105

103106
***
104107

105108
## Reporting bugs and suggestions
106109

107-
Please open a [new issue ticket](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/issues/new) (direct link) or you can also mail me at [info@vlastimilburian.cz](mailto:info@vlastimilburian.cz) (email link).
108-
109-
***
110-
111-
## Donations
112-
113-
### Donate via PayPal
114-
115-
Donations are possible via my PayPal account issued on the same email address as mentioned above.
110+
Please open a [new issue ticket](https://github.com/burianvlastimil/lightshot-print-screen-linux-handler/issues/new) (direct link) or you can also mail me at [vlastimilburian@protonmail.com](mailto:vlastimilburian@protonmail.com) (email link).

0 commit comments

Comments
 (0)