Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] qterminal --execute | Problem  (Read 1329 times)

farinet

  • Guest
[DE] qterminal --execute | Problem
« on: 2013/07/26, 08:44:25 »
Ich möchte einen Shortcut (für fluxbox) einrichten für Systeminformationen mit 'inxi -F'. Von Hand in einem Terminal funktioniert das natürlich wunderbar.

Für den Shortcut würde ich den folgenden Befehl eingeben:

Code: [Select]
qterminal --execute "inxi -F"

Das funktioniert auch, nur leider schliesst das Fenster, nachdem der Befehl abgearbeitet ist - was natürlich nicht Sinn der Übung ist. Wie kann ich qterminal dazu bringen, das Fenster *NICHT* zu schliessen?

Danke im Voraus!

Offline HarzG

  • User
  • Posts: 131
qterminal --execute | Problem
« Reply #1 on: 2013/07/26, 12:10:40 »
Bei mir geht das in Xfce mit
Code: [Select]
xfce4-terminal -e "bash -c 'inxi -F; exec bash'"
Versuch's mal mit dem Befehl (hier nicht getestet)
Code: [Select]
qterminal --execute "bash -c 'inxi -F; exec bash'"
siduction-2023.1.1-xfce,  manjaro-xfce-23.1.1

farinet

  • Guest
qterminal --execute | Problem
« Reply #2 on: 2013/07/26, 13:15:24 »
Vielen Dank! Aber leider funktoniert das nicht:

Code: [Select]
TRANSLATIONS_DIR: Loading translation file "qterminal_de.qm" from dir /usr/share/qterminal/translations
load success: false
Properties constructor called
loadAllColorSchemes
TermWidgetImpl::propertiesChanged TermWidgetImpl(0x861370, name = "TermWidget_1") emulation: "default"
Settings custom shell program: "bash -c 'inxi -F; exec bash'"
("bash", "-c", "'inxi", "-F;", "exec", "bash'")
Session::run() - program: "bash"
Session::run() - arguments: ("-c", "'inxi", "-F;", "exec", "bash'")
started!
TermWidgetImpl::propertiesChanged TermWidgetImpl(0x861370, name = "TermWidget_1") emulation: "default"
TermWidgetImpl::propertiesChanged TermWidgetImpl(0x861370, name = "TermWidget_1") emulation: "default"