LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-18-2023, 12:37 PM   #1
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Rep: Reputation: 14
Loc-OS Menu Foibles (LXDE & Openbox)


Just started playing with Loc-OS again for second time, now using latest update 64 iso on my Dell Latitude E6420 i7 8GiB.
I have fully removed some apps and utils like bluetooth, paint and feh, adding Gimp, gpicview, FfoxESR replacing lxde-core with full LXDE. Got everything pretty much how I like it except the menus are bugging me a little.

There are two menus in a typical LXDE openbox setup: The LXDE menus are the usual categories activated be clicking the LXDE icon on the panel. The openbox menus are easily accessed with a right-click on the screen.
Antix has a “refresh menu” utility listed in the menus – Loc-OS does not.

The right-click openbox menu has “desktop preferences” listed under settings yet is missing from the main LXDE menu.
Also “Restart” & "Reconfigure" are in the right-click openbox menu but are missing from the main LXDE menu. Perhaps because they only appertain to openbox?

When I click “connman UI setup” from the main LXDE menu I get this message: Invalid desktop entry file: '/home/live/.local/share/applications/cmst.desktop'
Presume this is because this ultimate UI is not loaded? I have got used to the smaller connman GUI accessed when rarely needed from “Connman settings” menu entry.
I have two choices install the full monty Connman UI or try and remove the invalid menu entry – Er, think I might know how under sudo pcmanfm..?

Have read somewhere that the menus should be controlled automatically via some freedesktop org programme?

Some menu pics here
https://imgur.com/a/pYwxY3n Debian Trials – Bunsen – Loc-OS
 
Old 03-21-2023, 10:15 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Andy-1 View Post
Invalid desktop entry file: '/home/live/.local/share/applications/cmst.desktop'

try and remove the invalid menu entry
Any .desktop file in the user's .local/share/applications directory if formatted correctly will create a menu shortcut item.

The error shows which file is associated with the menu entry which I highlighted in Red above.

You can move that file to another directory like /home/live/ to avoid deleting it and the menu entry will disappear after logout/login or reboot. Or you can post the contents of that file and someone may be able to help you correct it so it actually works as intended.

Since the username is "live" suggest you are running from the CD image instead of an installation, that is the Username in a Debian Live session, or that is the username you choose during installation. Just curious as to why the username is live?
 
Old 03-21-2023, 10:59 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
[Desktop Entry]
Type=Application
Version=1.0
Name=Connman UI Setup
GenericName=Network Configuration
Comment=QT GUI frontend for connman
Categories=Qt;Settings;System;
Icon=preferences-system-network
Terminal=false
Exec=cmst
StartupNotify=false
X-GNOME-Autostart-enabled=true
Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Bluetooth;vpn;DNS;
I ran Loc-OS live and this is the /home/live/.local/share/applications/cmst.desktop file contents. The executable "cmst" does not exist in /bin /sbin /usr/bin or /usr/sbin of the Live CD. Try it in the Openbox installed Loc-OS. In any event, the cmst executable needs to exist or it won't work, in the Live CD the menu entry points to nothing since I can't find the cmst file.
 
Old 03-23-2023, 10:51 AM   #4
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Thumbs up F.A.B.

Did not expect to be contacted at LQ by Brains of International Rescue…!

This is exceedingly kind of you to go to such trouble on my behalf; downloading and installing Loc-OS and all.
I was expecting someone to notice “live” as the user – Hands up I’m alive.
Messed up due to language during installing Loc-OS after at least eight failed attempts at installing MX spin Pic-OS which has LXDE; even tried CLI…! Getting iso fatigue!
As Loc-OS worked straight out of the box I let it be as I am expecting to break it soon so will need a fresh install.

I have deleted so much stuff like Tint2 panel and Plank which meant I did not need the compositor so that got deleted to however that was simple with synaptic but removing just one connman menu entry defeats me and the dreaded message haunts me...

The specified directory '/home/live/.local/share/applications/cmst.desktop' is not valid

However I found it here: /usr/local/CcLoc-OS/Network – I think this is what it is trying to execute with menu item Connman UI setup as opposed to the other menu item Connman Settings

[Desktop Entry]
Type=Application
Version=1.0
Name=Connman UI Setup
GenericName=Network Configuration
Comment=QT GUI frontend for connman
Categories=Qt;Settings;System;
Icon=preferences-system-network
Terminal=false
Exec=cmst
StartupNotify=false
X-GNOME-Autostart-enabled=true
Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Bluetooth;vpn;DNS;

So to delete this from the menu entirely I added a line – NoDisplay=true
This seems to have had no effect probably because the path never gets hooked up.

This is exactly the same as the the smaller window GUI for Connman Settings pasted below for /usr/share/applications/connman-gtk.desktop


[Desktop Entry]
Type=Application
Version=1.0
Name=Connman UI Setup
GenericName=Network Configuration
Comment=QT GUI frontend for connman
Categories=Qt;Settings;System;
Icon=preferences-system-network
Terminal=false
Exec=cmst
StartupNotify=false
X-GNOME-Autostart-enabled=true
Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Bluetooth;vpn;DNS;

https://imgur.com/a/S9iw8sZ Connman menu foibles
https://i.imgur.com/8bnVgi8.png WiFi Screen
https://i.imgur.com/KKqEdHU.png Applications
 
Old 03-25-2023, 01:06 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
but removing just one connman menu entry defeats me and the dreaded message haunts me...

The specified directory '/home/live/.local/share/applications/cmst.desktop' is not valid
As I mentioned, either move that file highlighted in blue somewhere else or delete it and the menu entry will disappear and same for the error message.
 
Old 03-26-2023, 11:34 AM   #6
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Smile Double menu entry solved

Thanks again - I was hesitant to remove one of the duplicated Connman connection managers in case it broke the system before I was ready.

Today I completely removed XMMS from my system yet likewise it was still there in the Sound and Video menu.
As this app was of no importance I followed your instructions and was pleased to find it was no longer listed in the menus
I then deleted that Connman UI cmst desktop file and the Linux menu is intact; now showing only the one correct Connman menu entry
Before I mark thread as solved I will take a deep look at all apps and utilities.

Thank you for your assistance
 
Old 04-16-2023, 02:46 PM   #7
Andy-1
Member
 
Registered: Jan 2023
Posts: 202

Original Poster
Rep: Reputation: 14
Thumbs up Short video of current menus

Here is a short video showing the latest menus - thanks to Brains

https://imgur.com/5OcjGbj Enjoy
 
  


Reply

Tags
antix, debian



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help converting pipe menu to work in openbox menu schwim Linux - Desktop 4 06-11-2022 10:13 AM
LXer: GhostBSD 3.5 Supports LXDE, MATE, Openbox & Xfce LXer Syndicated Linux News 0 09-23-2013 06:11 AM
RPM: Copying files to desired loc using %install directive raqueeb Linux - Software 0 02-12-2004 10:47 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration