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
Ezshare made by LosslessCut author expands on qrcp by generating a QR Code enabling you to easily share multiple files on your local area network without need for the internet. Also can share clipboard contents both ways.
sudo apt install nmap

sudo nmap -O 192.168.0.*
scans your entire network in about a minute to check for open ports and the -O (letter o not zero) does OS fingerprinting and requires sudo. No need to install a fancy IP scanner GUI.

Nmap scan report for 192.168.0.254
Host is up (0.014s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
23/tcp open telnet
80/tcp open http
MAC Address: (Netgear)
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6
OS details: Linux 2.6.9 - 2.6.30
Network Distance: 1 hop

Nmap scan report for geektips-laptop (192.168.0.19)
Host is up (0.00010s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
5900/tcp open vnc
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops

OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 256 IP addresses (8 hosts up) scanned in 45.32 seconds
BASH keyboard shortcuts

• Alt+Backspace: Deletes the previous word.
• Ctrl+U: Cuts all text up to the cursor.
• Ctrl+K: Cuts all text after the cursor until end of line.
• Ctrl+A: Moves the cursor to the start of line.
• Ctrl+E: Moves the cursor to the end of line.
Appimages

Fotoxx — image editor
freac — mp3 —> opus
Inkscape — vector drawing
czkawka — file duplicates
LosslessCut — video / audio cuttings, muxing
MKVToolNix — mkv editing, muxing
qprompt — teleprompter
Shotcut — video editor
tageditor — m4b cover, metadata

flatpaks

Foliate — epub reader
Minder — mind mapping
telegram — social media
TextShine — remove line breaks, text maniuplation

Some apps not installed via apt / debian

Annotator — image editor, blur, magnifier, text, crop, resize
authpass — password manager
komga — java PDF, book server
Outliner — create outlines, export markdown, Minder, OPML

command line apps

btop++ — system monitor, CPU temp
inxi — displays hardware info
m4b-tool — create m4b chaptered audiobooks
ncdu — navigate and display disk usage
neofetch — system info
proftpd — ftp server for Foobar2000 client on phone
ocrmypdf — ocr and optimize PDFs
rpiplay — mirror iphone / ipad on linux
s-tui — system monitor
tldr — too long didn't read more concise than man pages

Python apps
sudo apt install pip

yt-dlp — youtube download, etc for videomass
sudo pip3 install yt-dlp

Node.js apps
if you don't have npm and nodejs installed then do
sudo apt install nodejs npm

ezshare — transfer multiple files QR Code to phone
sudo npm install -g ezshare

TLDR
(too long, didn't read) is like quick, concise man (manual page)

sudo npm install -g tldr
List of Linux apps I use

Argos-Translate — offline translator / libretranslate
Atom - text editor
Bforartists — Blender but improved UI
bookletimposer — create PDF booklets
Celluloid — movie player
Cozy — audiobook player
CudaText — text editor
Darktable — RAW image editor
Deadbeef — audio player, m4b audiobook player
Dictionary — xfce dictionary client
Document Viewer — evince PDF viewer, highlighter
drawio — diagram
ExifCleaner — clean metadata from images, videos, PDFs
Firefox — webbrowser with 3 extensions: Dark Background and Light Text, DownthemAll, UBlock Origin
GMIC-Qt — 500+ image filters
Geany — text editor, IDE
Host Minder — block porn, spam, gambling
Hypnotix — internet tv
LibreOffice — word processor, spreadsheet, presentation
Master PDF Editor — PDF viewer, dark mode, highlighter
OpenBoard — educational sharing desktop tool
PDF Arranger — merging, rearranging, splitting, rotation, cropping PDFs
Remmina — vnc, rdp remote viewer
Ristretto Image viewer — XFCE image viewer
sgt-puzzles — Simon Tabatha’s Puzzle collection
SimpleScreenRecorder — records video of screen or selected area
Solaar — Logitech Unifying receiver for mouse and keyboard
Transmission — downloading bittorrent Linux ISO images
Veracrypt — file encryption
Videomass — video encoder, video downloader (yt-dlp)
Virtual Machine Manager — libvirt, QEMU linux distros
VLC — music player, video player
X2Go Client — remote control LInux computer
Zathura — dark mode PDF reader
Found four apps from the same author. I was trying to get back into CherryTree which is a hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file. I just couldn't get into it. I've used for many years $10 iThoughts mind mapping app on iOS and it's also on Mac. So I went searching for the best mind mapping app. There are a few but most are subscription based and not free. I finally found one I simply did

sudo apt install minder
and I was quite impressed as I thought it did most of what iThoughts can do. Then I realized it was version 1.5.1 from 2019. So I tried to install from source but main problem was it needed libgranite-dev 6.0 but I couldn't figure out how to install it even download a few deb files.

Dependency granite found: NO found 5.3.0 but need: '>=6.0'

However, there is a flatpak for it an it's up2date 1.14.0 which was released 3 weeks ago. You can search for it in the Software Manager and install it from there.
Minder overview mind mapping / flowchart app
MinderKeyboardShortcuts.pdf
31.8 KB
Here is a PDF I made with Minder just showing all the keyboard shortcuts in the app. It was about a 15 to 30 minute learning curve and then it was quite easy to add a child, and navigate around.

edit: this isn't cropped so will post that below
Minderkeyboardshortcuts.png
646.8 KB
Here's a PNG image of Minder Keyboard Shortcuts. Most likely have to download it and open it in an image viewer to zoom in.
MinderKeyboardShortcutsLight.pdf
28.9 KB
White background light version of Minder Keyboard Shortcuts
outliner.html
15.6 KB
Now a competitor to CherryTree I'd say would be Outliner. Still need to learn it but here is an export to Outliner and imported from Minder to Outliner to give you an idea of how you can create hierarchical outlines. Exported to HTML

Install Outliner Flatpak and grant Outliner under File Permissions | All user files | filesystem=home in Flatpak app Flatseal
Annotator one is so so so much better than Ksnip (really don't like KDE apps). I plan on using this one for basically text. Has cropping and resizing too.

Install Annotar Flatpak and grant Annotator under File Permissions | All user files | filesystem=home in Flatpak app Flatseal
And the fourth app by the same author is TextShine which you can install the flatpak. Has Remove Line Breaks and Single Return with 2 Returns and other nifty text modifications.
Outliner and Minder when exporting to PDF do leave a lot of white space which needs to be trimmed / cropped. Krop seemed promising but sudo apt install krop worked with the previous version and pip install put the latest version but I couldn't get it to work at all. PDF Arranger has a crop feature but it's to hide only and have to put in percentage. So I came up with two viable solutions. Master PDF Editor (free version) for manual cropping a page or a few. pdf-crop-margins for auto cropping (removing white space).
Need to crop all white space from PDF
Master PDF Editor 5 (free edition) can do this by manually selecting the area to keep. Click Document | Crop Pages.

To crop a very long PDF and need to zoom in like 500% to see the corners. Simply hitting spacebar many times or just holding it down takes you down to the bottom of the document while you're cropping Ctrl-K.
To install pdfcropmargins

sudo apt install python3-pip ghostscript poppler-utils python3-setuptools python3-tk

and then
pip3 install pdfCropMargins[gui] --user --upgrade

to run it open your file manager then find the document and right click and choose Open Terminal here

pdf-crop-margins -v -s -u -gui whatever.pdf
I set the margins to 0 which could be done on the command line -p 0 but with the GUI you can see the results. Press crop and it'll output whatever_cropped.pdf file
MinderKeyboardShortcuts_cropped.pdf
26.5 KB
MinderKeyboardShortcuts cropped
MinderKeyboardShortcutsOutliner_cropped.pdf
27.3 KB
MinderKeyboardShortcuts Outliner cropped
Two Color Palette apps (free) install as flatpaks within Software Manager. First one on the left is Palette and one on the right is Color Palette.