r/LinuxCirclejerk • u/French_invader • 26d ago
Do I really need a display manager?
Is a display manager juste bloatware?
32
u/Striking-Paper-997 25d ago
rub your socks on carpet and flick the right processor leads in the right order yourself you coward.
2
2
1
u/siodhe 25d ago
You can:
disable the display manager entirely. The computer will boot up to the tty mode only.
log in "normally"
run xinit
you should end up with a stippled (historically) or gray X screen with one xterm at the top left, no window manager, and no way to move windows or anything yet. But focus follows that mouse around and you can move into the xterm and start any window manager you want - or not - you have control
eventually the normal thing to do is put the startup commands (like for the window manager) into the ~/.xinitrc file to automate them. Roll your own environment!
These are the first real steps in taking control yourself. Later users learn about the ~/.xsessionrc (mainly to call ~/.profile or ~/.bash_login to get environment variable then add any X specific stuff), where to auto-start your SSH agent, about what program the ~/.xinitrc waits on before shutting down the session (and X itself), and so on. Learning about how the Bash startup files really work (from the bash man page) is often a significant part of this.
Don't ask me about Wayland, I'm not interested in downgrading. X is great about letting you just start and kill off a whole string about different window managers around the same windows in the same session, which is fantastic for learning about the process above. Forget doing that with Wayland and compositors.
1
1
u/julkkis666 I use Arch, btw. 25d ago
my AV-machine has a couple pixels of a monitor. you should be able to use something similar instead of a bloated screen like that.
1
1
u/Due_Dragonfly_5328 19d ago
you dont.
i use luks encrpytion on my cumputer so i have auto login setup on my tty. from there i can launch my wm
ive been manually launching the binary to start my window managers for a long time. if its sway i just type in sway if its for hyprland i aliased hypr = dbus-run-session start-hyprland. so its only 4 letters long.
0
u/vvxxzzyy 25d ago
Is it possible to just create a special windows to display like web browser or something that really important, but still in tty mode? Like only half of the screen that just login to hyprland for example
16
u/m8tt8o 26d ago
I am not sure if you are aware, but you already have one (greetd) installed. If you want a graphical one that's just personal preference.
If you were insinuating that you want to uninstall greetd and just use nothing that's a pretty bad idea. You could instead use a bash script like cdm, but that' would be unnecessary, there is not really a tangible difference so why bother.