Add qubes-run-gnome-terminal utility that uses --wait
This commit is contained in:
parent
c7060bb97a
commit
943f37b481
3
Makefile
3
Makefile
@ -233,6 +233,7 @@ install-common: install-doc
|
||||
install -m 0755 misc/qvm-features-request $(DESTDIR)$(BINDIR)/qvm-features-request
|
||||
install -m 0755 misc/qubes-run-terminal $(DESTDIR)/$(BINDIR)
|
||||
install -D -m 0644 misc/qubes-run-terminal.desktop $(DESTDIR)/$(APPLICATIONSDIR)/qubes-run-terminal.desktop
|
||||
install -m 0755 misc/qubes-run-gnome-terminal $(DESTDIR)/$(BINDIR)
|
||||
|
||||
install -D -m 0644 misc/dconf-db-local-dpi $(DESTDIR)/etc/dconf/db/local.d/dpi
|
||||
|
||||
@ -245,7 +246,7 @@ install-common: install-doc
|
||||
|
||||
install -D -m 0644 misc/marker-vm $(DESTDIR)/usr/share/qubes/marker-vm
|
||||
cut -f 1,2 -d . version >> $(DESTDIR)/usr/share/qubes/marker-vm
|
||||
|
||||
|
||||
install -m 0755 misc/tinyproxy-wrapper $(DESTDIR)/usr/lib/qubes/tinyproxy-wrapper
|
||||
|
||||
install -m 0755 misc/qvm-console $(DESTDIR)$(BINDIR)/qvm-console
|
||||
|
1
debian/qubes-core-agent.install
vendored
1
debian/qubes-core-agent.install
vendored
@ -97,6 +97,7 @@ usr/bin/qubes-desktop-run
|
||||
usr/bin/qubes-open
|
||||
usr/bin/qubes-session-autostart
|
||||
usr/bin/qubes-run-terminal
|
||||
usr/bin/qubes-run-gnome-terminal
|
||||
usr/bin/qubes-vmexec
|
||||
usr/bin/qvm-copy
|
||||
usr/bin/qvm-copy-to-vm
|
||||
|
12
misc/qubes-run-gnome-terminal
Executable file
12
misc/qubes-run-gnome-terminal
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Wrapper around gnome-terminal that runs it with --wait option
|
||||
# (if supoported).
|
||||
|
||||
# Check if our gnome-terminal version supports --wait
|
||||
# (we can't just run it and check exit code, because if it works, it will
|
||||
# return the exit code of the child process)
|
||||
if gnome-terminal --help-terminal-options | grep --silent -- --wait; then
|
||||
exec gnome-terminal --wait "$@"
|
||||
else
|
||||
exec gnome-terminal "$@"
|
||||
fi
|
@ -12,14 +12,7 @@ if is_command x-terminal-emulator; then
|
||||
fi
|
||||
|
||||
if is_command gnome-terminal; then
|
||||
# Check if our gnome-terminal version supports --wait
|
||||
# (we can't just run it and check exit code, because if it works, it will
|
||||
# return the exit code of the child process)
|
||||
if gnome-terminal --help-terminal-options | grep --silent -- --wait; then
|
||||
exec gnome-terminal --wait
|
||||
else
|
||||
exec gnome-terminal
|
||||
fi
|
||||
exec qubes-run-gnome-terminal
|
||||
fi
|
||||
|
||||
for terminal in xfce4-terminal konsole urxvt rxvt termit terminator Eterm aterm roxterm termite lxterminal mate-terminal terminology st xterm; do
|
||||
|
@ -615,6 +615,7 @@ rm -f %{name}-%{version}
|
||||
/usr/bin/xenstore-watch-qubes
|
||||
/usr/bin/qubes-desktop-run
|
||||
/usr/bin/qubes-run-terminal
|
||||
/usr/bin/qubes-run-gnome-terminal
|
||||
/usr/bin/qubes-open
|
||||
/usr/bin/qubes-session-autostart
|
||||
/usr/bin/qvm-console
|
||||
|
Loading…
Reference in New Issue
Block a user