Skip to content

Commit d500eff

Browse files
committed
Add way to scan barcodes in gthumb
It looks like sometimes zbarimg does a better job and sometimes ZXingReader does, so add commands for both.
1 parent 1e2fb4f commit d500eff

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.config/gthumb/scripts.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,22 @@
7272
wait-command="true"
7373
for-each-file="true"
7474
/>
75+
76+
<script
77+
id="K5hLuNHp"
78+
shell-script="true"
79+
display-name="zbarimg"
80+
command="zbarimg -Senable -Scomposite.disable -- %F | zenity --text-info"
81+
wait-command="false"
82+
for-each-file="false"
83+
/>
84+
85+
<script
86+
id="SGjZetmd"
87+
shell-script="true"
88+
display-name="ZXingReader"
89+
command="ZXingReader %F | zenity --text-info"
90+
wait-command="false"
91+
for-each-file="false"
92+
/>
7593
</scripts>

.config/system-packages/debian/dseomn-meta/debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ Recommends:
253253
yubikey-touch-detector,
254254
yubioath-desktop,
255255
zbar-tools,
256+
zxing-cpp-tools,
256257
Suggests:
257258
blobwars,
258259
flightgear,

0 commit comments

Comments
 (0)