LXDE and Alacarte menu editor not working in 12.1

Hi all,

Sorry about cross-posting this, I posted to the Prerelease / Beta forum but perhaps that was the wrong place as 12.1 has been released.

I’m using the LXDE desktop in stalled in the 64 bit version of Opensuse 12.1. I am a novice Linux user. I’ve installed Lubuntu 11.10 and have been able to successfully use Alacarte to edit my menu there. However when I try the same thing in OpenSuse 12.1 with the LXDE desktop, I get the following errors in my terminal window.

spcwh2@linux-tbyf:~> alacarte
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py”, line 298, in on_new_menu_button_clicked
process = subprocess.Popen([self.desktop_item_editor, file_path], env=os.environ)
File “/usr/lib64/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib64/python2.7/subprocess.py”, line 1228, in _execute_child
raise child_exception
AttributeError: ‘NoneType’ object has no attribute ‘rfind’

Is this due to a different menu structure in OpenSuse ?

I was assuming that since it works in Lubuntu that it would work in OpenSuse

Any assistance would be appreciated.

thanks Chuck H.

On 12/14/2011 11:56 PM, chaat wrote:
> I am a novice Linux user. . .
> Is this due to a different menu structure in OpenSuse ?
> I was assuming that since it works in Lubuntu that it would work in
> OpenSuse . . . Any assistance would be appreciated.

-=WELCOME=- new poster, and thanks for declaring “novice Linux user” as
it gives me the chance to pass on to you:

when i was first getting started in Linux (~1998) a gray haired old man
told me as i tried to move from Red Hat to Mandrake (now Fedora and
Mandriva): “Assume that every Linux distribution is a different
operating system . . .”

so, though i’ve never heard of either Alacarte or Lubuntu, i have to
guess there is a high probability that the differences between Lubuntu
and openSUSE are plenty!!

i go to Wikipedia <http://en.wikipedia.org/wiki/Alacarte> and learn that
Alacarte is part of the GNOME 2.16 release! yet you are not using GNOME
2.16, but rather some version of LXDE…and, i guess it is probably a
different version of LXDE than the one you used in Lubuntu…

so, yes i think your assumption that software made for GNOME 2.16
might not work as expected in openSUSE’s LXDE…

but, that is only a guess…i’d suggest you try to track down a forum
highly populated with Alacarte users and ask around…(that is not to
say that another openSUSE user of Alacarte won’t jump in here and give
the real answer…eventually…)

actually, i think it might be easier to see what most of the LXDE Gurus
are using to edit their menus…since i think most folks in these fora
use either KDE or GNOME, i suggest you might find a built-in way to do
menu editing somewhere here: http://lxde.org/, maybe in their Wiki of
Forum…

or, have a look at these hits: http://tinyurl.com/cq5gkmb

oh wait!! are you using the Alacarte which is installed from the
openSUSE repos? or, what? that is to say, that the version which is
installed from the openSUSE repos by using YaST or zypper should work,
and if it does not then you should log a bug report with bugzilla, here:
http://tinyurl.com/nzhq7j

in any event: again, welcome and have a lot of fun. (lots to learn
around here, but all well worth the trouble!!)


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!