User Tools

Site Tools


technical:programming:shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:programming:shell [2022/08/17 08:20] jctechnical:programming:shell [2025/10/11 20:24] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
 <code bash>startx /usr/bin/emacs -- :2 vt8</code> <code bash>startx /usr/bin/emacs -- :2 vt8</code>
 +
 +Xorg Persistence When Switching VTYs
 +
 +<code bash>startx -- -sharevts</code>
 +
 +With Xinit
 +
 +<code bash>xinit -- -sharevts</code>
  
 ===== chroot ===== ===== chroot =====
Line 30: Line 38:
  
 <code bash>chroot --userspace=<username> /mnt /bin/bash</code> <code bash>chroot --userspace=<username> /mnt /bin/bash</code>
- 
-===== Systemd ===== 
- 
-==== Install  ==== 
- 
-**Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code> 
-**Optional:** <code bash> sudo pacman -Su  swaybg swayidle swaylock wf-recorder</code> 
- 
-==== Configure ==== 
- 
-Uncomment line from ''/etc/lightdm/lightdm.config'' and set user-session to sway. 
- 
-<code> 
-sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions 
-user-session=sway 
-</code> 
- 
-Configure ''/usr/share/wayland-sessions/sway.desktop''. 
- 
-<code> 
-[Desktop Entry] 
-Name=Sway 
-Comment=An i3-compatible Wayland compositor 
-Exec=sway 
-Type=Application 
-</code> 
- 
-Configure ''$HOME/.dmrc''. 
- 
-<code> 
-[Desktop] 
-Language=en_US.utf8 
-Session=sway 
-</code> 
- 
-==== Startup ==== 
- 
-Restart services. 
- 
-<code bash>systemctl restart systemd-logind; systemctl restart lightdm</code> 
  
technical/programming/shell.1660738824.txt.gz · Last modified: by jc