KDE menus items gone

OpenSUSE 13.1 64 bit.

Since today, prob after some update, when I click the program starter button and then go to programs its all empty.

One other thing I notice to be missing, is yast from the computer tab.

Google gave me this: https://forums.opensuse.org/showthread.php/454287-Applications-missing-from-KDE-menu-and-file-associations-is-not-working

kbuildsycoca4 -noincremental

XXXX@linux-wovc:~> kbuildsycoca4 -noincremental
kbuildsycoca4 running...
kbuildsycoca4(8115) KConfigGroup::readXdgListEntry: List entry Keywords in "plasma-applet-lockout.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(8115) KConfigGroup::readXdgListEntry: List entry Keywords in "k3bsetup.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(8115): "applications.menu"  not found in  ("/home/guus/.config/menus/", "/etc/xdg/menus/") 

XXXX@linux-wovc:~>

:dont-know:

Hi,

I think the problem is that the “applications.menu” file is missing in “/home/guus/.config/menus/” and “/etc/xdg/menus/”.
I paste my file on pastebin. Download it and copy the file in the folders mentions above and run

 kbuildsycoca4 -noincremental

again. Maybe that helps.

http://pastebin.com/REHDq3Xx

Thank you that did help a bit.

When I first tried it it failed.

Then I went looking for the file I had downloaded.
it had an second extention.txt.

When I removed the .txt extension and run the command again, programs are back in the menu.

Desktop is missing everything what was on their, but I should be able to fix that. I hope I wont have to do it one by one. ( shortcuts )
This problem might be because of one of my fixing attempts.

And I still have to reboot, so who knows. :slight_smile:

Well no you have to logout then back in or run
kbuildsycoca4

To force an update

Yeah, sorry.
Fforgot to mention that you have to delete the txt-extension on the end first. My bad :).

Is your problem solved now?

Sorry for joining in late.

But IMHO you should not create the file application.menu manually.

The copy in /etc/xdg/menus is included in the package desktop-data-openSUSE. If it is missing, reinstall that package to fix it:

sudo zypper in -f desktop-data-openSUSE

You might miss other files too.

Yes its working again. The file association was broken too.
All fixed after manual inserting that file.

I will now uninstall and reinstall the opensuse part.

I tried running that comand, that failed, then tried yast, same error :open_mouth:

1 opnieuw te installeren pakket.
Totale downloadgrootte: 477,1 KiB Na de operatie zal er geen extra ruimte in gebruik zijn of vrij komen.
Doorgaan? [j/n/? alle opties tonen] (j): j
(1/1)  Installeert: desktop-data-openSUSE-13.1-3.1.3  ..........................................................................................................................[fout]
Installatie van desktop-data-openSUSE-13.1-3.1.3 is mislukt:
Fout: Subprocess failed. Error: RPM is mislukt: error: unpacking of archive failed: cpio: lstat failed - Input/output error
error: desktop-data-openSUSE-13.1-3.1.3.noarch: install failed


Afbreken, opnieuw, negeren? [a/o/n] (a): 

Installatie = Installation
is mislukt = it failed.
fout = error.

it fails to unpack ? wtf ?

Well, this might explain why you had the problem in the first place.

First of all, try to clear the zypper caches so that the package is re-downloaded. Right now it is just installed from the download cache, regardless whether you use YaST or zypper. They both use the same library underneath, libzypp.

zypper clean -a

“Input/Output error” would suggest that you have a problem with your hard disk though.
Run “dmesg|tail” after trying to install the package and post the output.
Try to run fsck (boot from a LiveCD to do this, or add “rd.break” to your boot options to stop booting before / is mounted and used to boot from).
Have a look at the output of smartctl.

Oh dear :frowning:

guus@linux-wovc:~> dmesg|tail
 8632.616327] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.616481] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.624611] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.624824] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.626698] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.627559] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.627713] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.658492] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.688097] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
 8632.694264] EXT4-fs error (device sdb2): ext4_lookup:1438: inode #131329: comm rpm: deleted inode referenced: 131761
guus@linux-wovc:~> 


minor update, I found the openSUSE 13.1 rescue cd.

Lets see if that has disk check programs.

First attempt, live cd did not boot, so I burned a new one.

That worked but fsck did nothing.
I had an idea why that did not work, so used google and the online man page of fsck.
Also used Kinfo, to see how my hard-disk and its partitions are called.

Then I found out that fsck /dev/sdb2 should be the right command ( for me )

So today started up the rescue cd of opensuse 13.1.
Opened up a console and typed fsck /dev/sdb2

Then openSUSE told me , I had to be root so, su and another try.

I do not really understand all it asked, but it repaired inodes, links and some more stuff.
The summary at the end told me I had 0.1% of corrupted thingies.

Next I rebooted and tried the zypper command again.
This time it worked. rotfl!

Thank you guys.

Now I only need to find out why I have two taskbars. :
I only had one when this all started.

Sorry for not giving more advice here. But I thought you’d ask if you need help… :wink:
Good to here that you worked it out though… :slight_smile:

Thank you guys.

You’re welcome.

Now I only need to find out why I have two taskbars. :
I only had one when this all started.

Well, try to remove one?
Clicking on the toolbox symbol on the right end of the panel should allow you to do that.

I got exactly the help I wanted, I prefer to be pointed in the right direction, and having to do some reading myself. :slight_smile:
Learned a lot, to bad I don use these commands enough to remember them.
Some times I wish I had seen the early days of Linux.

Maybe I should install slackware ( mommy of suse ;)) or arch.
Not that I want to use another distro, but those two, would prob force me to learn more about Linux.
My first distro was suse 9.3 or something like that.

Second taskbar is gone.
At first I was a bit scared, that removing one taskbar would remove both, but it didn’t.

( no, I dont trust computers)

Slightly off topic, I am loving Linux (the command-line) more and more.
I did not format my drive, I did not reinstall my os :wink: , but its working again.
Many years ago when I first learned about pc’s , I hated (and still do, ms dos)
The Linux command-line is a totally different story though.
Great tool, also to screw up your system, but you learn a lot from that too. :stuck_out_tongue:

Do you happen to have the XFCE desktop installed as well?

If so it could be related to this:
https://forums.opensuse.org/showthread.php/503078-Latest-upgrade-to-XFCE-desktop-may-render-the-Desktop-non-usable
https://forums.opensuse.org/showthread.php/503056-13-2-Xfce-software-update-failing?p=2679343#post2679343

I am still on 13.1 and kde, so I do not think its related.

Its easy to see how that file system could get corrupted.
I use openSUSE for a lot of things, and sometimes programs totally freeze the desktop, and often I can’t use the keyboard anymore either.

Holding the power button of the pc is then the only option.

Well that should not happen… What graphics card and what driver.

HD5750 catalyst driver.

Sometimes LMMS freezes my system.
Sometimes its a game (through steam), and I suspect skype to cause sound issues.
Audacious also sometimes freezes my system.

In general my system is very stable though.