Comment by πŸš€ hack-wizard

Re: "I'd like to set up my non-GUI Debian 12 system so that it…"

In: s/Linux

Actually I just figured it out, added this to my .bashrc

πŸš€ hack-wizard [OP]

2025-05-09 Β· 1 year ago

4 Later Comments ↓

🌻 Nexy · 2025-05-09 at 01:35:

@hack-wizard I always play changing things in the .bashrc.

the thing i do its change the prompt text to have nicer colors, I make some alias permanent there and I make it open neofetch automatically when I open the terminal.

You can do a program you like and just at the end of the .bashrc put "./warever.sh" and that thing will open automatically when you start the PC for example.

🌧️ candycanearter [✍️] · 2025-05-09 at 03:41:

the part in the article about setting up a agetty systemd dropin file to autologin with specific arguments

πŸš€ Ashnar Β· 2025-05-10 at 13:05:

Going to try something like that too now. Looks interesting.

πŸ™ norayr Β· 2025-05-13 at 20:33:

if you didn't have tty variable, you could do 'w' and see which tty 'w' ran from.

Original Post

πŸŒ’ s/Linux

πŸš€ hack-wizard:

I'd like to set up my non-GUI Debian 12 system so that it automatically launches a specific program in each TTY I log into. Eg: htop on TTY1, mc on TTY2, etc, but I'm not sure exactly what to set up and where. Any advice would be very appreciated.

πŸ’¬ 11 comments Β· 2 likes Β· 2025-05-07 Β· 1 year ago