-
Notifications
You must be signed in to change notification settings - Fork 0
/
scan2pdf.desktop
63 lines (52 loc) · 2.19 KB
/
scan2pdf.desktop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# ------------------------------------------------------------------------------
# -
# Scan to PDF (scan2pdf) - Service Menu for KDE -
# -
# Created by Fonic <https://github.com/fonic> -
# Date: 01/12/24 - 02/18/24 -
# -
# NOTE: -
# Copy/move this file to '~/.local/share/kio/servicemenus' and make -
# sure 'scan2pdf.sh' is stored in a location accessible via PATH. -
# -
# ------------------------------------------------------------------------------
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory
Actions=scanToPDF1;scanToPDF2;scanToPDF3;scanToPDF4;scanToPDF5;scanToPDF6;scanToPDF7;scanToPDF8
X-KDE-Priority=TopLevel
X-KDE-Submenu=Scan to PDF
X-KDE-Icon=document-scan
[Desktop Action scanToPDF1]
Name=Color 150 dpi
Icon=color
Exec=scan2pdf.sh -m "24bit Color" -r 150 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF2]
Name=Color 200 dpi
Icon=color
Exec=scan2pdf.sh -m "24bit Color" -r 200 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF3]
Name=Color 300 dpi
Icon=color
Exec=scan2pdf.sh -m "24bit Color" -r 300 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF4]
Name=Color 600 dpi
Icon=color
Exec=scan2pdf.sh -m "24bit Color" -r 600 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF5]
Name=Grayscale 150 dpi
Icon=gray-scale
Exec=scan2pdf.sh -m "True Gray" -r 150 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF6]
Name=Grayscale 200 dpi
Icon=gray-scale
Exec=scan2pdf.sh -m "True Gray" -r 200 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF7]
Name=Grayscale 300 dpi
Icon=gray-scale
Exec=scan2pdf.sh -m "True Gray" -r 300 -p "%f/scan_%05d.pdf"
[Desktop Action scanToPDF8]
Name=Grayscale 600 dpi
Icon=gray-scale
Exec=scan2pdf.sh -m "True Gray" -r 600 -p "%f/scan_%05d.pdf"