Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nimadez/cli

A bunch of command-line scripts
https://github.com/nimadez/cli

android automation bash batch chrome cli command-line debian developer-tools linux network proxy python security shell termux ubuntu windows

Last synced: 3 months ago
JSON representation

A bunch of command-line scripts

Awesome Lists containing this project

README

        

# CLI

**Debian Assistant CLI**

Kernel 6.1.0 to 6.9.12

> - **.patch**: rarely used system scripts
> - **.unused**: unused scripts
> - **.windows**: frozen windows scripts

๐Ÿ”ทย ย GNOME Extensions
ย 

| Extension | GNOME |
| ------- | --- |
| panel-hwinfo-43@nimadez | 43 |
| panel-hwinfo-46@nimadez | 46 |

Add hardware info and transparency to panel
![hwinfo](media/screenshot.png)

## FAQ
How to install Debian with GNOME core desktop?
```
0- [Disable Secure Boot]
- Optional, but you have to sign the drivers manually
$ sudo mokutil --disable-validation
1- [Install Debian]
- Select "Expert Install"
- Install minimal debian 12 to start from command-line
- Do not select "allow login as root" to enable the "sudo" command
- Do not download or install extras, we're going to update the kernel
$ sudo apt edit-sources # comment out the "cdrom" line if needed
2- [Setup Networking]
$ ip link
$ sudo nano /etc/network/interfaces
$ sudo service networking restart
net-tether.sh # quick setup USB tethering (optional)
3- [Git Clone]
$ sudo apt install git
$ git clone https://github.com/nimadez/cli
4- [Select Branch]
apt-sources-gen.sh # generate debian sources.list
$ update && full-upgrade && reboot
5- [Software Installation]
apt-install-headers.sh # install kernel headers
apt-install-nvidia.sh # install nvidia driver, reboot is required (all non-free)
apt-install-gnome.sh # minimal gnome-core only, no firefox and games (all free)
apt-install-free.sh # install common free software
gnome-debloat.sh # be careful, it will remove the gnome-software
6- [Finish Installation]
swap-make.sh # make a swap file if you don't have a swap partition
purge-hard.sh # purge ~/.cache if you don't keep permanent files there

* Remember to reinstall kernel headers after every kernel update
* The above has been updated in reinstallation on Aug-29-2024

**************************************************
NOTICE: nvidia-kernel-dkms bug (driver 535/545, introduced in Aug 2024)
The nvidia kernel module fails to compile with linux-image-6.10.x in recent
Debian updates in testing/unstable (trixie/sid) and backported branches.
https://www.mail-archive.com/[email protected]/msg1988571.html
https://www.mail-archive.com/[email protected]/msg1983502.html
https://www.mail-archive.com/[email protected]/msg1984969.html
If you need nvidia-driver, you need to switch back to the stable branch (bookworm)
or target kernel 6.9.x which is not safe in terms of security issues.

Based on the above, I recommend installing option "3" in step 4 (stable-proposed).
**************************************************
```
How to run these scripts system wide?
```
sh install.sh
* This will symlink scripts to "/usr/local/bin" and remove extensions.
```

## History
```
โ†‘ 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."
```

## License
Code released under the [GPL-3.0 license](https://github.com/nimadez/cli/blob/main/LICENSE).

## Credits
- [Linus Torvalds](https://github.com/torvalds)
- [Debian](https://www.debian.org/)
- [GNOME](https://www.gnome.org/)