You are not logged in.
I have been using kde and want to test gnome - I installed it on 3 computers. On 2 of them all is fine.
On the third before actually logging in with gnome session, I wanted to see how to start gnome-terminal with multiple tabs - something I have been doing with konsole.
So I experimented running gnome-terminal --tab --tab and the like which seemed to work - but then out of nowhere it started with many many tabs (top showed tons of gnome-terminal's ) and I have to kill the window before my computer becomes unusable.
What is more strange is if I now run any terminal (konsole for example) it works but in addition a gnome-terminal with same massive number of tabs starts as well - one for each tab in the konsole.
Same for every terminal I run - somehow gnome-terminal is now in very bad state.
This behavior is same in plasma or gnome desktop session.
I've searched high and low for how to clean up but only fix I have for now is uninstall gnome-terminal.
I tried running 'strace -f' on konsole - but didn't see an explanation - also stracee on gnome-terminal itself. Searched and cleaned .local and .config best I can but nothing I do seems to help.
Any suggestions on how to get gnome-terminal working normally again ?
thank you for any guidance!
gene
Last edited by GeneArch (2022-08-08 14:12:01)
Offline
Forgot to say stracing konsole - shows it starts 2 gnome-terminals each as : gnome-terminal --tab --tab --tab --tab
Why would konsole start a gnome-terminal?
Since each terminal has many more than 4 tabs - I wonder 'where' does gnome terminal remember to start with 4 tabs - and it 'appears' as though each 'tab' is starting with another 4 tabs .. or something.
Anyway - if any gnome-experts can advice how to clear and make it forget be much appreciated.
thanks!
Offline
Why would konsole start a gnome-terminal?
Probably because you told it to.
What did you configure as startup command in either terminal emulator?
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
hi
konsole command is: /bin/bash
gnome-terminal command is blank - I did not choose custom command instead of my shell - option.
Where does gnome-terminal save the arguments --tab times 4 do you know?
Offline
this behaviour happens with ANY terminal - so there are 2 things that are problematic.
a) any terminal somehow also starts a gnome-terminal in addition to itself.
b) any gnome-terminal has way way too many tabs
Offline
What's the output of
ps -ef | grep gnome-terminal
(issued from another terminal)?
Last edited by dogknowsnx (2022-08-08 13:32:06)
Offline
Do you get any error messages if you log in to a tty (and / or does logging in to a tty make more gnome terminals appear in your graphical session)?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
when the gnome-terminal pops up there are tons of gnome-terminals (I was running top) - not sure if threads or processes now. I need to kill it fairly quickly before it fork-bombs me.
@trilby - wow good question - when I login to tty indeed the graphical session starts up gnome-terminals -
In konsole if i open new tab - it does same thing - gnome-terminal pops up.
I have not changed by .bash_profile - but will go check now
Offline
@trilby you are a star.
User dummy duh - i added a helper script to my bash startups to help run gnome-terminals with tabs preset up - and put them in a directory which gets run in .bashrc - instead of in my helper directory ...
Asymptotically idiotic self ... thanks you thank you.
Offline
I fork bombed myself - thank you for your help!!
Offline