Skip to content

Instantly share code, notes, and snippets.

View stwobe's full-sized avatar

Steve Roberts stwobe

View GitHub Profile
@stwobe
stwobe / Checksums_2022.txt
Last active December 16, 2022 19:47
AV Linux MXE - Checksums
# terminal 1
gpg --keyserver keyserver.ubuntu.com --recv-key 274FED3B70958763
gpg --verify AV_Linux_MX_Edition-21.2.1_ahs_x64.iso.sig
# slightly different to command seen on
http://www.bandshed.net/avlinux/
- removed "s" from recv-keys and removed protocol from server address
------
# terminal 2
@stwobe
stwobe / add_file_extenstion
Created December 13, 2022 18:09
Add .jpeg extenstion to files
find . -type f \
-not -name "*.*" \
| while read FILE; \
do if [ $(file --mime-type -b "$FILE") \
== "image/jpeg" ]; \
then mv "$FILE" "$FILE".jpg; fi; done;
# link
https://www.baeldung.com/linux/bash-add-file-extension
@stwobe
stwobe / TV_resize_01.txt
Last active December 8, 2022 17:09
Monitor - resize - TV - command - xrandr - VLC scale
xrandr --output HDMI-0 --set underscan on --set "underscan vborder" 25 --set "underscan hborder" 40
# Also: maybe:
xrandr --output HDMI-0 --transform 0.9,0,0,0,0.9,0,0,0,1
# VLC
env QT_AUTO_SCREEN_SCALE_FACTOR=0 vlc
@stwobe
stwobe / search_and_copy_multiple_files_from multiple_locations_to_one_destination
Created November 3, 2022 21:05
Search and copy multiple files from multiple locations to one destination - Linux command line
find . "*.wav" -print0 | xargs -0 cp -t ~/Music
# referenced from
# https://stackoverflow.com/questions/26234041/is-it-possible-to-pipe-the-results-of-find-to-a-copy-command-cp
# find . -iname "*.SomeExt" -print0 | xargs -0 cp -t Directory
@stwobe
stwobe / mx_mouse.txt
Last active September 29, 2020 21:33
Fix mouse cursor - MX Linux - Sep 2020
https://unix.stackexchange.com/questions/69033/mouse-cursor-became-a-big-x
xsetroot -cursor_name left_ptr
https://askubuntu.com/questions/1031400/mouse-cursor-turned-into-a-thick-plus-cannot-click-but-mouse-can-move
python!
bg..
https://forums.bunsenlabs.org/viewtopic.php?id=399
.Xsession
@stwobe
stwobe / answerphone_EE
Created December 5, 2017 22:24
Changing the length of rings before going to answerphone
**61*07953222222**20#
20 seconds of ringing
(This will also switch voicemail on, if it's not currently on.
Via https://www.mobilefun.co.uk/blog/2009/03/make-your-phone-ring-for-longer-before-going-to-voicemail/
spell < text.txt > error.log
from
http://www.tldp.org/LDP/intro-linux/html/sect_05_01.html