Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/b-sullender/debian-setup

Scripts for setting up a Debian system, including package installation, configuration of settings, and guided instructions.
https://github.com/b-sullender/debian-setup

automation debian linux scripts

Last synced: 13 days ago
JSON representation

Scripts for setting up a Debian system, including package installation, configuration of settings, and guided instructions.

Awesome Lists containing this project

README

        

# Debian Setup Scripts

These scripts automates the setup process for a Debian system, installing various software packages, configuring the GNOME desktop environment, and setting up development tools.

## Prerequisites

- A fresh installation of Debian.
- Access to a user account with root privileges.

**Important:** If you assigned a password to the root account during the Debian installation, your regular user account may not have root privileges. To grant root privileges to your regular user, add the user to the `sudo` group as follows:

1. Install the `sudo` package:
```shell
apt install sudo
```

2. Add your user to the `sudo` group:
```shell
usermod -aG sudo
```
Replace `` with your actual username.

## Usage

To set up your Debian system, follow these steps:

1. **Install Required Packages**
Run the following command to install necessary tools:
```shell
apt install -y wget zip git
```
*Optional:* For driver installation, refer to the [Installing Drivers](drivers.md) guide.

2. **Clone the Repository**
Use `git` to clone this repository:
```shell
git clone https://github.com/b-sullender/debian-setup.git
```

3. **Navigate to the Repository Directory**
```shell
cd debian-setup
```

4. **Run the Setup Script**
Execute the setup script:
```shell
bash bookworm.sh
```

Follow the prompts during execution and provide any required inputs.

## GNOME

If your using the GNOME desktop environment or want to install it with the recommended configuration, run the GNOME configuration script:
```shell
bash config-gnome.sh
```

### 4K Resolution & Above

If you are using a 4K resolution or higher, you may want to scale the login screen accordingly. Follow these steps to adjust the login screen scaling:

1. Create an override file by running the following command:
```shell
echo -e "[org.gnome.desktop.interface]\nscaling-factor=2" | sudo tee /usr/share/glib-2.0/schemas/93_hidpi.gschema.override > /dev/null
```
Note: Change the value of `scaling-factor` (e.g., `2`) to fit your needs.
2. Reinitialize the schemas by executing the following command:
```shell
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
```

This will successfully scale the login screen for 4K resolution and above.

LICENSE TERMS
=============
```
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.
```

## Contributing

Contributions are welcome! If you have any improvements or bug fixes, feel free to open an issue or submit a pull request.

## Disclaimer

Please use this script at your own risk. It is recommended to review the script and ensure it aligns with your system requirements before running it. We are not responsible for any damages or data loss caused by the use of this script.

## Contact

For any questions or feedback, please feel free to contact the script maintainer:

- Maintainer: [Brian Sullender](https://github.com/b-sullender)

## Screenshot

![Screenshot](screenshot.png)