Comments (9)
Hi Peter, thanks for reporting this.
Which distribution/gnome-terminal are you running? I have no problem with Ubuntu 15.04. Now, adding a '&' certainly doesn't hurt, so I guess we should do that.
from build.
This is Ubuntu trusty.
$ gnome-terminal --version
GNOME Terminal 3.6.2
from build.
Ah, it turns out that if you already have one gnome-terminal running, then running 'gnome-terminal' from the command line will start a new window (presumably by talking to the other process) and then return to the command line. But if this 'gnome-terminal' is the first one, then it does not background itself or return to the command line until all the windows have closed.
I guess that you use gnome-terminal as your standard terminal, so it works for you. I use xterm, so the gnome-terminal started by this makefile is typically the only one running.
from build.
It might make sense to replace gnome-terminal in all scripts with xterm as xterm seems to be installed by default on majority of distros (haven't seen one that would not have it yet), while gnome-terminal is only installed by default when distro is gnome based or gnome DE has been installed.
from build.
I've never seen this problem myself, but indeed, I use gnome-terminal as my standard terminal.
@ototo , I'm fine with updating to use xterm
instead, I guess I was a bit selfish when I decided to use gnome-terminal instead of something more "generic" like xterm. Would you mind submit a patch for this?
Also, it might be worth trying to spawn the users standard terminal instead of trying to force a certain terminal. What about using:
/usr/bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
/etc/alternatives/x-terminal-emulator -> /usr/bin/gnome-terminal.wrapper
Or is the update-alternatives
still only a Ubuntu based feature?
from build.
@ototo IMO xterm is a bit old-fashioned 😉 but you may have a point. FWIW, the following works fine on my laptop:
diff --git a/qemu.mk b/qemu.mk
index d278895..0593c64 100644
--- a/qemu.mk
+++ b/qemu.mk
@@ -193,7 +193,7 @@ endef
define launch-terminal
@nc -z 127.0.0.1 $(1) || \
- gnome-terminal -e "$(BASH) -c '$(SOC_TERM_PATH)/soc_term $(1); exec /bin/bash -i'" --title=$(2)
+ xterm -title $(2) -e $(BASH) -c "$(SOC_TERM_PATH)/soc_term $(1)" &
endef
.PHONY: run
from build.
Yes, x-terminal-emulator is an Ubuntu/Debian-ism. If you want to be fancy you could borrow the (public domain) wrapper script i3-sensible-terminal from i3wm (https://github.com/i3/i3/blob/next/i3-sensible-terminal), which basically does:
for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal mate-terminal terminology; do
if command -v $terminal > /dev/null 2>&1; then
exec $terminal "$@"
fi
done
But this is probably veering into over-engineering and just using xterm would do fine :-)
from build.
And one more bit: to make xterm looking better I'm using the following ~/XTerm file:
XTerm*Background: black
XTerm*Foreground: green
XTerm*faceName: Cousine
XTerm*faceSize: 14
from build.
What? Everyone knows that xterm has white background and black foreground. ;-)
from build.
Related Issues (20)
- Fail to build OP-TEE 3.21.0 for Hikey 960 HOT 7
- Optee build failed on RPi 3B+ due to make[4]: *** [Makefile:2377: s-automata] Error 137 HOT 2
- Build latest version on debian 11 fails HOT 1
- OP-TEE building under company proxy HOT 1
- Error building op-tee for QEMUv8 HOT 6
- Using hikey620's uart0 to console NW world HOT 1
- Issue with building image - v3.22.0 on Raspberry Pi 3B+ HOT 1
- Modify the linux kernel but not working HOT 3
- Failure to run with manifest qemu_v8.xml and SPMC_AT_EL=2 HOT 2
- AMD Versal ACAP - do not update to BSP 2023.1 HOT 4
- cannot find -lpci error while cross compiling for LS1043 HOT 1
- Who can help me!make -f qemu.mk all and get a error :ccache: error: Exec format error HOT 5
- Openssl doesn't get built in when build called from qemu.mk HOT 2
- RPI3b:-sh: apt-get: not found HOT 3
- Does the build support the config XEN_BOOT=y && SPCM_AT_EL=2 on qemu_v8 HOT 5
- Rust error "could not rename downloaded file" HOT 3
- Rust error: "failed to install component: 'rust-std-aarch64-unknown-linux-gnu', detected conflict" HOT 2
- Legacy BR options in tooclhain build HOT 6
- image load on qemu HOT 2
- optee_test_ext: /bin/bash: Argument list too long HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.