summaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-06 06:33:39 -0500
committerCraig Jennings <c@cjennings.net>2024-04-06 06:33:39 -0500
commit622c5133563f3268f6dc476acd3ddd2e3df953eb (patch)
tree4a10815a0f989ce79efe6566e0929ceebb5ea40f /TODO.org
parentd65f27ad7630d1fddbb1c53218b760c6653de141 (diff)
updating tasks
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org109
1 files changed, 107 insertions, 2 deletions
diff --git a/TODO.org b/TODO.org
index 88ace5f..0871219 100644
--- a/TODO.org
+++ b/TODO.org
@@ -5,7 +5,7 @@
** Dotfiles cleanup
** Start Versioning Archsetup
** move all startup apps to startdwm and call startdwm from xinitrc
-** OBS Studio Install
+** 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
@@ -64,4 +64,109 @@ Adding the kernel parameter acpi_mask_gpe=0x1A has made sleep much closer to des
#+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]
-* ArchSetup Complete
+** 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.
+
+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
+#+BEGIN_QUOTE
+In /usr/share/xsessions/ directory I created a dwm.desktop file:
+
+[Desktop Entry]
+Encoding=UTF-8
+Name=DWM
+Comment=Log in using the Dynamic Window Manager
+Exec=/usr/local/bin/dwm
+Icon=/usr/local/bin/dwm.png
+TryExec=/usr/local/bin/dwm
+Type=XSession
+and in my ~/.xinitrc file I have added these lines:
+
+# DWM Status
+dwmstatus 2>&1 >/dev/null &
+
+# Keyboard Layout
+setxkbmap -layout us,gr -option grp:alt_caps_toggle &
+
+# Compositor
+picom -f &
+
+#Add Wallpaper
+nitrogen --restore &
+
+#Execute DWM
+exec dwm
+Last edited by mikch (2022-05-15 18:11:34)
+
+Offline
+
+#22022-05-15 13:22:36
+seth
+Member
+
+Registered: 2012-09-03
+Posts: 50,327
+Please use code tags, https://bbs.archlinux.org/help.php#bbcode
+
+The xinitrc won't be sourced by SDDM, move that stuff (MINUS the "exec dwm"!) to ~/.xprofile
+
+Edit: though it will then also be sourced by plasma.
+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
+#+BEGIN_QUOTE
+As root create a file like this:
+
+$ cat /usr/share/xsessions/dwm.desktop
+[Desktop Entry]
+Encoding=UTF-8
+Name=dwm
+Comment=Dynamic window manager
+Exec=dwm
+Icon=dwm
+Type=XSession
+with these permissions
+
+$ ls -l /usr/share/xsessions/dwm.desktop
+-rw-r--r-- 1 root root 108 Jun 27 17:24 /usr/share/xsessions/dwm.desktop
+Optionally rather than executing dwm directly you could execute a shell script instead that writes stdout / stderr to a file for logging purposes.
+
+E.g.
+
+Exec=startdwm
+and
+
+$ cat /usr/local/bin/startdwm
+#!/bin/sh
+echo "$(date): Starting dwn" >> /path/to/logs/$(date +%Y-%m-%d_%H.dwm.log)
+dwm >> /path/to/logs/$(date +%Y-%m-%d_%H.dwm.log) 2>&1
+
+
+$ ls -l /usr/local/bin/startdwm
+-rwxr-xr-x 1 root root 204 Sep 19 14:12 /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]