#!/bin/bash
if [ "$1" = "-c" ]; then
shift
fi
exec meld "$@"
Then do a chmod +x kompare
Add ~/bin to the path in .bashrc and .profile
Add "Compare Files" to Dolphin's Toolbar
## Add your username to the sudo group
su -
usermod -aG sudo daalvarez
Check if you were added:
cat /etc/group | grep sudo
groups
## Update your system
sudo apt update
sudo apt upgrade -y
# Add "contrib non-free" and backport repositories
sudo vi /etc/apt/sources.list
Add to the end of line of /etc/apt/sources.list "contrib non-free". For example:
"contrib non-free"
deb http://deb.debian.org/debian trixie main non-free-firmware
changes to:
deb http://deb.debian.org/debian trixie main non-free-firmware contrib non-free
sudo sed -i.bak 's/main$/main contrib non-free/' /etc/apt/sources.list
And then:
sudo apt update
sudo apt upgrade -y
## Install missing programs
* audacity: An open-source, multi-track digital audio editor and recorder.
* btop: Monitors system resources (CPU, memory, disks, network, and processes) through a modern, interactive terminal interface.
* command-not-found: Suggests the correct package to install when you type a command that is missing from your system.
* curl: Transfers data to or from a network server using a wide variety of protocols (like HTTP, HTTPS, FTP) via the command line.
* dictd: A database server that allows looking up word definitions using the DICT protocol.
* fastfetch: Displays system information layout alongside an ASCII logo cleanly and rapidly inside the terminal.
* ffmpeg: Decodes, encodes, transcodes, muxes, demuxes, streams, filters, and plays almost any multimedia file format.
sudo apt install audacity btop command-not-found curl dictd fastfetch ffmpeg
* fonts-croscore: Bundles Google's ChromeOS core fonts designed to replace common proprietary Windows typefaces.
* fonts-crosextra-caladea: Supplies a serif typeface metrically compatible with Microsoft's Cambria font.
* fonts-crosextra-carlito: Supplies a sans-serif typeface metrically compatible with Microsoft's Calibri font.
* fonts-firacode: Installs a monospaced font with programming ligatures designed for better code readability.
* fonts-jetbrains-mono: Delivers a highly legible monospaced font tailored specifically for developers and code editors.
* gimp-data-extras: Adds a collection of extra brushes, patterns, and gradients to expand GIMP's creative toolkit.
* git-lfs: A Git extension that efficiently manages and stores large files (like videos or images) outside the main repository.
* gnupg: Implements the OpenPGP standard to allow you to securely encrypt and sign data and communications.
* hunspell-es: The Spanish dictionary used for spell-checking in applications like LibreOffice and Firefox.
* hyphen-es: Spanish syllabification and hyphenation rules used for automatic text layout in word processors.
* htop: Displays an interactive, real-time list of running processes and system resource usage.
* ImageMagick: A command-line software suite used to create, edit, compose, or convert bitmap images.
sudo apt install fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito fonts-firacode fonts-jetbrains-mono gimp-data-extras git-lfs gnupg hunspell-es hyphen-es htop imagemagick
* inkscape: A professional, open-source vector graphics editor similar to Adobe Illustrator or CorelDraw.
* kompare: A graphical KDE tool used to compare text files and view differences (diffs) between them.
* krename: A powerful KDE batch file renamer that allows renaming multiple files simultaneously.
* kruler: An on-screen pixel ruler for the KDE desktop to measure screen distances and visual dimensions.
* krusader: An advanced, twin-panel (commander-style) file manager for the KDE desktop environment.
* libimage-exiftool-perl: A Perl library and command-line application for reading, writing, and editing metadata (EXIF, IPTC, XMP) in files.
* libreoffice: Bundles a full-featured, open-source office suite including word processing, spreadsheets, and presentations. Even though it is already installed in Debian, you should do it again, since it installs additional files.
* libreoffice-gtk3: Integrates LibreOffice smoothly into modern desktop environments by enabling the GTK3 user interface plugin (improves fonts in libreoffice).
* lsb-release: Prints specific information about your current Linux distribution's release details.
* mc (Midnight Commander): A classic, text-based visual file manager with a dual-panel layout for the terminal.
* meld: A graphical diff viewer and merge tool that helps compare code, files, and directories visually.
* ncdu: Analyzes and visualizes disk usage interactively inside the terminal using an ncurses interface.
* nload: Monitors network traffic and bandwidth usage in real time using simple text-based graphs.
sudo apt install inkscape kompare krename kruler krusader libimage-exiftool-perl libreoffice libreoffice-gtk3 lsb-release mc meld ncdu nload
* ocrmypdf: A tool that adds a searchable text layer to image-only PDF files using Optical Character Recognition (OCR).
* octave (GNU Octave): A high-level language and numerical computation environment that is mostly compatible with MATLAB.
* pdftk: A command-line toolkit used to manipulate, split, merge, encrypt, and fill forms in PDF documents.
* plocate: it contains updatedb.
* pydf: Displays your system's free disk space in a color-coded, easier-to-read format than the traditional df command.
* p7zip-full: Packs and unpacks advanced 7z high-compression archives along with standard zip and tar files.
* python3-pip: Installs and manages software packages and external libraries written for the Python 3 runtime environment.
* subversion (SVN): A centralized version control system used to manage and track changes in source code and files.
* synaptic: Governs advanced package installations, updates, and removals through a graphical APT package manager interface.
* tesseract-langpack-spa: The Spanish language data pack for the Tesseract open-source OCR engine.
* texlive-full: A complete installation of the TeX/LaTeX typesetting system, including all packages, fonts, and languages.
* texstudio: A fully-featured Integrated Development Environment (IDE) specifically tailored for writing LaTeX documents.
* tree: Lists the contents of directories in a visual, tree-like structure.
sudo apt install ocrmypdf octave plocate pdftk pydf p7zip-full python3-pip subversion synaptic tesseract-ocr-spa texlive-full texstudio tree
* ttf-mscorefonts-installer: An installer script that downloads and configures Microsoft's core TrueType fonts (like Arial and Times New Roman) on Linux.
* unrar: Extracts files from proprietary RAR archive formats that standard compression tools cannot open.
* vim: Edits text efficiently as a highly configurable, powerful terminal-based text editor.
* vlc: A free, open-source, cross-platform multimedia player that runs almost all video and audio formats.
* workrave: A health management program that assists in preventing Carpal Tunnel Syndrome by prompting the user for regular breaks.
* wxmaxima: A graphical user interface based on menus and dialogs for the Maxima Computer Algebra System (symbolic math).
* xournalpp: A hand-written note-taking and PDF annotation application designed for drawing tablets and digital pens.
* wget: Downloads files and web content from internet servers non-interactively via the command line.
sudo apt install ttf-mscorefonts-installer unrar vim vlc workrave wxmaxima xournalpp wget
Now download, from their webpages, the corresponding .DEB file:
Anaconda
Antigravity
Visual Studio Code: https://code.visualstudio.com/docs/setup/linux
Brave browser https://brave.com/linux/
Google Earth Pro
XodoPDFReader (pdfstudioviewer)
qgis
FSPViewer (see 360° photos)
## Configure git-lfs
See webpage of this program
## Configure command-not-found bash-completion
sudo apt update
sudo update-command-not-found
## Install flatpak
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
## Optimize Power and Performance (Especially on Laptops)
This increases battery life:
sudo apt install tlp tlp-rdw
sudo systemctl enable tlp
## Append to the end of .bashrc:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export EDITOR=vim
alias ll='ls -alF'
## Disable GPU for VSCODE (in my older computer)
cp /usr/share/applications/code.desktop ~/.local/share/applications/
Edit ~/.local/share/applications/code.desktop and modify the Exec= line:
Exec=/usr/share/code/code --disable-gpu %F
Append to the end of .bashrc:
alias code='code --disable-gpu'
## Disable GPU for BRAVE BROWSER (in my older computer)
Edit /usr/share/applications/brave-browser.desktop and modify the Exec= line
Exec=/usr/bin/brave-browser-stable --disable-gpu --disable-software-rasterizer %U
## Fix VIM pasting issue
https://blog.programster.org/fix-vim-pasting-issue
echo "set mouse=r" >> ~/.vimrc
echo "set mouse=r" | sudo tee -a /root/.vimrc
## Enable syntax highlighting on VIM
echo "syntax on" >> ~/.vimrc
## Timeshift and rsync
https://www.linuxtechi.com/top-things-to-do-after-installing-debian/
## Solving some errors:
This error appears after starting DEBIAN 13:
IBus should be called from the desktop session in Wayland. For KDE, you can launch 'systemsettings5' utility and go to "Input Devices" -> "Virtual Keyboard" section and select "IBus Wayland" icon and click "Apply" button to configure IBus in Wayland. For other desktop sessions, you can copy the 'Exec=' line in org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop file to a configuration file of the session. Please refer each document about the "Wayland input method" configuration. Before you configure the "Wayland input method", you should make sure that QT_IM_MODULE and GTK_IM_MODULE environment variables are unset in the desktop session.
HOW TO SOLVE IT
Open System Settings from your application launcher.
In the left-hand sidebar, navigate to Keyboard (or Input Devices depending on your sub-version).
Click on Virtual Keyboard.
Select the IBus Wayland icon from the options.
Click Apply in the bottom-right corner.
NOW IT APPEARS:
Please unset QT_IM_MODULE and GTK_IM_MODULE environment variables and 'ibus-daemon --panel disable' should be executed as a child process of ibus-ui-gtk3 component.
HOW TO SOLVE IT
Open your terminal and execute the configuration helper to explicitly tell Debian not to use legacy frameworks for your desktop inputs:
im-config -n none