Bug 314277 - KDE + Openbox = no appmenus, no default programs, only terminal and prior shortcuts can open programs
Summary: KDE + Openbox = no appmenus, no default programs, only terminal and prior sho...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.9
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-01 23:22 UTC by KLnknprk5
Modified: 2014-10-06 01:35 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture of Kickoff/Launcher afflicted (207.21 KB, image/png)
2013-02-01 23:27 UTC, KLnknprk5
Details
Krunner/runner interface afflicted (252.08 KB, image/png)
2013-02-01 23:29 UTC, KLnknprk5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KLnknprk5 2013-02-01 23:22:55 UTC
Kubuntu 12.04 and 12.10 have both exhibited this problem but I no longer have a 12.04 install to report on. In 12.10 krunner, kickoff, and default applications no longer recognize any installed programs(IE they now are just empty lists). Only previously made (before openbox is installed) shortcuts and using a terminal work; though I haven't made any shortcuts after to test if shortcuts are effected. It does not matter if openbox is even used or not; after it is installed KDE will still suffer this problem.

Attempted fixes were reinstalls of kde-workspace-bin and plasma-workspace and they did work for at least one reboot...however then for no apparent reason the problem returns even if no changes are made to the system. Removing openbox did not seem to fix the problem either. I have no idea where to track do anything more useful to help pinpoint the issue so please forgive me as I would have otherwise.
Comment 1 KLnknprk5 2013-02-01 23:27:42 UTC
Created attachment 76865 [details]
Picture of Kickoff/Launcher afflicted
Comment 2 KLnknprk5 2013-02-01 23:29:34 UTC
Created attachment 76866 [details]
Krunner/runner interface afflicted
Comment 3 marcin93 2013-02-20 14:11:43 UTC
(In reply to comment #0)
> Kubuntu 12.04 and 12.10 have both exhibited this problem but I no longer
> have a 12.04 install to report on. In 12.10 krunner, kickoff, and default
> applications no longer recognize any installed programs(IE they now are just
> empty lists). Only previously made (before openbox is installed) shortcuts
> and using a terminal work; though I haven't made any shortcuts after to test
> if shortcuts are effected. It does not matter if openbox is even used or
> not; after it is installed KDE will still suffer this problem.
> 
> Attempted fixes were reinstalls of kde-workspace-bin and plasma-workspace
> and they did work for at least one reboot...however then for no apparent
> reason the problem returns even if no changes are made to the system.
> Removing openbox did not seem to fix the problem either. I have no idea
> where to track do anything more useful to help pinpoint the issue so please
> forgive me as I would have otherwise.

+1 I have also this situation. kubuntu x64
Comment 4 KLnknprk5 2013-02-20 21:01:41 UTC
Sadly, I'm doubtful anyone is going to fix this. It's in the "whenever" category. Maybe if we vote this thing up or something? I'm also betting that they will say that it is a Openbox problem.

Marcin: Can you post screen shots of the application launcher on the application tab (mouse over it) along with showing krunner when you try to type in the "common name" of a program (IE Chrome for google-chrome; or writer for libreoffice --writer) to show that it is not working? Thanks.
Comment 5 marcin93 2013-02-21 06:54:51 UTC
It 'll be hard to explain but i fix it. Hard becouse i don't know what from exacly work. First of all before this effect i install lubuntu meta package. After remove main package i logged into plain kde/openbox and there i found less of applications in menu (kickoff and "alt+f2"). 

What i've done is: remove all packages which was install with meta-package and reinstall main kde packages, restart and it works
Comment 6 KLnknprk5 2013-02-21 18:36:15 UTC
(In reply to comment #5)
> It 'll be hard to explain but i fix it. Hard becouse i don't know what from
> exacly work. First of all before this effect i install lubuntu meta package.
> After remove main package i logged into plain kde/openbox and there i found
> less of applications in menu (kickoff and "alt+f2"). 
> 
> What i've done is: remove all packages which was install with meta-package
> and reinstall main kde packages, restart and it works

Are you sure that worked? Can you give specific packages to remove or reinstall?
Because I had done something similar as I stated in the OP as reinstalling kde-workspace-bin and plasma-workspace but they only worked for a short while and then things were broken again.
Comment 7 marcin93 2013-02-21 20:12:52 UTC
first i've reinstall kubuntu-desktop (kde-workspace, kde-baseapps and kde-window-manager) then kubuntu-full. Last installation seems to make it work.
Comment 8 KLnknprk5 2013-03-01 21:36:16 UTC
(In reply to comment #7)
> first i've reinstall kubuntu-desktop (kde-workspace, kde-baseapps and
> kde-window-manager) then kubuntu-full. Last installation seems to make it
> work.

Alright this is what I got that fixed KDE but I sadly removed openbox before I tested this out.

sudo apt-get install --reinstall kde-workspace kde-baseapps kde-window-manager plasma-runners-addons kubuntu-desktop

This should fix any issue with Krunner or Application launcher or any program not finding installed programs. Can you confirm this works with openbox installed?

IE: Can you go through the whole processes and confirm that installing openbox on your system (it took a reboot or two on mine) causes the problem in question and then my method works. Maybe there's only one package or fewer that are needed to reinstall to fix the issue. Thanks for the help Marcin.
Comment 9 Christoph Feck 2013-04-15 21:53:29 UTC
I strongly believe this is distribution packaging related.

Many distributions separate the list of application (.desktop) files from the actual desktop-workspace packages, so applications can be used with multiple workspaces, without installing the complete desktop environment.

If you believe this is a KDE bug, more information is needed, for example, where the application .desktop files are installed and where KDE is installed.
Comment 10 Jonas 2013-06-12 13:16:57 UTC
I have installed Lubuntu and kde-plasma-desktop.
If i log into kde/openbox and installs a program, kate for example then all the applications in the application menu disappears. To get them back I have to logout and in to kde plasma desktop (kwin, not openbox) and do "sudo aptitude reinstall kde-runtime-data" (it reinstall /etc/xdg/menus etc. etc.) . Before I do the reinstall, the application menu is empty in  kde plasma desktop also.

I have to repeat this if i do install a new application from the kde/openbox, if I install from kde plasma desktop it works fine and shows up in kde/plasma menu.
Comment 11 Jonas 2013-06-12 13:28:54 UTC
I forgot to say that I am using Lubuntu 13.04
Comment 12 KLnknprk5 2013-06-13 18:06:39 UTC
(In reply to comment #9)
> I strongly believe this is distribution packaging related.
> 
> Many distributions separate the list of application (.desktop) files from
> the actual desktop-workspace packages, so applications can be used with
> multiple workspaces, without installing the complete desktop environment.
> 
> If you believe this is a KDE bug, more information is needed, for example,
> where the application .desktop files are installed and where KDE is
> installed.

Chris, I apologize for taking so long to get back to you but if you have a specific way to search for the locations so I don't mess anything up could you give me that? IE what I should put into the terminal/CLI/Konsole for you (a locate/grep or similar command with piping through less I'd assume). I just want to make sure I don't waste your time reporting back useless results.
Comment 13 Anthony Mattheakakis 2014-10-05 22:35:27 UTC
You can close this bug. This happens because openbox is using applications.menu instead of kde4-applications.menu on KDE/Openbox sessions.