LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Edit menu in lxde panels (https://www.linuxquestions.org/questions/linux-from-scratch-13/edit-menu-in-lxde-panels-4175591949/)

edecode 10-21-2016 07:01 PM

Edit menu in lxde panels
 
Hello,

I pretend customize environment Lubuntu 16.04 LTS with, obvious, lxde panel ( :) I am a newbie guy and I need write about all for have totally assurance which I talk right about things :)

I know how customize lxpanel but I don't know, and I can't find answer on the web and how goggled about this, which is "how can edit labels and sublabels on menu"

E.G.
Menu->Applications->Calculator
System Tools->Lubuntu Software Center

How can change this names and add a new labels or deleted some of them?
I tried search in ~.config/menus, but I haven't folder menus. I only have this structure:
Code:

drwx------ 25 xxx xxx 4096 Out 14 18:55 .
drwx------ 22 xxx xxx 4096 Out 22 00:19 ..
drwxrwxr-x  2 xxx xxx 4096 Out 22 00:20 dconf
drwx------  2 xxx xxx 4096 Out  4 10:59 enchant
drwxr-xr-x  2 xxx xxx 4096 Out  4 22:43 galculator
drwxrwxr-x  4 xxx xxx 4096 Out 10 10:25 gnome-mplayer
drwx------  2 xxx xxx 4096 Out 19 00:13 gtk-2.0
drwx------  2 xxx xxx 4096 Out 22 00:19 gtk-3.0
drwxrwxr-x  2 xxx xxx 4096 Out  4 10:33 leafpad
drwxrwxr-x  2 xxx xxx 4096 Out  4 10:33 libfm
drwxrwxr-x  3 xxx xxx 4096 Out  4 11:03 libreoffice
drwxrwxr-x  4 xxx xxx 4096 Out 14 18:55 lsc
drwx------  3 xxx xxx 4096 Out 21 14:41 lxpanel
drwxrwxr-x  3 xxx xxx 4096 Out  4 10:33 lxsession
drwx------  2 xxx xxx 4096 Out  4 10:33 lxterminal
-rw-rw-r--  1 xxx xxx  102 Out 10 11:44 mimeapps.list
drwxrwxr-x  2 xxx xxx 4096 Out  4 10:33 openbox
drwx------  3 xxx xxx 4096 Out  4 10:33 pcmanfm
drwxr-xr-x  2 xxx xxx 4096 Out 22 00:20 pluma
drwxrwxr-x  6 xxx xxx 4096 Out  4 11:03 sublime-text-2
drwxrwxr-x  2 xxx xxx 4096 Out  9 15:01 terminator
drwxr-xr-x  5 xxx xxx 4096 Out 19 02:24 transmission
-rw-r--r--  1 xxx xxx 1943 Out  9 14:32 Trolltech.conf
drwx------  2 xxx xxx 4096 Out  4 10:34 update-notifier
-rw-------  1 xxx xxx  598 Out  4 10:54 user-dirs.dirs
-rw-rw-r--  1 xxx xxx    5 Out  4 10:33 user-dirs.locale
drwx------  2 xxx xxx 4096 Out 10 10:21 viewnior
drwx------  2 xxx xxx 4096 Out  9 21:19 VirtualBox
drwxrwxr-x  3 xxx xxx 4096 Out  4 10:33 xfce4

thanks

edecode 10-21-2016 07:14 PM

I found this article: https://lkubaski.wordpress.com/2012/...menu-sections/
But I can't found the ~.config/menus in my system

I found this article: http://askubuntu.com/questions/15683...ings-with-lxde
the result in my terminal is
Code:

xx@xxx:~$ sudo apt-get install gnome-system-tools
[sudo] password for eno:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
gnome-system-tools is already the newest version (3.0.0-4ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

and I found this in label "system tools" which "Users and Group". I think use this to configuration different layout menus for each users! May I?

[update]
I use "Users and Group" to create another user. This user haven't privileges to install but keeps privileges to change lxpanel. how can disable this option and edit specific menu and panel to this user?

spiky0011 10-22-2016 01:25 AM

Hi

Not sure what you want but here gose. This Menu->Applications->Calculator to this Menu->Applications->Adding Machine

If so you can edit the /usr/share/applications/xxxxx.desktop file
"Name=Calculator" >>>"Name=Adding Machine".

You can also hide them by adding "NoDisplay=true" to .desktop file

have a look here
https://wiki.archlinux.org/index.php...esktop_entries

Do Back up anything you want to change

edecode 10-22-2016 04:10 AM

thank you :) I love you! hehe
this is exactly what I need!

This changed affect all users in machine! But if I need hidden some applications only one user? How show I do?
Based in my knowledge I think which I need change a file in /home/user, maybe a file hidden in the folder of the user! But what files is?

spiky0011 10-22-2016 05:33 AM

You could use ~/.local/share/applications/ for users and put in there what you want instead of global 1 in /usr/share/applications.

It is also possible to change the icons as well in the .desktop files


All times are GMT -5. The time now is 06:06 AM.