Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

tcc with 2 tabs: one for user, one for administrator

In Linux Kubuntu which is a KDE Framework Ubuntu, Ubuntu Terminal(equivalent of windows cmd but closer to tcc) is called Konsole

This is what I can do in Konsole:

with alias set as:

alias start='konsole --tabs-from-file ~/Documents/konsole.tabs'

and konsole.tabs containing:

title: conky;; command: /usr/bin/conky
title: user;; command: /usr/bin/bash
title: root;; command: /usr/bin/sudo su

conky is a pretty cool tool that shows system info, a bit like what you would do with rainmeter in windows 10.

if I start konsole with ctl + alt + T (which I can reproduce in Windows 10 with AutoHotKey)

and type start

I open konsole with 3 tabs

tab1 starts conky on the desktop
tab2 starts a user prompt
tab3 starts a root prompt asking for the root password

pretty nice!

Can you do that in tcc?
 
And ... the correct answer was: YES you can!!!

you have to use Windows Terminal from Github @ GitHub - microsoft/terminal: The new Windows Terminal and the original Windows console host, all in the same place!

and install gsudo to do gsudo tcc.exe to be an administrator from cmd or powershell

and you have 2 tabs with tcc as a user and as an administrator

you can even have (What a treat) a Ubuntu terminal with usual stuff like apt, ssh, ....

I am working on having a Kubuntu Konsole ... and be able to do my start alias
 
Back
Top