Author Topic: LXDE - theme stuck on clearlooks  (Read 5867 times)

Offline stricktoo

  • Hero Member
  • *****
  • Posts: 520
  • Linux - it's elementary
Re: LXDE - theme stuck on clearlooks
« Reply #30 on: July 12, 2010, 10:00:59 AM »
There is a simple gui-based menu-editor for Openbox, but I can't recall what its name is. It works just like any other menu-editor and is quite intuitive (the OB menu is read from xml file and lacks support for application icons yet iirc).

With LXDE, when adding a menu entry as a user, I have to make a .desktop file for the application I want to add and then go to command line and make a xdg-desktop-menu install --novendor /path/to/application.desktop. Quite a procedure.

I think it's called obmenu, but it's not currently in the repos.

To edit the menu you could just open /usr/share/lxde/openbox/menu.xml in Leafpad as root. It's not too hard to edit, although you have to know the path to the executable for the program you're adding. It's just really tedious.

When new applications are installed (with Synaptic) a .desktop file is created in /usr/share/applications. When there is a .desktop file in /usr/share/applications, there will be a menu entry.

There are two menus. There's the main LXDE menu, which is what I think you're refering to. And there's the Openbox menu, which becomes available when you either choose to show the Openbox menu on a right click of the desktop (PCManFM Settings > Desktop > Show Menus Provided by WM When Desktop is Clicked) or disable PCManFM as the desktop manager (PCManFM Settings > Desktop > Manage the Desktop and Show File Icons). The Openbox menu is pretty spare by default, and new applications aren't added to it automatically.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE - theme stuck on clearlooks
« Reply #31 on: July 12, 2010, 10:04:23 AM »
I had understood it as that we were talking about the menu used by default. The openbox menu is not used as default.

Offline stricktoo

  • Hero Member
  • *****
  • Posts: 520
  • Linux - it's elementary
Re: LXDE - theme stuck on clearlooks
« Reply #32 on: July 16, 2010, 01:33:48 AM »
I had understood it as that we were talking about the menu used by default. The openbox menu is not used as default.

I'm sorry for the confusion. I know that the Openbox menu isn't the default (nor should it be, in the LXDE version). I currently prefer tint2 over lxpanel. Consequently I need a way of accessing the applications menu. Enabling the Openbox menu, which then can be called with a right click, is the best solution.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE - theme stuck on clearlooks
« Reply #33 on: July 16, 2010, 02:05:30 AM »
Install openbox-menu. You may need to edit the config file.
You'll get this message when Synaptic finishes the installation:
Quote
While installing package openbox-menu-0.3.5-1pclos2010:

You may use the menu.xml, rc.xml and autostart.sh files
from /usr/share/openbox-menu in order to get openbox-menu to
provide right-click dynamic menus on desktop and on your panel(s).

The menu.xml file also contains command lines to allow the user
to shutdown,reboot, logout and suspend the system without using
root priviledges;

The autostart.sh is ready to start menu-cached along with your
session openbox;

The rc.xml brings in some personalised keyboard shortcuts for
you PCLinuxOS distribution, and you can add more shortcuts or
tweak them later.

To do that, you just have to copy theses files to your home
directory ~/.config/openbox

You might want to backup your home .config/openbox original
files before doing that, incase you want to revert later.

Offline stricktoo

  • Hero Member
  • *****
  • Posts: 520
  • Linux - it's elementary
Re: LXDE - theme stuck on clearlooks
« Reply #34 on: July 16, 2010, 04:42:18 PM »
Install openbox-menu. You may need to edit the config file.

I did, and it doesn't seem to be much help. It installs three files into /usr/share/openbox-menu.

autostart.sh, as the name implies, simply autostarts a few applications.
rc.xml is the config file for obconf, which already exists in ~/.config/openbox as lxde-rc.xml.
menu.xml is another copy of the openbox menu config file, which already exists in /usr/share/lxde/openbox. It doesn't have all of the applications listed either.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE - theme stuck on clearlooks
« Reply #35 on: July 16, 2010, 05:11:34 PM »
I did say you would probably need to edit the files. As I use the standard menu, I have little knowledge of this menu. Melodie set up openbox-menu for her openbox release, so she may have some advice for you.

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12795
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: LXDE - theme stuck on clearlooks
« Reply #36 on: July 31, 2010, 12:23:25 PM »