Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-19 15:09:05

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Restore XFCE menu showing applications groups

I'm running Xubuntu, and I somehow messed up my applications menu. I had the original menu, with the favorites on the left side and the applications grouped by theme (accessories, education, games, internet, etc) on the right hand side. In installed pitivi from flatpak (I know, I should have installed it using the synaptic package manager). Now, I still have my favorites on the left side, but the right side shows only "All". How can I restore the default xfce menu?

Offline

#2 2019-01-19 17:43:46

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Restore XFCE menu showing applications groups

Hello and welcome.

When the default menu is edited, the changes are made to a local copy of the menu located in $HOME/.config/menus. Can you post back the contents of that directory?

ls -al $HOME/.config/menus

There is a good chance that renaming the "xfce-applications.menu" file will restore the original menu.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-01-19 19:11:14

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Re: Restore XFCE menu showing applications groups

Thanks for the welcome, and the fast response. I'm not actually running Xubuntu, but Ubuntu Studio which is based on XUbuntu. It has the xfce desktop, since this is one of the lowest overhead desktops available, and Ubuntu Studio can be used to record music, so low overhead is very important.

Having said that, the $HOME/.config/ directory does not contain a menus directory. To see if it was deleted when I installed the app, I checked a parallel Ubuntu Studio virtual machine that does show the correct menu configuration. The virtual machine is also missing the menus directory. Both do have an xfce4 directory, though, if that helps.

Offline

#4 2019-01-20 00:03:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Restore XFCE menu showing applications groups

That is strange. It sure sounds like a menu configuration issue. What version of Ubuntu Studio are you running?

Can you post a screenshot of the whisker menu?

Also, can you post back the results of the following commands:

env | grep -i xdg
tree ~/.config
tree ~/.local

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-01-20 13:00:49

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Re: Restore XFCE menu showing applications groups

Here are the results of the commands:

xxx@xxx-MacPro:~$ env | grep -i xdg
XDG_MENU_PREFIX=xfce-
XDG_VTNR=7
XDG_SESSION_ID=c2
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/norml
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/ubuntustudio:/usr/share/xfce4:/home/xxx/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_SESSION_DESKTOP=ubuntustudio
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=XFCE
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntustudio:/etc/xdg:/etc/xdg


0 directories, 0 files
xxx@xxx-MacPro:~$ tree ~/.local
/home/xxx/.local
└── share
    ├── DisplayCAL
    │   └── logs
    │       ├── DisplayCAL-apply-profiles.log
    │       ├── DisplayCAL-apply-profiles.log.2019-01-15
    │       ├── DisplayCAL-apply-profiles.log.2019-01-16
    │       ├── DisplayCAL-apply-profiles.log.2019-01-17
    │       ├── DisplayCAL-apply-profiles.log.2019-01-18
    │       └── DisplayCAL-apply-profiles.log.2019-01-19
    ├── flatpak [error opening dir]
    ├── gegl-0.4
    │   └── plug-ins
    ├── gnome-software
    │   └── ubuntu-reviews.db
    ├── gstreamer-1.0
    │   └── presets
    │       ├── avenc_mpeg2video.prs
    │       ├── avenc_mpeg2video.prs.bak
    │       ├── GstTwoLame.prs
    │       ├── GstTwoLame.prs.bak
    │       ├── GstX264Enc.prs
    │       └── GstX264Enc.prs.bak
    ├── gvfs-metadata
    │   ├── home
    │   ├── home-aa519c62.log
    │   ├── root
    │   ├── root-de263d54.log
    │   ├── uuid-5BD1-B0DF
    │   ├── uuid-5BD1-B0DF-087989cc.log
    │   ├── uuid-8effec45-5324-4a87-a89b-078d1bddf736
    │   ├── uuid-8effec45-5324-4a87-a89b-078d1bddf736-10072e46.log
    │   ├── uuid-f7b523ea-93fb-4e16-a16f-1ca26d56d127
    │   └── uuid-f7b523ea-93fb-4e16-a16f-1ca26d56d127-caf8e319.log
    ├── k3b
    │   ├── lastlog.log
    │   └── temp
    ├── kdenlive
    │   ├── library
    │   └── titles
    ├── keyrings
    │   ├── login.keyring
    │   └── user.keystore
    ├── mime
    │   ├── aliases
    │   ├── generic-icons
    │   ├── globs
    │   ├── globs2
    │   ├── icons
    │   ├── magic
    │   ├── mime.cache
    │   ├── packages
    │   │   └── video-mpeg.xml
    │   ├── subclasses
    │   ├── treemagic
    │   ├── types
    │   ├── version
    │   ├── video
    │   │   └── mpeg.xml
    │   └── XMLnamespaces
    ├── pitivi
    ├── RecentDocuments
    │   ├── Aquarius HP.mp4.desktop
    │   ├── Aquarius test.mp4.desktop
    │   └── Under One Sky_Final mix_r2.wav.desktop
    ├── recently-used.xbel
    ├── ristretto
    ├── stalefiles
    │   └── kdenlive
    ├── Trash
    │   ├── expunged
    │   ├── files
    │   │   ├── Launchers
    │   │   │   ├── Universalis.desktop
    │   │   │   └── Universalis.lnk
    │   │   └── SMCC
    │   │       ├── Track 10.wav
    │   │       ├── Track 11.wav
    │   │       ├── Track 12.wav
    │   │       ├── Track 1.wav
    │   │       ├── Track 2.wav
    │   │       ├── Track 3.wav
    │   │       ├── Track 4.wav
    │   │       ├── Track 5.wav
    │   │       ├── Track 6.wav
    │   │       ├── Track 7.wav
    │   │       ├── Track 8.wav
    │   │       └── Track 9.wav
    │   └── info
    │       ├── Launchers.trashinfo
    │       └── SMCC.trashinfo
    ├── user-places.xbel
    ├── user-places.xbel.bak
    ├── user-places.xbel.tbcache
    └── webkitgtk
        └── localstorage

32 directories, 63 files
xxx@xxx-MacPro:~$ tree ~/.config
/home/xxx/.config
├── a2j
├── ardour5
│   ├── config
│   ├── export
│   │   └── BWAV 32float Export.format
│   ├── instant.xml
│   ├── plugin_statuses
│   ├── recent
│   ├── session.rc
│   ├── sfdb
│   └── ui_config
├── autojackrc
├── brasero
│   ├── application-settings
│   └── brasero-tmp-project
├── catfish
│   └── catfish.rc
├── dconf
│   └── user
├── DisplayCAL
│   └── DisplayCAL.ini
├── emaildefaults
├── GIMP
│   └── 2.10
│       ├── action-history
│       ├── backups
│       ├── brushes
│       ├── colorrc
│       ├── contextrc
│       ├── controllerrc
│       ├── CrashLog
│       ├── curves
│       ├── devicerc
│       ├── dockrc
│       ├── dynamics
│       ├── environ
│       ├── filters
│       ├── fonts
│       ├── fractalexplorer
│       ├── gfig
│       ├── gflare
│       ├── gimpressionist
│       ├── gradients
│       ├── gtkrc
│       ├── icons
│       ├── internal-data
│       │   └── custom.ggr
│       ├── interpreters
│       ├── lastval_descriptions.txt
│       ├── levels
│       ├── menurc
│       ├── modules
│       ├── palettes
│       ├── parasiterc
│       ├── patterns
│       ├── pluginrc
│       ├── plug-ins
│       ├── scripts
│       ├── sessionrc
│       ├── tags.xml
│       ├── templaterc
│       ├── templates
│       ├── themerc
│       ├── themes
│       ├── tmp
│       ├── tool-options
│       │   ├── gimp-airbrush-tool
│       │   ├── gimp-align-tool
│       │   ├── gimp-brightness-contrast-tool
│       │   ├── gimp-bucket-fill-tool
│       │   ├── gimp-by-color-select-tool
│       │   ├── gimp-cage-tool
│       │   ├── gimp-clone-tool
│       │   ├── gimp-color-picker-tool
│       │   ├── gimp-convolve-tool
│       │   ├── gimp-crop-tool
│       │   ├── gimp-curves-tool
│       │   ├── gimp-dodge-burn-tool
│       │   ├── gimp-ellipse-select-tool
│       │   ├── gimp-eraser-tool
│       │   ├── gimp-flip-tool
│       │   ├── gimp-foreground-select-tool
│       │   ├── gimp-free-select-tool
│       │   ├── gimp-fuzzy-select-tool
│       │   ├── gimp-gegl-tool
│       │   ├── gimp-gradient-tool
│       │   ├── gimp-handle-transform-tool
│       │   ├── gimp-heal-tool
│       │   ├── gimp-ink-tool
│       │   ├── gimp-iscissors-tool
│       │   ├── gimp-levels-tool
│       │   ├── gimp-measure-tool
│       │   ├── gimp-move-tool
│       │   ├── gimp-mypaint-brush-tool
│       │   ├── gimp-operation-tool
│       │   ├── gimp-paintbrush-tool
│       │   ├── gimp-pencil-tool
│       │   ├── gimp-perspective-clone-tool
│       │   ├── gimp-perspective-tool
│       │   ├── gimp-rect-select-tool
│       │   ├── gimp-rotate-tool
│       │   ├── gimp-scale-tool
│       │   ├── gimp-shear-tool
│       │   ├── gimp-smudge-tool
│       │   ├── gimp-text-tool
│       │   ├── gimp-threshold-tool
│       │   ├── gimp-unified-transform-tool
│       │   ├── gimp-vector-tool
│       │   ├── gimp-warp-tool
│       │   └── gimp-zoom-tool
│       ├── tool-presets
│       ├── toolrc
│       └── unitrc
├── gtk-2.0
│   └── gtkfilechooser.ini
├── gtk-3.0
│   └── bookmarks
├── jack
│   └── conf.xml
├── k3brc
├── kdeglobals
├── kdenliverc
├── Kid3
│   └── Kid3.conf
├── matplotlib
├── mimeapps.list
├── Mousepad
│   └── accels.scm
├── msec.it
│   └── Dukto.conf
├── Nathan Osman
│   └── NitroShare.conf
├── patchagerc
├── pavucontrol.ini
├── pitivi
│   └── pitivi.conf
├── pulse
│   ├── cd6aa737e88543348dbe45447ee3eb65-card-database.tdb
│   ├── cd6aa737e88543348dbe45447ee3eb65-default-sink
│   ├── cd6aa737e88543348dbe45447ee3eb65-default-source
│   ├── cd6aa737e88543348dbe45447ee3eb65-device-volumes.tdb
│   ├── cd6aa737e88543348dbe45447ee3eb65-stream-volumes.tdb
│   └── cookie
├── QtProject.conf
├── ristretto
│   └── accels.scm
├── rncbc.org
│   └── QjackCtl.conf
├── session
├── Thunar
│   ├── accels.scm
│   └── uca.xml
├── Trolltech.conf
├── update-notifier
├── user-dirs.dirs
├── user-dirs.locale
├── xfburn
│   └── settings.xml
├── xfce4
│   ├── desktop
│   │   ├── default.xml
│   │   └── icons.screen0-1584x859.rc
│   ├── panel
│   │   ├── default.xml
│   │   ├── whiskermenu-10.rc
│   │   ├── whiskermenu-1.rc
│   │   └── whiskermenu-9.rc
│   ├── src
│   │   └── misc
│   ├── terminal
│   │   └── accels.scm
│   ├── xfce4-screenshooter
│   ├── xfconf
│   │   └── xfce-perchannel-xml
│   │       ├── displays.xml
│   │       ├── parole.xml
│   │       ├── ristretto.xml
│   │       ├── thunar.xml
│   │       ├── xfce4-desktop.xml
│   │       ├── xfce4-keyboard-shortcuts.xml
│   │       ├── xfce4-notifyd.xml
│   │       ├── xfce4-panel.xml
│   │       ├── xfce4-power-manager.xml
│   │       ├── xfce4-session.xml
│   │       ├── xfce4-settings-editor.xml
│   │       ├── xfce4-settings-manager.xml
│   │       └── xfwm4.xml
│   └── xfwm4
└── yelp

Whisker menu

Offline

#6 2019-01-20 13:09:10

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Re: Restore XFCE menu showing applications groups

I have to figure out how to get an image in here. I don't have a web site.

Offline

#7 2019-01-20 14:09:44

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Restore XFCE menu showing applications groups

Huntingdon_Duke wrote:

I have to figure out how to get an image in here. I don't have a web site.

Upload the image to a site like imgur or imgbb and post back the link.

Edit: Actually, you had it embedded in your last reply. You just needed to use the url/url codes:
https://drive.google.com/open?id=1sAtsK … YG0KnuX9iX

Last edited by ToZ (2019-01-20 14:20:13)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2019-01-20 14:18:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Restore XFCE menu showing applications groups

Huntingdon_Duke wrote:

    ├── flatpak [error opening dir]

This is concerning. Can you view the contents of this directory ($HOME/.local/share/flatpak) using thunar or via:

sudo ls -l $HOME/.local/share/flatpak

Also what does the following return:

tree /var/lib/flatpak/exports/share

If you uninstall pitivi, does the menu return to it's proper state?

Edit: and one more:

ls -l /etc/xdg/xdg-ubuntustudio/menus

Last edited by ToZ (2019-01-20 14:22:31)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2019-01-20 14:34:43

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Re: Restore XFCE menu showing applications groups

Here they are:

xxx@xxx-MacPro:~$ sudo ls -l $HOME/.local/share/flatpak
[sudo] password for xxx: 
total 4
drwxr-xr-x 7 root root 4096 Jan 18 07:33 repo

xxx@xxx-MacPro:~$ tree /var/lib/flatpak/exports/share
/var/lib/flatpak/exports/share
├── applications
│   └── mimeinfo.cache
├── icons
│   └── hicolor
│       ├── 16x16
│       │   └── apps
│       ├── 22x22
│       │   └── apps
│       ├── 24x24
│       │   └── apps
│       ├── 256x256
│       │   └── apps
│       ├── 32x32
│       │   └── apps
│       ├── 48x48
│       │   └── apps
│       ├── 512x512
│       │   └── apps
│       ├── index.theme
│       └── symbolic
│           └── apps
└── mime
    ├── aliases
    ├── generic-icons
    ├── globs
    ├── globs2
    ├── icons
    ├── magic
    ├── mime.cache
    ├── packages
    ├── subclasses
    ├── text
    ├── treemagic
    ├── types
    ├── version
    └── XMLnamespaces

22 directories, 14 files

xxx@xxx-MacPro:~$ ls -l /etc/xdg/xdg-ubuntustudio/menus
total 12
-rw-r--r-- 1 root root 4493 Sep  2  2016 xfce-applications.menu
-rw-r--r-- 1 root root 3797 Sep  2  2016 xfce-settings-manager.menu
xxx@xxx-MacPro:~$ 

Offline

#10 2019-01-20 15:00:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Restore XFCE menu showing applications groups

Looks like you ran flatpak with root privileges and it somehow messed up your menu generation (the menu creation routines cannot access a directory in your $XDG_DATA_DIRS path).

To fix it, run the following:

sudo chown $USER:$USER $HOME/.local/share/flatpak

...and restart the panel:

xfce4-panel -r

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2019-01-20 15:16:40

Huntingdon_Duke
Member
Registered: 2019-01-19
Posts: 6

Re: Restore XFCE menu showing applications groups

Thank you! That did it. I did run flatpak with root priviledges, since I thought I tried it once without root and it did not work. But, your suggestion was spot on. My menu looks like it did before. Thanks again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.055 seconds, 7 queries executed - Memory usage: 630.13 KiB (Peak: 646.97 KiB) ]