GeekTips
109 subscribers
586 photos
3 videos
77 files
231 links
Linux Mint, video encoding, ffmpeg, geek tips, regex, pdf manipulation, substitcher, mpv config
Download Telegram
bforartists - 3D suite to create 3D content

Bforartists is a fork of the popluar open source 3D software Blender. The primary goal of the Bforartists fork is to deliver a better graphical UI and a better usability. This means a complete switch in the usage philosophy. Away from the hotkey and speed centered usage. Towards a user friendly and intuitive graphical UI.

This makes Blender much easier to use.
draw.io app free online to create diagrams which can be saved as HTML, png, svg (vector). If you like it download the appimage or install deb file.
Listen and find radio stations. Can bookmark favorites and export playlist https://radiolise.gitlab.io/
IPTV (internet TV) here are 7,000+ channels to use in app Hypnotix on Linux MInt
https://github.com/iptv-restream/iptv-channels

just paste the URL with m3u extension into the Provider section
Learning linux command line programs use mankier.com as it'll display the man (manual pages) of most apps. Easier to see with the color syntax highlighting
Covered how to setup VNC to remote control your Linux Mint computer here https://t.iss.one/geektips/13

Another way is to use X2Go
on your linux computer client (windows and Mac clients exist too) It can do remote printing and sound too.
sudo apt install x2goclient 

on the Linux Mint server start openssh daemon
sudo systemctl enable ssh

then install the X2Go server
sudo apt install x2goserver x2goserver-xsession

Now start x2goclient and put in the ip address ifconfig of the server and the username of a user on the linux server along with their password to connect.
Logitech keyboard and mouse can use a universal usb receiver with an orange * indicating you can pair up to six Logitech devices at once. On linux use solaar to pair them
sudo apt install solaar
sudo apt remove blueberry

sudo apt install blueman

Blueberry (comes with Linux Mint) is for bluetooth but isn't as stable as Blueberry which is a applet for gnome-bluetooth which just works reliably. Once you install blueman reboot your computer.

Note: Apple Magic Keyboard won't work properly just a few keys if you have NumLock enabled on laptop.
Remove GNOME file indexing tracker as it slows down the system

sudo apt remove tracker tracker-extract tracker-miner-fs

Then reboot
sudo npm install -g tldr

if you don't have npm and nodejs installed then do
sudo apt install nodejs npm

TLDR (too long, didn't read) is like quick, concise man (manual pages) ..so instead of
man ocrmypdf 
and getting a long manual pages explaining everything in detail with you skimming for the useful options — instead do

tldr ocrmypdf 

and you get this:

ocrmypdf

Generate a searchable PDF or PDF/A from a scanned PDF or an image of text.
More information: https://ocrmypdf.readthedocs.io/en/latest/cookbook.html.

- Create a new searchable PDF/A file from a scanned PDF or image file:
    ocrmypdf path/to/input_file path/to/output.pdf

- Replace a scanned PDF file with a searchable PDF file:
    ocrmypdf path/to/file.pdf path/to/file.pdf

- Skip pages of a mixed-format input PDF file that already contain text:
    ocrmypdf --skip-text path/to/input.pdf path/to/output.pdf

- Clean, de-skew, and rotate pages of a poor scan:
    ocrmypdf --clean --deskew --rotate-pages path/to/input_file path/to/output.pdf

- Set the metadata of the searchable PDF file:
    ocrmypdf --title "title" --author "author" --subject "subject" --keywords "keyword; key phrase; ..." path/to/input_file path/to/output.pdf

- Display help:
    ocrmypdf --help

also can search with -s option

tldr -s configure network
Searching for: configure network

$ docker-network
$ lxc-network
$ az-network
$ networksetup (Available on: osx, osx)
$ ip-link
$ ipconfig (Available on: windows, windows, windows, windows)
$ networkquality (Available on: osx)
$ ip-address
$ git-config
$ nload

Run tldr <command> to see specific pages.
GMIC-Qt 500+ filters.
To use the awesome G'MIC filters download Ubuntu 20.04 debian file.
for Linux Mint 20.3
gmic_3.0.2_ubuntu20-04_focal_amd64.deb
https://gmic.eu/download.html

Or here is the gallery from the homepage which I made into a PDF https://t.iss.one/geektips/160

To see an overview of all the filters GMIC 3.0.0 (released December 2021) can do see here
https://discuss.pixls.us/t/release-of-gmic-3-0/17226
Some GMIC artistic filters from the GMIC gallery
I wish to make a PDF for reference for the entire gallery. So I screenshot all of them using SHIFT + PrintScreen and open each one in Fotoxx and save them.

Open fotoxx and choose Montage and 1 column and ADD ALL images in the directory and it makes the montage.

tldr img2pdf

img2pdf

Command-line lossless converter of raster images to PDF.
More information: https://gitlab.mister-muffin.de/josch/img2pdf.

- Convert multiple images to a single PDF, each image being on its own page:
    img2pdf path/to/image1.jpg path/to/image2.jpg --output path/to/file.pdf

- Convert only the first frame of a multi-frame image to PDF:
    img2pdf path/to/file.gif --first-frame-only --output path/to/file.pdf

- Auto orient the image, use a page size of A4 in landscape mode, and set a border of 2cm horizontally and 5.1cm vertically:
    img2pdf path/to/file.jpg --auto-orient --pagesize A4^T --border 2cm:5.1cm --output path/to/file.pdf

- Shrink only larger images to a 10cm by 15cm rectangle inside a 30x20cm page:
    img2pdf path/to/file.tiff --pagesize 30cmx20cm --imgsize 10cmx15cm --fit shrink --output path/to/file.pdf

- Convert an image to PDF, and specify metadata for the resulting file:
    img2pdf path/to/file.png --title title --author author --creationdate 1970-01-31 --keywords keyword1 keyword2 --subject subject --output path/to/file.pdf

So I did this command to get a PDF by lossly converting image to PDF
img2pdf /home/mint/Pictures/gmicgallery/montage.jpg  --output gmicgallery.pdf
Fotoxx montage choosing 1 column and adding all images to stitch them together
gmicgallery.pdf
4.8 MB
GMIC entire filter gallery for quick reference.

Note these are just some of the 500+ available filters to use but gives a quick overview of some you may wish to use on your photos / images.
search & replace with regex (regular expressions) to strip out unwanted text till the the ( starts

.*\(
the . says any character except a new line
the * says unlimited
\ is an escape character for (

This way I now have the links to paste into videomass which is a frontend GUI for yt_dlp

BTW if videomass can't find your yt_dlp you must install it with the python method
python3 -m pip install -U yt-dlp

You can update yt-dlp anytime with
yt-dlp -U
AppImages run on any linux distro and contain all dependencies. Similar to flatpak (which is ok) and the terrible and must remove if you have it snap.

Download appimage into a directory then right click on appimage — Permissions — check Allow this file to run as a program


Compatibility with most linux distributions.

Simple to run i.e download,make it executable and run.since it is not installed no system libraries are altered.

Download and use trusted software directly from the original author(s).

Uninstalling is as simple as just deleting the file.