I'm not a fans of display manager (GDM, Lightdm, SDDM, etc), though
for some people they could be usefull. When I'm using debian, slackware,
alpine, I can launch GNOME desktop without display manager (I use tbsm /
terminal based session manager). Strangely when I move to Ubuntu, I'm
kind of forced to use display manager (GDM, in this case). So I tried
several commands to launch ubuntu GNOME directly from tty and gladly I
found it. I just need to use this command :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bun | |
| import { exec } from 'child_process' | |
| import { promisify } from 'util' | |
| import * as fs from 'fs' | |
| import * as path from 'path' | |
| const execAsync = promisify(exec) | |
| const action = process.env.TOOLBOX_ACTION |