diff options
| -rw-r--r-- | TODO.org | 189 | ||||
| -rwxr-xr-x | archsetup | 3 |
2 files changed, 138 insertions, 54 deletions
@@ -1,6 +1,89 @@ === ArchSetup Tasks === +* Velox Setup +** TODO [#C] Test new apps +:LOGBOOK: +- State "TODO" from [2024-11-09 Sat 10:24] +:END: +- [ ] foliate setup properly with resetmimetypes and calibre +- [ ] boxbuddy tested +- [ ] gnome-boxes tested +- [ ] archdev created +- [ ] betterlockscreen tested along with nitrogen +** TODO [#C] Walk through ranger config +:LOGBOOK: +- State "TODO" from [2024-11-09 Sat 10:28] +:END: +** DONE [#B] Check into issues with Chrome and Electron Apps (like Obsidian) +CLOSED: [2024-11-09 Sat 12:28] +:LOGBOOK: +- State "DONE" from "DOING" [2024-11-09 Sat 12:28] +- State "DOING" from "TODO" [2024-11-09 Sat 11:50] +- State "TODO" from [2024-11-09 Sat 10:28] +:END: +Problem Statement: +- When right clicking in an area, the surrounding menu has a buffer of 10 px, and it's black. +- When selecting a button, typing text, or using any of the UI elements, the screen doesn't refresh until it's resized or redrawn. + +SOLUTION: Removing xf86-video-intel driver solved the problem. +*** DONE Run through theories +CLOSED: [2024-11-09 Sat 12:26] +:LOGBOOK: +- State "DONE" from "DOING" [2024-11-09 Sat 12:26] +- State "DOING" from "WAITING" [2024-11-09 Sat 11:43] +- State "DOING" from "PROJECT" [2024-11-09 Sat 11:43] +- State "TODO" from [2024-11-09 Sat 11:43] +:END: +**** DONE It's the compositor (it's not) +CLOSED: [2024-11-09 Sat 11:47] +:LOGBOOK: +- State "DONE" from [2024-11-09 Sat 11:47] +:END: +killed picom and the same thing's happening + +**** DONE It's the wrong video driver +CLOSED: [2024-11-09 Sat 12:26] +:LOGBOOK: +- State "DONE" from "DOING" [2024-11-09 Sat 12:26] +- State "DOING" from "PROJECT" [2024-11-09 Sat 11:43] +- State "TODO" from [2024-11-09 Sat 11:43] +:END: +***** DONE [#B] Try other appropriate OSS video drivers +CLOSED: [2024-11-09 Sat 12:25] +:LOGBOOK: +- State "DONE" from "PROJECT" [2024-11-09 Sat 12:25] +- State "TODO" from [2024-11-09 Sat 11:43] +:END: + +Command used to install all video drivers: +sudo pacman -S $(pacman -Sgq xorg-drivers | grep xf86-video) + +Which one am I using? +from neofetch, I have +- GPU: Intel Raptor Lake-P [Iris Xe Graphics] +from inxi -G I see:: +- Graphics: + Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel + Device-2: Realtek Laptop Camera driver: uvcvideo type: USB + Display: x11 server: X.Org v: 21.1.14 driver: X: loaded: intel + unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915 + resolution: 2256x1504~60Hz + API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device + API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.6-arch1.1 + renderer: Mesa Intel Graphics (RPL-P) + +I noted that the first time it couldn't identify which renderer it was using, and asked for GLXinfo to be installed, so I did that. + +SOLUTION: Removing xf86-video-intel driver solved the problem. + +* Add ZFS filesystem +** DOING [#B] Create test environment for archsetup +:LOGBOOK: +- State "DOING" from "PROJECT" [2024-11-09 Sat 11:54] +- State "TODO" from [2024-11-09 Sat 11:54] +:END: + * ArchSetup v0.5 ** TODO [#B] Change Lockscreen to betterlockscreen or something like it :LOGBOOK: @@ -146,59 +229,6 @@ for this particular dependency: (:map erc-mode-map ("C-y" . erc-yank))) -* ZFS Notes and Reference Pages -** Reference Pages -*** [[https://blog.timo.page/installing-arch-linux-on-zfs][Installing Arch Linux on ZFS]] -*** [[https://openzfs.github.io/openzfs-docs/Getting%20Started/Arch%20Linux/Root%20on%20ZFS.html][OpenZFS - Arch Linux Root on ZFS]] -*** [[https://wiki.archlinux.org/title/Install_Arch_Linux_on_ZFS][Arch Wiki - Install Arch Linux on ZFS]] -*** [[https://wiki.archlinux.org/title/ZFS][Arch Wiki - ZFS Main Page]] -*** [[https://bbs.archlinux.org/viewtopic.php?id=298463][Gist on Arch ZFS install]] -*** [[https://florianesser.ch/posts/20220714-arch-install-zbm/][Guide on ZFS Arch Install with ZFSBootMenu]] -*** [[https://docs.zfsbootmenu.org/en/v2.3.x/][ZFSBootMenu Docs]] -These pages look especially useful -https://github.com/zbm-dev/zfsbootmenu/blob/master/testing/helpers/install-arch.sh -https://github.com/zbm-dev/zfsbootmenu/blob/master/testing/helpers/chroot-arch.sh -*** Misc Tips -on mounting zfs disks in arch -https://www.reddit.com/r/archlinux/comments/varwmc/quick_tip_for_mounting_zfs_disks_in_arch_its/ -on compiling the zfs dkms modules -https://bbs.archlinux.org/viewtopic.php?id=298463 - -** Building Arch iso with ZFS modules -from: https://blog.timo.page/installing-arch-linux-on-zfs - -Building an Arch ISO with ZFS support - -The default ISO image you can download from the Arch Linux website does not support ZFS. That's why we have to create our own using the archiso tool. We will install the tool from the Arch Linux repositories. - -If you are not already running Arch Linux, you can also install and run the tools inside a container. (Remember to remove sudo from all commands) - -docker run --rm --privileged -it -v "$(pwd)/out":/root/iso/out archlinux - - Install the archiso tool, create a work directory and copy the releng profile to it. - -sudo pacman -Sy archiso -mkdir ~/iso -cp -r /usr/share/archiso/configs/releng/* ~/iso - - Add the ArchZFS repository to the Pacman configuration for our build and tell archiso to install the ZFS DKMS module and ZFS utils to our resulting ISO. - -echo -e ' -[archzfs] -Server = https://archzfs.com/$repo/$arch -SigLevel = Optional TrustAll' >> ~/iso/pacman.conf - -echo -e ' -linux-headers -archzfs-dkms -zfs-utils' >> ~/iso/packages.x86_64 - - Next, build the ISO. This can take some time… - -sudo mkarchiso -vo ~/iso/out ~/iso - - Finally, write the ISO to a USB drive using your favorite tool, restart your computer and boot it. - * ArchSetup v0.6 ** TODO [#B] Sleep/Suspend Working on Framework Laptop *** Note: kernel parameter for sleep/suspend issue in Framework Laptop @@ -425,6 +455,59 @@ Note: There is a #define option in config.h which also allows you to switch the #+END_QUOTE [[https://wiki.archlinux.org/title/Dwm][dwm - ArchWiki]] Captured On: [2024-04-02 Tue 17:42] +* ZFS Notes and Reference Pages +** Reference Pages +*** [[https://blog.timo.page/installing-arch-linux-on-zfs][Installing Arch Linux on ZFS]] +*** [[https://openzfs.github.io/openzfs-docs/Getting%20Started/Arch%20Linux/Root%20on%20ZFS.html][OpenZFS - Arch Linux Root on ZFS]] +*** [[https://wiki.archlinux.org/title/Install_Arch_Linux_on_ZFS][Arch Wiki - Install Arch Linux on ZFS]] +*** [[https://wiki.archlinux.org/title/ZFS][Arch Wiki - ZFS Main Page]] +*** [[https://bbs.archlinux.org/viewtopic.php?id=298463][Gist on Arch ZFS install]] +*** [[https://florianesser.ch/posts/20220714-arch-install-zbm/][Guide on ZFS Arch Install with ZFSBootMenu]] +*** [[https://docs.zfsbootmenu.org/en/v2.3.x/][ZFSBootMenu Docs]] +These pages look especially useful +https://github.com/zbm-dev/zfsbootmenu/blob/master/testing/helpers/install-arch.sh +https://github.com/zbm-dev/zfsbootmenu/blob/master/testing/helpers/chroot-arch.sh +*** Misc Tips +on mounting zfs disks in arch +https://www.reddit.com/r/archlinux/comments/varwmc/quick_tip_for_mounting_zfs_disks_in_arch_its/ +on compiling the zfs dkms modules +https://bbs.archlinux.org/viewtopic.php?id=298463 + +** Building Arch iso with ZFS modules +from: https://blog.timo.page/installing-arch-linux-on-zfs + +Building an Arch ISO with ZFS support + +The default ISO image you can download from the Arch Linux website does not support ZFS. That's why we have to create our own using the archiso tool. We will install the tool from the Arch Linux repositories. + +If you are not already running Arch Linux, you can also install and run the tools inside a container. (Remember to remove sudo from all commands) + +docker run --rm --privileged -it -v "$(pwd)/out":/root/iso/out archlinux + + Install the archiso tool, create a work directory and copy the releng profile to it. + +sudo pacman -Sy archiso +mkdir ~/iso +cp -r /usr/share/archiso/configs/releng/* ~/iso + + Add the ArchZFS repository to the Pacman configuration for our build and tell archiso to install the ZFS DKMS module and ZFS utils to our resulting ISO. + +echo -e ' +[archzfs] +Server = https://archzfs.com/$repo/$arch +SigLevel = Optional TrustAll' >> ~/iso/pacman.conf + +echo -e ' +linux-headers +archzfs-dkms +zfs-utils' >> ~/iso/packages.x86_64 + + Next, build the ISO. This can take some time… + +sudo mkarchiso -vo ~/iso/out ~/iso + + Finally, write the ISO to a USB drive using your favorite tool, restart your computer and boot it. + * ArchSetup Reference/Research ** Info on Local Pacman Cache/Mirror [[https://bbs.archlinux.org/viewtopic.php?id=242471][Use pacman cache as local package mirror / Pacman & Package Upgrade Issues / Arch Linux Forums]] @@ -797,6 +797,7 @@ supplemental_software() { pacman_install ncmpcpp # and mpd client to play music pacman_install neofetch # cli system information tool pacman_install obs-studio # desktop recording software + pacman_install obsidian # personal knowledgebase pacman_install odt2txt # converts from open document to text pacman_install p7zip # p7zip compression tool pacman_install pandoc # universal document converter @@ -805,6 +806,7 @@ supplemental_software() { pacman_install pv # monitor progress of data through pipeline pacman_install ranger # terminal file manager pacman_install rclone # syncs files from gdrive, s3, dropbox, etc. + pacman_install signal-desktop # secure messenger pacman_install smartmontools # monitors hard drives pacman_install texlive-meta # latex pacman_install thunderbird # email, calendar, rss feeds @@ -822,7 +824,6 @@ supplemental_software() { pacman_install zathura-djvu # zathura plugin for djvu books pacman_install zathura-pdf-mupdf # zathura plugin for pdf pacman_install zlib # compression library - pacman_install signal-desktop # secure messenger # aur installs aur_install dtrx # extraction tool |
