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/16 22:47] – [Install] 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  ==== 
- 
-**Package Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code> 
-**Package Optional:** <code bash> sudo pacman -Su  swaybg swayidle swaylock wf-recorder</code> 
- 
-==== Configure ==== 
- 
-Uncomment line from /etc/lightdm/lightdm.config 
- 
-<code> </code> 
- 
-Configure /usr/share/wayland-sessions/sway.desktop. 
- 
- 
-==== Startup ==== 
- 
-Edit /etc/lightdm/lightdm.config and set user-session to sway. 
- 
-<code bash>  
-user-session=sway 
-</code> 
  
technical/programming/shell.1660704439.txt.gz · Last modified: by jc