Skip to content

nimadez/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI

Debian Assistant CLI

Type Supports
Kernel 6.1.0-37, [ 6.12.38 ]
Branch Bookworm, [ Trixie ]
Desktop GNOME, KDE

This repository contains a variety of scripts for working with the Debian OS and the Linux kernel, from installation to everyday scripts.

This repository is not optimized for the end-user in any way, and does not contain any binary files.

Minimal Debian Installation

Last update: Aug-2025 (debian-13.0.0)

0- [Disable Secure Boot]
   $ sudo mokutil --disable-validation

1- [Install Debian]
   - Select "Expert Install"
   - Install minimal Debian to start from command-line
   - Do not select "allow login as root" to enable the "sudo" command
   - Do not download or install extras (no desktops)
   - Minimum recommended partitions:
      ├─ #1 VFAT  /boot/efi   ==1.0 GB
      ├─ #2 EXT4  /           >16.0 GB (>24.0 GB swap as file, depends on RAM)
      ├─ #3 EXT4  /home       ∞
      └─ #4 EXT4  /media      ∞
      * I don't use a swap partition because I want it to be variable,
        hibernate/suspend works in GNOME without GRUB configuration,
        but "systemctl hibernate" doesn't work even after configuring GRUB. (see .defective/swap-grub.sh)
   $ sudo apt edit-sources    # comment out the "cdrom" line if needed

2- [Setup Networking: Automatic via Tether]
   net-tether.sh              # quick setup USB tethering

   [Setup Networking: Manual]
   $ ip link
   $ sudo nano /etc/network/interfaces
   Add lines:
      allow-hotplug {interface-name}
      iface {interface-name} inet dhcp
   $ sudo service networking restart

3- [Git Clone]
   $ sudo apt install git
   $ git clone https://github.com/nimadez/cli

4- [Select Branch]
   apt-sources.sh             # generate sources (debian only, no extra sources)
   $ sudo apt update && sudo apt -y full-upgrade
   $ sudo reboot

5- [Software Installation]
   apt-install-headers.sh     # install kernel headers
   apt-install-nvidia.sh      # install nvidia driver, reboot is required (non-free - optional)
   apt-install-cuda.sh        # install nvidia cuda toolkit (non-free - optional)
   apt-install-free.sh        # install common free software (99.9% free)

6- [Desktop Installation: GNOME]
   apt-install-gnome.sh       # minimal gnome-core with a minimal set of software (free)
   gnome-debloat.sh           # it will remove the gnome-software and printer services

   [Desktop Installation: KDE]
   apt-install-kde.sh         # minimal kde-plasma-desktop with a minimal set of software (free)

7- [Finish Installation]
   swap-make.sh               # make a swap file if you don't have a swap partition
   purge-cache.sh             # purge ~/.cache if you don't keep permanent files there
  • Trixie "stable-proposed" branch without "backports" is recommended. (option 3 in step 4)
  • Remember to reinstall kernel headers after every kernel update. ("testing" branch only)
  • Installing multiple desktops together is not recommended, just install GNOME or KDE.
  • Wayland is disabled in "apt-install-gnome.sh". (fixes multiple issues in GNOME 48)
  • KDE installation supports themed login screen, system-settings and X11 windows.
  • GNOME and KDE are both ~300 MB download, handpicked with almost identical features.
  • You can skip step 6 and use pure debian via the command-line, or install another desktop.

GNOME Extensions

Extension Version
panel-hwinfo-48@nimadez 48 - Trixie
panel-hwinfo-43@nimadez 43 - Bookworm
  • Add hardware info and transparency to panel
  • CPU usage + Temp, GPU temp + Fan speed, Memory + Swap

hwinfo

FAQ

How to run these scripts system wide?

$ sh install.sh

This will symlink scripts to /usr/local/bin and remove extensions.
All .sh, .py, and .js files in the /usr/local/bin directory will be affected.

Are there any other free software you would recommend?

Firefox, VSCodium, Blender, Inkscape, GIMP, Krita, Kdenlive ...

What are Trixie's specific changes?

- apt-sources.sh is set to Trixie by default
- Wayland is disabled in apt-install-gnome.sh
- Add "gnome-session-xsession" package to apt-install-gnome.sh 
- Add "libgdk-pixbuf2.0-bin" to apt-install-gnome.sh (enable nautilus thumbnails)
- gnome-debloat.sh includes more junks (weather, calendar, maps, etc.)
- gnome-extension updated to support GNOME 48
- Python .venv and related content updated to version 3.13
- Compiles against kernel 6.12.38/cuda 12.4 (llama-cpp, ffmpeg, python 3.11, etc.)

History

↑ Upgrade to Debian 13 Trixie with GNOME 48 / KDE 6.3.6
↑ All Linux, currently all my devices are Linux based
↑ Celebrating 1 year with Linux on the everyday desktop PC 🎂
↑ Wine requirement reduced to zero, migration completed
↑ Debian Assistant CLI
↑ Q1 2024 - Migrating to Debian Linux after 30 years of MS-DOS/Win32
↑ Created in 2019 for system automation on Windows machine

"A machine can reprogram another machine from scratch."

"I had something like undo syndrome in the first year, which was both annoying and pleasant in the mornings. Today, that condition seems to be gone, but a little of that pleasant mood still remains."

License

Code released under the GPL-3.0 license.

Credits