Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-09-30 03:42:29

callmejoe
Member
Registered: 2019-11-19
Posts: 75

xfce4-terminal

i want to launch a terminal and then run a command inside it and have it stay open.

I've tried this

xfce4-terminal -H -x ls

and

xfce4-terminal -H -e ls

but terminal never stays open with output of command displayed. 

shouldn't this work?

for some reason this works like i expect.  launches a terminal and runs the ssh command and stays open

xfce4-terminal -e "ssh pi@192.168.1.7"

Last edited by callmejoe (2020-09-30 03:45:10)

Offline

#2 2020-09-30 10:26:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: xfce4-terminal

callmejoe wrote:

shouldn't this work?

Yes. Odd that it doesn't for you.

What version of xfce4-terminal are you running?

xfce4-terminal -V

And what are the contents of your ~/.config/xfce4/terminal/terminalrc file?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-09-30 21:11:45

callmejoe
Member
Registered: 2019-11-19
Posts: 75

Re: xfce4-terminal

version

xfce4-terminal 0.8.9.2 (Xfce 4.14)

terminalrc

[Configuration]
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBellUrgent=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=90x30
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
MiscMouseWheelZoom=TRUE
MiscToolbarDefault=FALSE
MiscConfirmClose=TRUE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscMiddleClickOpensUri=FALSE
MiscCopyOnSelect=FALSE
MiscShowRelaunchDialog=TRUE
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
MiscNewTabAdjacent=FALSE
MiscSearchDialogOpacity=100
MiscShowUnsafePasteDialog=TRUE
BackgroundImageShading=0.600000
BackgroundDarkness=0.000000
FontName=Monospace 11
ScrollingLines=996
ColorForeground=#ffffffffffff
ColorBackground=#0dee211634e7
ColorCursor=#93a1a1
ColorBold=#93a1a1
ColorBoldUseDefault=FALSE
ColorPalette=#073642;#dc322f;#859900;#b58900;#268bd2;#d33682;#2aa198;#eee8d5;#002b36;#cb4b16;#586e75;#657b83;#839496;#6c71c4;#93a1a1;#fdf6e3
TabActivityColor=#dc322f
ColorBoldIsBright=FALSE
ScrollingUnlimited=TRUE
ScrollingBar=TERMINAL_SCROLLBAR_NONE

Offline

#4 2020-10-03 15:49:47

Erreffel1
Member
Registered: 2020-05-09
Posts: 5

Re: xfce4-terminal

It seems to work :

xfce4-terminal -H --command 'yourcommand' &

I tried it with the 'df' command ('xfce4-terminal -H --command df &'), and it starts a xfce4-terminal with the output of 'df' in it. The terminal stays open.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 528.7 KiB (Peak: 529.98 KiB) ]