فهرست منبع

update todo list

Casey DeLorme 4 سال پیش
والد
کامیت
aaef395f74
1فایلهای تغییر یافته به همراه25 افزوده شده و 1 حذف شده
  1. 25 1
      todo.md

+ 25 - 1
todo.md

@@ -1,7 +1,8 @@
 
 # todo
 
-- consider adding `https://aur.archlinux.org/packages/yay/` to the installed AUR packages
+- Continue to test and get packer to work correctly; _do not block the new rig installation though_
+- Use the latest successful packer build to try out `sway` and `wayland` packages as an alternative to openbox.
 
 - try and figure out how to add `ctrl+c` support to the getty login (_like debian_)
 
@@ -9,6 +10,7 @@
 
 - determine whether we can fully automate laptop configuration
 	- _for example setting `panel_items = LTSCB` in `~/.config/tint2/tint2rc` to display battery power_
+	- _if `/sys/class/power/BAT0` exists, then we have a battery and can sed replace!_
 
 - experiment with `fcitx-mozc` and document enabling `ja_JP` language (_instead of making it a default configuration_)
 
@@ -40,3 +42,25 @@
 	- albert
 	- dmenu
 	- kupfer
+
+
+---
+
+With the upcoming deprecation of python2, I noticed some scripts are used by openbox and initrc to launch the environment.
+
+I wrote a simplified bash alternative by placing this in `~/.xinitrc`:
+
+	exec /usr/bin/openbox --startup "${XDG_CONFIG_HOME:-$HOME}/.config/openbox/launch"
+
+_The `launch` script replacement runs these:_
+
+	#!/bin/bash
+	A="/etc/xdg/openbox/environment"
+	test -r $A && . $A
+	A="${XDG_CONFIG_HOME:-$HOME/.config}/openbox/environment"
+	test -r $A && . $A
+	find "${XDG_CONFIG_HOME:-$HOME/.config}/autostart" -maxdepth 1 -type f -name "*.desktop" -exec /bin/sh -c "desktop-file-validate $1 && dex $1" {} \;
+	find "/etc/xdg/autostart" -maxdepth 1 -type f -name "*.desktop" -exec /bin/sh -c "desktop-file-validate $1 && dex $1" {} \;
+	sh "${XDG_CONFIG_HOME:-$HOME/.config}/openbox/autostart" || sh "${XDG_CONFIG_HOME:-$HOME/.config}/openbox/autostart.sh"
+
+_This requires the `dex` package to launch `.desktop` files from the command line._