Xfce Forum

Sub domains
 

You are not logged in.

#1 2010-01-20 22:24:23

tim042849
Member
From: Palmer, Alaska
Registered: 2007-06-20
Posts: 21

Profiles for X Terminal Emulator?

Is there a way to set up profiles for X terminal emulator such as
with konsole?
and if so, can they be configured to launch at xfce startup?
Example
Tab called "mutt".
When tab is opened, mutt is started.
Tab starts when xfce starts terminal emulator.
FYI:
1)Using slack 13.0
2)Comfortable with command line, vim and command line tools.
3)Python programmer (and some shell)

thanks
tim

Offline

#2 2010-01-29 22:18:18

DMcCunney
Member
Registered: 2010-01-28
Posts: 21

Re: Profiles for X Terminal Emulator?

tim042849 wrote:

Is there a way to set up profiles for X terminal emulator such as
with konsole?
and if so, can they be configured to launch at xfce startup?

Sure.

Example
Tab called "mutt".
When tab is opened, mutt is started.
Tab starts when xfce starts terminal emulator.

Menu/Settings/Sessions and Startup
Choose "Application Autostart"
Click +Add to get the Add application dialog

Name: Enter a desired name
Description: Enter a description
Command: terminal -e mutt

You may wish to have Command call a shell script like

sleep 10
terminal -e mutt

to prevent what I saw here, which was the terminal window appearing before anything else in Xfce
______
Dennis

Offline

#3 2010-01-30 00:36:39

tim042849
Member
From: Palmer, Alaska
Registered: 2007-06-20
Posts: 21

Re: Profiles for X Terminal Emulator?

Thanks Dennis:
Kind of in the weeds here, but I tried the following:

terminal --tab --title=Mutt -e mutt --tab --title=MC -e mc

and up popped the terminal with mutt, mc and an untitled tab with
bash, which is just fine.
I'll follow up on your approach a little more later.
Thanks for putting me on the right track.
cheers
tim

Offline

#4 2010-01-30 02:47:46

DMcCunney
Member
Registered: 2010-01-28
Posts: 21

Re: Profiles for X Terminal Emulator?

tim042849 wrote:

Thanks Dennis:
Kind of in the weeds here, but I tried the following:

terminal --tab --title=Mutt -e mutt --tab --title=MC -e mc

and up popped the terminal with mutt, mc and an untitled tab with
bash, which is just fine.

That's a good improvement.  I wasn't recalling that Terminal could have multiple tabs, so you could open it with more than one process, each in a tab.

I'll follow up on your approach a little more later.

If what you came up with works, use it.  I mentioned the script solely to stick in a delay before Terminal loaded.  When I experimented here to try the approach, and exited and restarted Xfce, I saw the Terminal window appearing before the rest of Xfce, like the panels.  The functionality was unchanged, it was just a "What?" moment... :-)

Thanks for putting me on the right track.

You're quite welcome.
______
Dennis

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 556.27 KiB (Peak: 582.34 KiB) ]