wip / i3wm ➔ hyprland

and, several clean-ups at the same time
This commit is contained in:
committer@tuxwarrior
2026-02-25 11:22:51 -05:00
parent 2620282282
commit c8ab69ca6d
31 changed files with 351 additions and 335 deletions

View File

@@ -1,4 +1,4 @@
# linux arch
# fro's arch linux installation
## step one :: usb drive preparation
@@ -36,7 +36,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- error: `dd: failed to open '/dev/sda': Device or resource busy`
- solution: using `gparted`, you can reformat the drive (from fat32) to ext4, then try again
## step two :: boot the iso
## step two :: boot from the iso
- boot the target system using the arch iso, and prepare for a [guided install](https://archinstall.archlinux.page/installing/guided.html)
- tuxwarrior: `F2` for BIOS
@@ -53,7 +53,9 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- solution
- re-install the ISO on another USB device
## step three :: generate config for new hosts
## step three :: generate config files for new host
please note, this step is only needed when arch is to be installed on a new host.
- on **new host**:
- `archinstall --dry-run`
@@ -94,7 +96,7 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- example: copied from `dots/archinstall/t470p` to `dots/archinstall/tuxwarrior`
- commit changes to this repo, adding the new host files
## step four :: arch install :: the basics
## step four :: install arch
- `ip link`
- `lo` (loopback - special device)
@@ -115,15 +117,16 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- password: [poq.L1]
- make sure both user .json files have been downloaded and updated
- two files should be listed: `user_configuration.json` and `user_credentials.json`
- check datestamp shown at the end when running the script
- check datestamp shown at the end when running the script [260225_comment: why?]
- `archinstall --config user_configuration.json --creds user_credentials.json`
- Install
- ➔ Would you like to chroot into ... perform post-installation config?
- `no`
- `reboot`
## step five :: arch install :: software & dot files (dots)
## step five :: setup dot files and install software
- note: it might be handy to comment out ALL packages in `packages.txt`, and only be installing one package at a time. this way obsolete packages, no longer needed, will not be installed on the new system
- log in as `poq`
- `nmtui` (activate internet connection)
- set up ct (caretaker - system management tool)
@@ -134,66 +137,47 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- `sudo ./ctsetup.sh`
- `sudo ct yay` (install yay, which is used to install aur packages)
- `sudo ct uf` (full update, install packages)
- same as running the two commands:
- `sudo ct s`
- `sudo ct dots`
- same as running the two commands `sudo ct s` (software) and `sudo ct d` (dots)
- `sudo ct dots+` (download wallpapers, fonts++)
- `sudo ufw enable` (enable firewall)
- loop install - untill all programs are successfully installed
- loop install - until all programs are successfully installed, as i have experiences not all being installed at once
- note that some packages (in `packages.txt`) might have to be removed, as they might no longer be active / be working
- `sudo ct s`
- `sudo ufw enable` (enable firewall)
- `reboot` & re-login
- `hypr.sh` (start hyperland)
- several windows will start
- in the background there might will be a window where you are asked to set password for the gnome keyring
- the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening
- press `escape` to close the gnome window
- ignore the pCloudDrive, Nextcloud and ProtonVPN windows
- open and close librewolf to have librewolf's profile directory being created
- start librewolf (`SUP + D``librewolf`)
- close librewolf
- open the terminal (`SUP + Enter`)
- create local sync folder for nextcloud
- `mkdir /home/poq/nextcloud`
- note: local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment`
- `ct s` (install sw that were not installed first time around - not sure why not all sw is installed the first time around)
- press `escape` to close the keyring window
- ignore the pCloudDrive, Nextcloud and other windows
- run `firstBoot.sh`
- this will start and close librewolf, for having the browser's profile directory being created, as well as creating a directory for nextcloud
- `ct dots` (the re-run of dots will deploy librewolf settings)
- `ct services` (enable services)
- `reboot` & re-login
- once again, press esc to close the gnome keyring window
- leave the other windows open
- open librewolf and log into bitwarden.com
- here you will find the needed usernames, passwords and one time codes for logging into the below mentioned applications
- settings ➔ change device name ➔ `YYMM - poq @ tuxwarrior`
- settings ➔ set as default browser
- settings ➔ and log into librewolf sync
- set up pCloud
- log in
- settings ➔ disk usage ➔ disk space: 2048 ➔ 10240 & cache size: 5120 ➔ 51200 (~51 gb)
- set up nextcloud
- log in
- using the credentials found at <https://vault.bitwarden.com/#/vault?folderId=aab7655a-38a5-4a6d-92e6-acdc00ff63b6>
- server address: `https://nx.op.fo`
- at this point the gnome keyring manager will pop up again, and ask for a password
- leave both (password and confirm) fields blank, and press continue, and chose to store passwords unencrypted
- _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_
- https://wiki.archlinux.org/title/GNOME/Keyring
- pick local folder (created above, like `/home/poq/nextcloud`), and
- choose `Synchronize everything from server`
- and disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages`
- pick local folder `/home/poq/nextcloud` and
- choose `Synchronize everything from server` and
- disable the two options `Ask before syncing folders larger than xxx` and `Ask before syncing external storages`
- click `Connect`
- wait for nextcloud to complete syncronisation
- this will likely take time. how long depends on the internet speed and the amount of data stored with nextcloud.
DOCUMENT CRYPTOMATOR AND KEY UPDATES! AND/OR - CHANGE KEY UPDATES FROM NEXTCLOUD TO CRYPTOMATOR??? OR,,,
- this will likely take some time. how long depends on the internet speed and the amount of data stored with nextcloud.
- when the sync is complete, continue with the next step
## step six :: post syncronisation tasks
- `syncDirSetup.sh` (will set up `~/syncDir`)
- `deploySshKeys.sh` (deployment of ssh keys)
- `importGnupgKeys.sh` (deployment of gnupgp keys)
- `importGnupgKeys.sh` (deployment of gpg keys)
- `gitReposSoftlinker.sh` (create softlinks to all repos at `~/syncDir/gitRepos/`)
- `chmodAllSh.sh` (fixes mode change from 14001 to 217 errors in repo)
- `reboot` and re-login
@@ -204,6 +188,15 @@ if the system runs nvidia, follow the steps in [nvidia.md](nvidia.md) to set up
## step eight :: post installation tasks
- **KEEPASSXC**
- `/home/poq/syncDir/secrets/keePassXC/passwordVaultA.kdbx`
- **PCLOUD**
- log in
- settings ➔ disk usage ➔ disk space: 2048 ➔ 10240 & cache size: 5120 ➔ 51200 (~51 gb)
- **KITTEN**
- `$ kitten themes 'cyberpunk neon'`
- to list all themes: `$ kitten themes`
@@ -250,6 +243,10 @@ if the system runs nvidia, follow the steps in [nvidia.md](nvidia.md) to set up
- `$ ssh git@gi.op.fo -p 2002`
- `Are you sure you want to continue connecting (yes/no/[fingerprint])? yes`
- **LIBREWOLF**
- settings ➔ change device name ➔ `YYMM - poq @ tuxwarrior`
- settings ➔ set as default browser
- settings ➔ and log into librewolf sync
- default browser:
- settings ➔ select the option to set librewolf as default browser
- default search engine: