This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate text editor missing prev next buttons

Tags: None
(comma "," separated)
jacobdavidc
Registered Member
Posts
8
Karma
0
I don't understand, I am using Linux Mint 17.2... I tried both 64 and 32 bit... both are missing the prev/next buttons which allow me to navigate with multiple files open.

I scoured through the configuration file and didn't see anything regarding the prev/next buttons.

I'm also wondering if this is normal:

State=AAAA/wAAAAD9AAAAAAAABVYAAAKSAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAAAAADGgAAAAAAAAAA

Found in all three window settings.

I'd appreciate any help. Thanks.
luebking
Karma
0
Settings/Configure Toolbars

filter for "tab", add previous and next tab.

If you're missing the document pane:
Settings/Configure Kate
select "Plugins" and enable the "file tree"
jacobdavidc
Registered Member
Posts
8
Karma
0
Hello luebking,

Thank you for your response...

I did make progress by figuring out how to show "configure kate" on the window/UI can't believe It took me a while to figure out how to add/display a filter.

I don't see something for Tab.

I also don't see file tree in the plugins (it's empty)

I have to see how to get more plugins for kate.
luebking
Karma
0
Sounds like an installation error - there yould be a bunch of plugins shipped with kate by default.
What's the output of "kate --version"?
jacobdavidc
Registered Member
Posts
8
Karma
0
Hello luebking,

Thanks for the follow up.

I guess I mentioned I'm using linux... The output is

Qt: 4.8.6
KDE Development Platform: 4.14.2
Kate: 3.14.2
luebking
Karma
0
Oh, that's still KDE/4 based kate - I actually don't know whether the tab actions were available there.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
luebking wrote:Oh, that's still KDE/4 based kate - I actually don't know whether the tab actions were available there.

They are, if the filetree plugin is installed:
Image
(and you don't have to, and cannot even, enable it, it should always be loaded automatically)

Maybe you don't have the package kate-data installed? This contains the plugins.
Does the file /usr/share/kde4/services/katefiletreeplugin.desktop exist?
If yes, maybe try to run "kbuildsycoca4 --noincremental" (as user, not root) to recreate the system configuration cache.
jacobdavidc
Registered Member
Posts
8
Karma
0
Hello wolfi323,

I navigated to the location mentioned and I am not sure if the file tree folder I am looking at is a .desktop... I don't think that it is a folder, it appears to be a text file however in my view it is shown as a folder. I can't open it, I don't think I'm supposed to anyway, here is a shot of what I'm seeing.

Image
wolfi323
Registered Member
Posts
1129
Karma
11
OS
jacobdavidc wrote:I navigated to the location mentioned and I am not sure if the file tree folder I am looking at is a .desktop... I don't think that it is a folder, it appears to be a text file however in my view it is shown as a folder. I can't open it, I don't think I'm supposed to anyway, here is a shot of what I'm seeing.

You can open it (in Kate e.g.), it is just a text file (and no folder). The file is actually named katefiletreeplugin.desktop. not "File Tree".
Your file manager is trying to be clever here...

Anyway, as the file exists, the plugin should be there.
Try to run "kbuildsycoca4 --noincremental" in a terminal window as user, and then run Kate to see whether it works now.
jacobdavidc
Registered Member
Posts
8
Karma
0
hello wolfi323,

I tried what you said

First I had to install kdelibs-bin

Now I'm getting a message that says

kbuildsycoca4 running...
kbuildsycoca4(13108): "applications.menu" not found in ("/root/.config/menus/", "/etc/xdg/menus/")

And starting kate again does not show the arrows, I'll see if I can fix that applications.menu

I'm noticing this error

"session d-bus connection... failed to connect to D-BUS daemon"

I tried something which was probably stupid in retrospect but I see that I have no menus folder in /root/.config/menus/ and I checked in /etc/xdg/menus/ (the other location mentioned) and while there was a menu here, there wasn't a menu.applications file. There was a cinnamon-menu.applications file so I copied it, renamed it, and then ran the command you mentioned.

This time it worked as far as not spitting out an error however running kate again, I didn't see a change so it must not have worked. I don't know why I would have expected that to work but I saw a similar "hack" somewhere else although completely different application.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
jacobdavidc wrote:Now I'm getting a message that says

kbuildsycoca4 running...
kbuildsycoca4(13108): "applications.menu" not found in ("/root/.config/menus/", "/etc/xdg/menus/")

Hm, you should have an applications.menu in /etc/xdg/menus/...
Although at least in openSUSE GNOME uses "gnome-applications.menu", and Cinnamon in Mint apparently does the same.
But actually this should be set by the $XDG_MENU environment variable, and apply to KDE4 then too.

Well, here (openSUSE) KDE4's application.menu is part of the package kdelibs4 (but renamed to applications.menu.kde4 as SUSE provides its own).
No idea about Mint, but the package is probably called similar. You said that you had to install kdelibs-bin, maybe try to install other packages that start with kdelibs and run kbuildsycoca4 again.

Otherwise I'm out of ideas at the moment, sorry.
Maybe ask in a distribution specific forum?
jacobdavidc
Registered Member
Posts
8
Karma
0
Hey great idea about the distributions forum.
I will try that.

No problem, I appreciate your efforts thus far.
luebking
Karma
0
> I have no menus folder in /root/.config/menus/

you're not supposed to run kbuildsycoca as root (sudo), but as the user you're logged in as.
You're not logging in as root, do you?
jacobdavidc
Registered Member
Posts
8
Karma
0
Well apparently there is a known problem with Linux Mint Cinnamon 17.1 / 17.2

I'm trying the KDE version, will see if that fixes it.

Seems nuts I would change OS's just for the sake of a text editor but... I really like Kate
jacobdavidc
Registered Member
Posts
8
Karma
0
To follow up

I changed Desktop Environments to KDE and now the editor is as should be as far as I know.

Thanks for all the help

Image


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft