add thumbnail script
This commit is contained in:
7
make_thumbs.sh
Normal file
7
make_thumbs.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
FILES="$@"
|
||||||
|
for i in $FILES
|
||||||
|
do
|
||||||
|
echo "Prcoessing image $i ..."
|
||||||
|
/usr/bin/convert -thumbnail 200 $i "${i%.JPG}-thumb.JPG"
|
||||||
|
done
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Set Trackpoint sensetivity and speed up
|
# Set Trackpoint sensetivity and speed up
|
||||||
TPDEV="/sys/devices/platform/i8042/serio1/serio2"
|
TPDEV="/sys/devices/platform/i8042/serio1"
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
if [ -d "$TPDEV" ]; then
|
if [ -d "$TPDEV" ]; then
|
||||||
echo "Configuring Trackpoint"
|
echo "Configuring Trackpoint"
|
||||||
echo -n 255 > $TPDEV/sensitivity # Integer 128 Sensitivity
|
echo -n 200 > $TPDEV/sensitivity # Integer 128 Sensitivity
|
||||||
echo -n 255 > $TPDEV/speed # Integer 97 Cursor speed
|
echo -n 200 > $TPDEV/speed # Integer 97 Cursor speed
|
||||||
echo -n 4 > $TPDEV/inertia # Integer 6 Negative intertia
|
echo -n 4 > $TPDEV/inertia # Integer 6 Negative intertia
|
||||||
echo "Done."
|
echo "Done."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user