[opensuse] KDE: konsole always starts with mc midnight commander ever since I started mc from the kde start menu
What happen? I am a noob kde wise and for desktop usage. I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck? I hate graphical desktops ;( Thanks for helping. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 13/11/2016 17:10, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
Try running xterm and type konsole at the command prompt. Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On November 13, 2016 8:12:11 AM PST, Dave Plater
On 13/11/2016 17:10, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
Try running xterm and type konsole at the command prompt. Dave P
Wouldn't that be just a tad redundant? Why not fix the problem? Edit the konsole icon on the menu and see if it got changed to a MC start. Check if the konsole being selected is from the recently used list or the actual konsole entry in the menu. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/13/2016 9:10 AM, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
Alt + F2, then type 'xterm' (and hit return) The problem is you are clicking on a link that is executing 'xterm -e mc' or something similar that is starting mc in the terminal. How you did that -- dunno... You can always type Alt + F2 then 'kmenuedit' and navigate to the place you are launching (or trying to launch) the xterm from and look at the command it is issuing -- you can change it while you are at it -- then click 'save' and try again. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/13/2016 11:16 AM, David C. Rankin wrote:
Alt + F2, then type 'xterm' (and hit return)
Make that Alt + F2, then type 'konsole' (and hit return) (infant alzheimers) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, Nov 13, 2016 at 6:36 PM, David C. Rankin
On 11/13/2016 11:16 AM, David C. Rankin wrote:
Alt + F2, then type 'xterm' (and hit return)
Make that Alt + F2, then type 'konsole' (and hit return)
Thanks for all the replies here on the thread. Well no I am not that kind of a noob :) , but I come across all kinds of weird stuff in my life, so sorry to disappoint. Even alt+f2 and running/typing konsole there fires up the konsole with an mc inside. All started pretty simple: Leap 42.2 system upgraded just the other day, wanted to mess with some files, so zypper in mc as root midnight commander appears in kde startmenu. I click it there. fires up a konsole with mc inside. Working with it a bit. Closing mc (f10) again. That konsole vanishes as well. Then every new konsole comes up with an mc inside, be it alt+f2, be it from kde start menu typing konsole there or selecting it from recent applications. So eventually, there must be some config file or resource stuff on the disk that tells some running stack of the kde to load some kterm with some subsequent command after that. Thats what I figured, as finally I even zypper rm mc as root and firing up a konsole via alt+f2 or kde start menu or recent applications, all give me a konsole, but with a red error message line at the very first message before the bash prompt, telling me some krunner or kstart or whatever I cant remember, was failing to trigger mcedit or was it only mc or whatever stuff. Eventually i logged out of the kde session and ctrl+alt+backspace several times or so, and relogging into kde again and the konsole now behaves again normally, even without that red error message it had before. So is this some very weird bug, does this need bugreport or more serious testing? I am feeling very frustrated many times over when I am experiencing the linux graphical interfaces world, maybe I have dwelt too long on the windows side of life and a lot of stuff on kde is just feeling fricken insane or absolutely incomplete unfinished and not even started to bake yet :( Or is most people constantly clean installing their stuff from scratch or never come across such bugs, or dont care or is this level of quality the standard of the linux or kde world? Where does this kstart or krunner or whatever it was called put its information into or take into consideration what apps or programs or scripts to fetch and start that tie into a konsole start? but i tried to grep for "mc" pretty much everywhere in my ~ directory, .* and* but i have seen no meaningful hits from grep when trying to find out why the heck a konsole would become populated with a midnight commander :( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
uname -a Linux linux 4.4.27-2-default #1 SMP Thu Nov 3 14:59:54 UTC 2016 (5c21e7c) x86_64 x86_64 x86_64 GNU/Linux /etc/os-release NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/ I just repro this bug or behavior: New konsole from start menu In new konsole: sudo zypper in mc Installs mc and mc-lang Start mc from start menu, system, midnight commander Starts up a konsole with mc inside F10 exiting mc and konsole the same time Starting up konsole directly from start menu or alt+f2 always starts a konsole with mc inside :( As root zypper rm mc Removes mc and mc-lang Starting up yet another konsole (alt+f2 or start menu no matter) Starts konsole but first red error message inside the new konsole window complains with: Warning: Could not find '/usr/bin/mc', starting '/bin/bash' instead. Please check your profile settings. person@linux:~> some grep mc .* output: .xsession-errors-:0:Creating the cache for: "applications:mc.desktop" .xsession-errors-:0:"Could not find binary: " "/usr/bin/mc" .xsession-errors-:0:Creating the cache for: "applications:mc.desktop" .xsession-errors-:0:"Could not find binary: " "/usr/bin/mc" .xsession-errors-:0:org.kde.kurifilter-ikws: "Warning: Could not find '/usr/bin/mc', starting '/bin/bash' instead. Please check your profile settings. person@linux:~>" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/13/2016 12:06 PM, cagsm wrote:
Could not find '/usr/bin/mc', starting '/bin/bash' instead
Is this /usr/bin/mc perhaps getting hammered into your konsole profile? Open konsole, select settings from top menu, then Edit Current Profile and see if MC was hammering itself into the konsole profile. (It shouldn't do that, IMHO.) You can use manage profiles, from that same menu location to create a new one, or switch to another one). -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, Nov 13, 2016 at 10:06 PM, John Andersen
Open konsole, select settings from top menu, then Edit Current Profile and see if MC was hammering itself into the konsole profile. (It shouldn't do that, IMHO.) You can use manage profiles, from that same menu location to create a new one, or switch to another one).
Thank you. Yes there it is, i first looked at a normal konsole unaffected by mc just yet. It reads Profile name: Default and command name: /bin/bash As soon as I started midnight commander from start menu, the profile name field becomes emtpy, and command name into /usr/bin/mc or such. I didnt check all those endless other settings in the Edit current profile window, so I can not say if it does other stuff. Is this supposed to be the desired and normal behavior of mc taking the profile settings of konsole as hostage? Who is coding these bugs aka behaviors? ;( I still had open some unaffected konsoles next to the mc affected one. I closed those normal konsole as last, maybe allowing them to write their settings or profile stuff last to make them authoritative and rebooted the whole system, then the system comes back up and kde with konsole works normally without needing to remove mc package via zypper and without that error message in konsole. I wonder who or what cleans this stuff up in which ways and if all of this is considered to be normal and wanted behavior? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/11/2016 13:12, cagsm wrote:
Yes there it is, i first looked at a normal konsole unaffected by mc just yet. It reads Profile name: Default and command name: /bin/bash
As soon as I started midnight commander from start menu, the profile name field becomes emtpy, and command name into /usr/bin/mc or such. I didnt check all those endless other settings in the Edit current profile window, so I can not say if it does other stuff. Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything.
Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Nov 15, 2016 at 7:23 AM, Dave Plater
Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything.
And I thought I had already given too many lines and words in describing my troubles ;) I have empty kde desktop. Maybe I used a konsole before. Maybe I had a normal konsole open (via start menu), maybe not. But I start mc via the start menu entry where it reads "Midnight Commander". I installed mc via zypper in mc. As soon as I startmenu mc, it opens a konsole with mc inside. I exit that konsole with mc inside via F10. I try then to start a simple normal konsole also via startmenu or via Alt+F2, and from this time on, there is no simple normal konsole coming up any more but all following konsole start attempts come up filled with mc. :( Is this actually supposed to be a normal behavior? Nobody replied on this. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/11/2016 12:50, cagsm wrote:
On Tue, Nov 15, 2016 at 7:23 AM, Dave Plater
wrote: Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything.
And I thought I had already given too many lines and words in describing my troubles ;) I have empty kde desktop. Maybe I used a konsole before. Maybe I had a normal konsole open (via start menu), maybe not. But I start mc via the start menu entry where it reads "Midnight Commander". I installed mc via zypper in mc. As soon as I startmenu mc, it opens a konsole with mc inside. I exit that konsole with mc inside via F10. I try then to start a simple normal konsole also via startmenu or via Alt+F2, and from this time on, there is no simple normal konsole coming up any more but all following konsole start attempts come up filled with mc. :( Is this actually supposed to be a normal behavior? Nobody replied on this.
No this isn't normal behaviour. The next step is to right click on the start menu icon and select edit applications which opens the menu editor and navigate to Konsole under the System catagory, click on this and post the contents of the Command box. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 15 Nov 2016 14:06:18 +0200 Dave Plater wrote:
On 15/11/2016 12:50, cagsm wrote:
On Tue, Nov 15, 2016 at 7:23 AM, Dave Plater
wrote: Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything.
And I thought I had already given too many lines and words in describing my troubles ;) I have empty kde desktop. Maybe I used a konsole before. Maybe I had a normal konsole open (via start menu), maybe not. But I start mc via the start menu entry where it reads "Midnight Commander". I installed mc via zypper in mc. As soon as I startmenu mc, it opens a konsole with mc inside. I exit that konsole with mc inside via F10. I try then to start a simple normal konsole also via startmenu or via Alt+F2, and from this time on, there is no simple normal konsole coming up any more but all following konsole start attempts come up filled with mc. :( Is this actually supposed to be a normal behavior? Nobody replied on this.
No this isn't normal behaviour. The next step is to right click on the start menu icon and select edit applications which opens the menu editor and navigate to Konsole under the System catagory, click on this and post the contents of the Command box. Regards Dave P
Another possibility ... Where does KDE store (for lack of exact terms) 'last instance meta data' for Konsole, e.g. window geometry? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On November 15, 2016 4:06:18 AM PST, Dave Plater
On Tue, Nov 15, 2016 at 7:23 AM, Dave Plater
wrote: Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything.
And I thought I had already given too many lines and words in describing my troubles ;) I have empty kde desktop. Maybe I used a konsole before. Maybe I had a normal konsole open (via start menu), maybe not. But I start mc via the start menu entry where it reads "Midnight Commander". I installed mc via zypper in mc. As soon as I startmenu mc, it opens a konsole with mc inside. I exit that konsole with mc inside via F10. I try
On 15/11/2016 12:50, cagsm wrote: then
to start a simple normal konsole also via startmenu or via Alt+F2, and from this time on, there is no simple normal konsole coming up any more but all following konsole start attempts come up filled with mc. :( Is this actually supposed to be a normal behavior? Nobody replied on this.
No this isn't normal behaviour. The next step is to right click on the start menu icon and select edit applications which opens the menu editor and navigate to Konsole under the System catagory, click on this and post the contents of the Command box. Regards Dave P
No Dave, that's NOT the next step. Follow the thread, so we don't have to continuously re-cover old ground. We've already established how MC is accomplishing it's immortality. It is hammering the konsole profile. The only thing left to do is find out why it only does this, and prevent it. It could probably be prevented by finding where konsole profiles are stored and chattr it to immutable. But that's not the solution either. Maybe just leaving the hammered profile there and creating a new profile would keep MC happy. But that's not the solution either. This is a new bug either in MC or konsole. Which developer is more likely to have committed this act? The MC dev, or the Konsole Dev. Personally I trust the KDE programmers far less. But in this case I rather think it must be MC tomfoolery. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/11/2016 18:45, John Andersen wrote:
On November 15, 2016 4:06:18 AM PST, Dave Plater
wrote: Am I right that you start a normal konsole from the start menu and when you start midnight commander from the start menu it causes the first normal konsole window to become a midnight commander window? I normally start mc from a normal konsole via command line but if I start mc from the start menu it doesn't hijack any of my konsole windows. This is on Leap:42.1 but I'm concerned because I'm updating to 42.2 shortly and I use konsole and mc for almost everything. And I thought I had already given too many lines and words in describing my troubles ;) I have empty kde desktop. Maybe I used a konsole before. Maybe I had a normal konsole open (via start menu), maybe not. But I start mc via
On Tue, Nov 15, 2016 at 7:23 AM, Dave Plater
wrote: the start menu entry where it reads "Midnight Commander". I installed mc via zypper in mc. As soon as I startmenu mc, it opens a konsole with mc inside. I exit that konsole with mc inside via F10. I try On 15/11/2016 12:50, cagsm wrote: then
to start a simple normal konsole also via startmenu or via Alt+F2, and from this time on, there is no simple normal konsole coming up any more but all following konsole start attempts come up filled with mc. :( Is this actually supposed to be a normal behavior? Nobody replied on this.
No this isn't normal behaviour. The next step is to right click on the start menu icon and select edit applications which opens the menu editor and navigate to Konsole under the System catagory, click on this and post the contents of the Command box. Regards Dave P
No Dave, that's NOT the next step.
Follow the thread, so we don't have to continuously re-cover old ground.
We've already established how MC is accomplishing it's immortality. It is hammering the konsole profile.
The only thing left to do is find out why it only does this, and prevent it.
It could probably be prevented by finding where konsole profiles are stored and chattr it to immutable.
But that's not the solution either.
Maybe just leaving the hammered profile there and creating a new profile would keep MC happy.
But that's not the solution either.
This is a new bug either in MC or konsole.
Which developer is more likely to have committed this act? The MC dev, or the Konsole Dev. Personally I trust the KDE programmers far less. But in this case I rather think it must be MC tomfoolery.
If somebody on Leap:42.2 could have tried to reproduce then it might be marked as a bug. Konsole is many versions past 42.1 in 42.2 whereas mc is the same version. I'll have to wait until I've updated to 42.2 and see. Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/13/2016 02:35 PM, cagsm wrote:
Well no I am not that kind of a noob :) , but I come across all kinds of weird stuff in my life, so sorry to disappoint. Even alt+f2 and running/typing konsole there fires up the konsole with an mc inside.
Could you carry out the following test. I'm sorry but its all GUI and such In a Konsole session, on the Konsole menu bar, select Settings -> Edit Current Profile There, please report what's in the field "Command" Thank you. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Nov 14, 2016 at 1:17 PM, Anton Aylward
Could you carry out the following test. I'm sorry but its all GUI and such In a Konsole session, on the Konsole menu bar, select Settings -> Edit Current Profile There, please report what's in the field "Command"
See my other post in this thread and also the error message in my previous posts, thats the command line that is in there https://lists.opensuse.org/opensuse/2016-11/msg00296.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op maandag 14 november 2016 16:25:37 CET schreef cagsm:
On Mon, Nov 14, 2016 at 1:17 PM, Anton Aylward
wrote: Could you carry out the following test. I'm sorry but its all GUI and such In a Konsole session, on the Konsole menu bar, select
Settings -> Edit Current Profile
There, please report what's in the field "Command"
See my other post in this thread and also the error message in my previous posts, thats the command line that is in there https://lists.opensuse.org/opensuse/2016-11/msg00296.html
Remove, whilst not logged in on the desktop, ~/.local/share/konsole ( and loose the Shell.profile in it ) -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 13/11/2016 17:10, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
I can confirm that with a fresh install of Leap:42.2 I can : Start Midnight commander from the start menu and then exit it via F10 (I normally use mc directly from konsole) Then start konsole from the start menu and midnight commander doesn't automatically start. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On November 23, 2016 11:02:18 PM PST, Dave Plater
On 13/11/2016 17:10, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
I can confirm that with a fresh install of Leap:42.2 I can : Start Midnight commander from the start menu and then exit it via F10 (I normally use mc directly from konsole) Then start konsole from the start menu and midnight commander doesn't automatically start. Regards Dave P
This has been covered before. MC hammers the Konsole profile. Create a new profile. I -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/11/2016 09:00, John Andersen wrote:
On November 23, 2016 11:02:18 PM PST, Dave Plater
wrote: On 13/11/2016 17:10, cagsm wrote:
What happen? I am a noob kde wise and for desktop usage.
I just started mc midnight commander from inside an empty konsole as a normal user on a kde desktop. Then eventually exited it via f10 keypress. Whole konsole vanished. I try to fire up a new konsole from kde start menu, be it by entering konsole in the search area or by navigaing recently used apps and such stuff. I never get a normal konsole any more but always populated with a midnight commander inside. What the heck?
I hate graphical desktops ;( Thanks for helping.
I can confirm that with a fresh install of Leap:42.2 I can : Start Midnight commander from the start menu and then exit it via F10 (I normally use mc directly from konsole) Then start konsole from the start menu and midnight commander doesn't automatically start. Regards Dave P
This has been covered before. MC hammers the Konsole profile. Create a new profile. I If you read what I said, everything works as expected, midnight commander doesn't do anything to the konsole profile. Dave P
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Anton Aylward
-
cagsm
-
Carl Hartung
-
Dave Plater
-
David C. Rankin
-
John Andersen
-
Knurpht - Gertjan Lettink