You are not logged in.
Pages: 1
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
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
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
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
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 528.7 KiB (Peak: 529.98 KiB) ]