LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-01-2016, 01:07 PM   #1
L_Carver
Member
 
Registered: Sep 2016
Location: Webster MA USA
Posts: 243

Rep: Reputation: Disabled
Question Can't launch Kate the "ordinary" way (LM18 KDE)


For a few weeks now, through an uninstall and reinstall of both kate and kwrite, I get this dialog (see attached). I may be reading it wrong, but I think kate was re-installed along a different path than the one along which it "arrived" on my system during install (from live-cd).

Any considered advice appreciated, per norma.

Carver
Attached Thumbnails
Click image for larger version

Name:	kate-no-open-dlg.png
Views:	34
Size:	24.8 KB
ID:	23659  
 
Old 12-02-2016, 08:47 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
No solutions, but some troubleshooting suggestions:

Try using a file search, such as the locate command, or a file manager's search feature to determine whether the files listed are indeed installed on your system and, if so, where they are located.

Try running Kate from the command line ("kate"). Perhaps it will throw a more useful error message to the command line.

Do updates run properly or do you get errors about broken packages? If the latter, try

Code:
sudo apt-get -f  <---for "fix-broken"
to fix them.
 
Old 12-03-2016, 11:30 AM   #3
L_Carver
Member
 
Registered: Sep 2016
Location: Webster MA USA
Posts: 243

Original Poster
Rep: Reputation: Disabled
Arrow Just tried a launch of Kate from command line

Like so:
Code:
$ /usr/bin/kate
It gave these errors to stdout:
Code:
QObject::connect: invalid null parameter
QObject::connect: invalid null parameter
QObject::connect: Cannot connect (null)::returnPressed() to KUrlRequester::returnPressed()
QObject::connect: Cannot connect (null)::returnPressed(QString) to KUrlRequester::returnPressed(QString)
I also tried "sudo apt-get -f" but it showed me there's no -f option in my apt-get. I normally fix broken packages with apt-get update && apt-get upgrade.

The messages don't appear to match the error in the dialog I screen-shot. I have yet to do a search on the files mentioned in that dialog. As for running apps lunched from command-line, I regularly launch Viewnior that way, sometimes gedit and KWrite as well.

I'm further along than I was, but I think the search for those supposedly missing items will be the make-or-break of this thing.

Carver
 
Old 12-03-2016, 09:24 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
I fear that those error messages are outside of my experience. I use Kate on Mint frequently and consider myself lucky not to have run into this, as it is my favorite GUI text editor.

I just fired up a VM of Mint and got the same result you did when I tried to run

Code:
sudo apt-get -f
sudo apt-get --fix-broken
Yet, the man page for apt-get includes both those options. As my old boss used to say, This Is Not Right.

Try firing up Synaptic. On one of its menus is a "Fix Broken" option. Let us know whether that works.

You might also try

Code:
sudo aptitude -f
That seems to work, but the window it opens looks quite complex and I don't have the time to learn my way around it tonight.

Maybe someone who knows what he is doing will deign to join this thread, he said hopefully.
 
Old 12-04-2016, 08:51 PM   #5
L_Carver
Member
 
Registered: Sep 2016
Location: Webster MA USA
Posts: 243

Original Poster
Rep: Reputation: Disabled
apt-get -f is not in mine.

I try it and get the message:
Code:
E: Command line option 'f' [from -f] is not understood in combination with the other options.
A version line reads:
Code:
apt 1.2.15 (i386)
And I have yet to see a 'Fix Broken' option in my current install of Synaptic, nor do I see a "Mark upgrades" button, which I remember seeing in Ubuntu 11.04 and in Trinity in Q4OS.

Carver
 
Old 12-04-2016, 09:34 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Try Synaptic-->Edit-->Fix Broken Packages. That's what I'm seeing in my VM.
 
Old 12-07-2016, 12:10 PM   #7
L_Carver
Member
 
Registered: Sep 2016
Location: Webster MA USA
Posts: 243

Original Poster
Rep: Reputation: Disabled
Thumbs up A little bit further, with Krunner in the mix.

Quote:
Originally Posted by L_Carver View Post
I have yet to do a search on the files mentioned in that dialog.
Well, I just did that search, and no such file comes up for libkdeinit5_ksystraycmd.

Is there some way I could find that file in a package and/or shoehorn it in at the right place for Plasma to see it and use it? Launching Kate from KRunner is better for me than doing so from Konsole; there's no terminal prompt to free up and no nohup overhang (clear-able with Ctrl-C) after I quit the app in the usual ways. But it's still not kosher, since I have Kate in two places in my K menu. Neither of which is Favorite Apps, gratefully; a slip of my mouse pointer there would have me reading that dialog box more often than anyone should have to.

So again, closer to a solution, but not quite there yet.

Carver

Last edited by L_Carver; 12-07-2016 at 12:12 PM. Reason: Punctuation
 
Old 12-15-2016, 06:38 PM   #8
L_Carver
Member
 
Registered: Sep 2016
Location: Webster MA USA
Posts: 243

Original Poster
Rep: Reputation: Disabled
Found out what the problem was...

...solved it, and now Kate launches both ways fine.

This forum post explained that the default launch string for Kate, short as it was, was unnecessary.

So good to have Kate back the way it was supposed to be.

Carver
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KDE: "quick launch" icons all over the panel MagicGivePen Linux - Desktop 6 10-27-2015 04:57 PM
[SOLVED] "more than 1,024 characters" issue on Kate v3.8.1 [Fedora 16, KDE 4.8.1] comcastuser Linux - Software 4 04-18-2012 01:24 AM
Howto launch KDE "Konsole" in separate workspaces in 11.04? (Ubuntu) kline Linux - Distributions 4 05-02-2011 09:53 PM
KDE Menu - what is "Enable launch feedback"? curmudgeon42 Linux - General 1 08-15-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration