You are not logged in.

#1 2016-07-01 23:59:41

JasonHockeyPuck
Member
Registered: 2016-05-28
Posts: 33

[SOLVED] Terminal --hold + New Input?

I'm trying something that seems very simple, yet I'm having trouble.

I'm trying to run screenfetch on startup in i3. I used

exec termite -e screenfetch --hold

but the problem is, it's only screenfetch open and I have no option to input new command into that specific terminal.

How do I run that command and have it show my home folder ready to recieve new command after screenfetch is written?

I'm probably approaching this in a completely wrong way.

Last edited by JasonHockeyPuck (2016-07-02 10:54:42)

Offline

#2 2016-07-02 00:44:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Terminal --hold + New Input?

exec termite -e bash -c "screenfetch; exec bash"

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-07-02 09:46:48

JasonHockeyPuck
Member
Registered: 2016-05-28
Posts: 33

Re: [SOLVED] Terminal --hold + New Input?

That opens screenfetch for a split second and then a new empty terminal, but screenfetch is gone.

Last edited by JasonHockeyPuck (2016-07-02 09:47:07)

Offline

#4 2016-07-02 10:16:10

EmilyShepherd
Member
From: Bucks, UK
Registered: 2016-03-20
Posts: 45
Website

Re: [SOLVED] Terminal --hold + New Input?

exec termite -e 'bash -c "screenfetch; exec bash"'

(Added quotes around the -e argument)

Offline

#5 2016-07-02 10:54:27

JasonHockeyPuck
Member
Registered: 2016-05-28
Posts: 33

Re: [SOLVED] Terminal --hold + New Input?

Excellent. Thanks!

Offline

Board footer

Powered by FluxBB