diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2024-04-10 17:17:16 -0500 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2024-04-10 17:17:16 -0500 |
| commit | 9b93a4fbf4b2a84a9b32d160724a1a0f7694a30c (patch) | |
| tree | 0c44403a8d428a350a32ad55d2018bda6c24b340 /TODO.org | |
| parent | 89d489df3d8590524821dfddd6e340b516e8f697 (diff) | |
adding symbols nerd font monospace
Diffstat (limited to 'TODO.org')
| -rw-r--r-- | TODO.org | 146 |
1 files changed, 81 insertions, 65 deletions
@@ -1,16 +1,28 @@ === ArchSetup Tasks === -* ArchSetup Open Works -** Dotfiles cleanup -** Start Versioning Archsetup -** move all startup apps to startdwm and call startdwm from xinitrc -** DOING OBS Studio Install -- [X] install in archsetup via pacman -- [ ] ensure you have completed config saved in dotfiles -- [ ] add obs-studio to xinitrc and startdwm -** Install Gist From the AUR Under Emacs Dependencies -for: +* ArchSetup v0.5 +** DONE [#B] Screen Recording Solution +CLOSED: [2024-04-06 Sat 17:22] +*** 2024-04-06 Sat @ 17:22:37 -0500 Added recordnow script using ffmpeg +does everything: +- full screen recording +- all audio +- microphone + +base configuration came from combining commands from https://trac.ffmpeg.org/wiki/Capture/Desktop + +command is: + +ffmpeg -framerate 30 -f x11grab -i :0.0+ -f pulse -i alsa_input.pci-0000_00_1b.0.analog-stereo -ac 1 -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -ac 2 "$LOCATION/$NAME".mkv + +*** 2024-04-06 Sat @ 16:06:49 -0500 Tried OBS, but should try something simpler + +** TODO [#B] Setup Virtualbox with ArchBase for Testing +** TODO [#B] Add Missing Emacs Dependencies +*** TODO Install Gist +...from the AUR Under Emacs Dependencies +for this particular dependency: (use-package erc-yank :defer 1 :after erc @@ -18,23 +30,23 @@ for: (:map erc-mode-map ("C-y" . erc-yank))) -** Add Docker Image for Telega -** Add Startup Login Manager and Plymouth -*** TODO Add Plymouth Theme -*** TODO install sddm - then systemctl enable sddm.service -*** 2024-04-02 Tue @ 18:51:04 -0500 xinit-xsession doesn't work -Steps I followed: -install xinit-xsession to run .xinitrc as a session -.xinitrc needs to be executable - -** Investigate Rofi Application Menu -** Investigate i3 and Sway -** Investigate Login Manager -*** Requirements for the Login Manager -- must support both X11 and Wayland -** Investigate Hyprland Install -** TODO Suspend then hibernate for Framework laptop +*** TODO Add Docker Image for Telega +** TODO [#B] v0.5 Scenario Test & Bugfixes +* ArchSetup v0.6 +** TODO [#B] Allow Sleep/Suspend for Framework Laptop +*** Note: kernel parameter for sleep/suspend issue in Framework Laptop +#+BEGIN_QUOTE +Lastly, my findings… after bit of testing and measuring, it appears that with more or less up-to-date software (current linux kernel, systemd, etc.) it evens out (very scientifically measured:) at around 1.2-1.3 percent/hour in s2idle for the above described configuration (mainly 2x16 GB SO-DIMM sticks), independent of the distribution used (i.e. Fedora and NixOS) but with “rtc_cmos.use_acpi_alarm=1” added to the kernel command line (iiuc, which will become the default in a future systemd release thanks to @Mario_Limonciello et al.) and a “powertop --auto-tune” run at boot time. Considering that refreshing memory in sleep/stand-by mode is the main consumer of energy and that soldered memory consumes around 90% less energy (with the obvious caveats, of course) in sleep than non-soldered solutions, this boils down (again, very scientifically measured) to around 0.7/0.8 watts in s2idle, which is a (very) good result, imo. This would be the first laptop with which i’ve been able to achieve acceptable suspend results now that ACPI S3 appears to have gone everywhere. Thanks a bunch, everybody… +#+END_QUOTE +[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/7][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]] +Captured On: [2024-03-03 Sun 06:16] +*** Note: kernel parameter to solve battery drain with Sleep/Suspend on Framework +#+BEGIN_QUOTE +Adding the kernel parameter acpi_mask_gpe=0x1A has made sleep much closer to desired with decently low battery drain overnight. Still a bit unpredictable with manual suspend where it’ll just decide to wake up instantly for some reason, but once the automatic 15 minute inactivity is hit it seems to sleep with the lid closed. +#+END_QUOTE +[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/4][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]] +Captured On: [2024-03-03 Sun 06:14] +*** Note: Suspend Then Hibernate for Framework Laptop #+BEGIN_QUOTE In /etc/systemd/logind.conf I have the following relevant lines: @@ -52,44 +64,16 @@ The AllowSuspendThenHibernate line is commented out but that is the default so i #+END_QUOTE [[https://community.frame.work/t/tracking-suspend-on-linux-drains-a-lot-of-battery-compared-to-other-laptop/24737/12][[TRACKING] Suspend on linux drains a lot of battery compared to other laptop - Framework Laptop 13 / Linux - Framework Community]] Captured On: [2024-03-03 Sun 07:14] -** TODO Another kernel parameter for sleep/suspend issue in Framework Laptop -#+BEGIN_QUOTE -Lastly, my findings… after bit of testing and measuring, it appears that with more or less up-to-date software (current linux kernel, systemd, etc.) it evens out (very scientifically measured:) at around 1.2-1.3 percent/hour in s2idle for the above described configuration (mainly 2x16 GB SO-DIMM sticks), independent of the distribution used (i.e. Fedora and NixOS) but with “rtc_cmos.use_acpi_alarm=1” added to the kernel command line (iiuc, which will become the default in a future systemd release thanks to @Mario_Limonciello et al.) and a “powertop --auto-tune” run at boot time. Considering that refreshing memory in sleep/stand-by mode is the main consumer of energy and that soldered memory consumes around 90% less energy (with the obvious caveats, of course) in sleep than non-soldered solutions, this boils down (again, very scientifically measured) to around 0.7/0.8 watts in s2idle, which is a (very) good result, imo. This would be the first laptop with which i’ve been able to achieve acceptable suspend results now that ACPI S3 appears to have gone everywhere. Thanks a bunch, everybody… -#+END_QUOTE -[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/7][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]] -Captured On: [2024-03-03 Sun 06:16] -** TODO Look into kernel parameter to solve battery drain with Sleep/Suspend on Framework -#+BEGIN_QUOTE -Adding the kernel parameter acpi_mask_gpe=0x1A has made sleep much closer to desired with decently low battery drain overnight. Still a bit unpredictable with manual suspend where it’ll just decide to wake up instantly for some reason, but once the automatic 15 minute inactivity is hit it seems to sleep with the lid closed. -#+END_QUOTE -[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/4][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]] -Captured On: [2024-03-03 Sun 06:14] -** TODO Get MacOS in Linux on Virtualbox -[[https://www.reddit.com/r/linuxquestions/comments/918gcp/macos_in_virtual_machine/][(2) MacOS in Virtual Machine? : linuxquestions]] -Captured On: [2024-03-14 Thu 05:39] -** TODO Archsetup: Bind the Right Alt Key to Mod4 -#+BEGIN_QUOTE -Bind the right Alt key to Mod4 -When using Mod4 (the Super/Windows Key) as the MODKEY, it may be equally convenient to have the right Alt key (Alt_R) act as Mod4. This will allow you to perform otherwise awkward keystrokes one-handed, such as zooming with Alt_R+Enter. - -First, find out which keycode is assigned to Alt_R: - -$ xmodmap -pke | grep Alt_R -Then simply add the following to the startup script (e.g. ~/.xinitrc), changing the keycode 113 if necessary to the result gathered by the previous xmodmap command: - -Reassign Alt_R to Super_L: - -xmodmap -e "keycode 113 = Super_L" -Make sure X keeps it out of the "mod1" group: - -xmodmap -e "remove mod1 = Super_L" -After doing so, any functions that are triggered by the Super_L key press will also be triggered by an Alt_R key press. +** TODO [#B] Graphical Boot and Login +*** TODO SDDM + then systemctl enable sddm.service +**** Move All Startup Apps to Startdwm and Call Startdwm From Xinitrc +**** 2024-04-02 Tue @ 18:51:04 -0500 xinit-xsession doesn't work +Steps I followed: +install xinit-xsession to run .xinitrc as a session +.xinitrc needs to be executable -Note: There is a #define option in config.h which also allows you to switch the modkey. -#+END_QUOTE -[[https://wiki.archlinux.org/title/Dwm][dwm - ArchWiki]] -Captured On: [2024-04-02 Tue 17:42] -** TODO How to Add 'dwm.desktop' as an SDDM Session +**** Note: How to Add 'dwm.desktop' as an SDDM Session #+BEGIN_QUOTE In /usr/share/xsessions/ directory I created a dwm.desktop file: @@ -136,7 +120,7 @@ In doubt create a /usr/local/bin/dwm.sh wrapper and run that instead. #+END_QUOTE [[https://bbs.archlinux.org/viewtopic.php?id=276424][[SOLVED]Cannot start DWM properly from SDDM session menu / Newbie Corner / Arch Linux Forums]] Captured On: [2024-04-02 Tue 17:38] -** TODO Starting DWM from SDDM +**** Note: Starting DWM from SDDM #+BEGIN_QUOTE As root create a file like this: @@ -170,3 +154,35 @@ $ ls -l /usr/local/bin/startdwm #+END_QUOTE [[https://www.reddit.com/r/suckless/comments/jj61py/how_do_i_make_dwm_appear_on_my_display_manager/][(3) How do I make dwm appear on my display manager? (lightDM) : suckless]] Captured On: [2024-04-02 Tue 17:46] + +*** TODO Plymouth +* ArchSetup Backlog +** TODO [#B] ZFS on Root Install +** TODO [#C] Cleanup Dotfiles +The .dotfiles repo has configuration for applications I no longer use. +** TODO [#C] Evaluate Hyprland to Duplicate DWM Workflow +** TODO [#D] Evaluate i3 / Sway to Duplicate DWM Workflows +** TODO [#D] Evaluate Rofi Menus +** TODO [#D] Evaluate Binding the Right Alt Key to Mod4 Using Xmodmap +#+BEGIN_QUOTE +Bind the right Alt key to Mod4 +When using Mod4 (the Super/Windows Key) as the MODKEY, it may be equally convenient to have the right Alt key (Alt_R) act as Mod4. This will allow you to perform otherwise awkward keystrokes one-handed, such as zooming with Alt_R+Enter. + +First, find out which keycode is assigned to Alt_R: + +$ xmodmap -pke | grep Alt_R +Then simply add the following to the startup script (e.g. ~/.xinitrc), changing the keycode 113 if necessary to the result gathered by the previous xmodmap command: + +Reassign Alt_R to Super_L: + +xmodmap -e "keycode 113 = Super_L" +Make sure X keeps it out of the "mod1" group: + +xmodmap -e "remove mod1 = Super_L" +After doing so, any functions that are triggered by the Super_L key press will also be triggered by an Alt_R key press. + +Note: There is a #define option in config.h which also allows you to switch the modkey. +#+END_QUOTE +[[https://wiki.archlinux.org/title/Dwm][dwm - ArchWiki]] +Captured On: [2024-04-02 Tue 17:42] +** TODO Add pyenv to archsetup |
