Re: Konsole, auto start program upon opening?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2019 Tue, 22 Oct 12:38:35 -0500
 Michael scripsit:
> Is this possible?
> 
> Have several tabs open in Konsole.  Upon (re)login to TDE have program A 
> automatically run in tab A, program B automatically run in tab B, program C 
> automatically run in tab C?
> 
> Thanks,
> Michael
>

Not on the easy way. But you could do some shell magic. First start konsole with enhanced dcop capabilities:
$ konsole --script

Then you can send command to konsole with dcop, e.g. execute "ls -l" (konsole-16979 will definitly be different whan you try - and watch the linebreak inside the ""):

$ dcop konsole-16979 session-1 feedSession "ls -l
"

So in theory you can get that running. When you search the archive, you'll find something simillar built for a non-sessionaware exitor (xs? xe? sorry ....)


Nik







-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux