Score:2

Accidentaly broke Konsole (Kubuntu) after changing the default command

fr flag

I was testing some features in Konsole (Plasma's terminal) and accidentally set the command when you open it to something that is not bash and now it just flashes when I open.

The default command to open Konsole was /bin/bash and I changed to neofetch && /bin/bash but I typed something wrong and now terminal don't open bash and just flashes when opened.

I was wondering if there is some way to reset or reinstall it, but I didn't find anything useful on google.

Matthias Lenmher avatar
nl flag
Have you tried to install nother console from MUON package manager or Discovery ?
Matthias Lenmher avatar
nl flag
you can also perfom a `sudo apt-get install -reinstall konsole` when you can.
Nmath avatar
ng flag
Without telling us what exactly you did, it will be hard to tell you how to reverse it. You should edit your question and include exact details. Include all steps and commands.
cocomac avatar
cn flag
If you only messed up Konsole, you can [just use a TTY](https://askubuntu.com/questions/66195/what-is-a-tty-and-how-do-i-access-a-tty) to reinstall console (I would do `sudo apt update && sudo apt purge konsole && sudo apt autoremove && sudo apt install konsole` personally, just to get rid of any config files). Or, just install a different terminal emulator. If you messed with your `.bashrc` instead of the terminal, you can boot to a live CD, and use the live CD to fix your `.bashrc` file.
hr flag
I doubt resinstalling the package will help - the profile settings are likely stored on a per-user basis, no? You may need to find and delete the bad profile (likely in `~/.local/konsole/`)
fr flag
@steeldriver Oh, I deleted the folder and all of my profiles disappeared, now Konsole is working fine. Thanks!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.