LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Microlinux / MLED
User Name
Password
Microlinux / MLED This forum is for the discussion of MLED (Microlinux Enterprise Desktop).

Notices


Reply
  Search this Thread
Old 02-02-2016, 07:09 AM   #1
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
(Solved) Found some bugs


Why does the root login differ from the user login I created?

Why are there duplicate entries on the menu? It has a lot of them.
Posted screenshots.

Last edited by PROBLEMCHYLD; 12-28-2016 at 05:41 PM.
 
Old 02-02-2016, 03:52 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Regarding duplicate entry in menu for your user, I see that only Mozilla Thunderbird is duplicated.

Check first which Mozilla Thunderbird package(s) is installed by running in the console:
Code:
ls /var/log/packages/mozilla-thunderbird*
If more than one file appears, then you have 2 versions of that software installed (do not count the langpack package). You should remove the oldest version by running as root user:
Code:
removepkg /var/log/packages/mozilla-thunderbird-<old version>*
Regarding desktop environment for root user, I guess that the MLED customization is not available to that user because the root user was created before installation of the MLED packages.

You can however manually configure the MLED deskop environment for root user. Following the instructions at MLED FAQ : How can I turn a stock Slackware installation into MLED? after step "# ./cleanmenu.sh ".
 
Old 02-02-2016, 10:50 PM   #3
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
None of the methods worked for me. There are no duplicates when I run

ls /var/log/packages/........
 
Old 02-03-2016, 02:23 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
ok, i'm not a slackware person, but maybe you should tell us how you installed MLED in the first place? maybe something went wrong?
http://www.microlinux.eu/installation_guide.php

also, i don't see how it could be a good idea to use this distro's gui as root. in other words, do not run gui apps as root. on any distro.

ps:
Don't rush to claim that you have found a bug
 
Old 02-03-2016, 05:46 AM   #5
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
I used the clean install method with tag files. About the bug comment, you do realize there is no perfect software or hardware out there? I followed all the instructions and those were the results. You can call it a bug, issue, problem or whatever toe tag you want to give it. I'm trying to fix it. Some people talk too much when they should be helping more.

Last edited by PROBLEMCHYLD; 02-03-2016 at 09:40 AM.
 
Old 02-03-2016, 01:20 PM   #6
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Regarding duplicate entries in menu, could you please post the result of the following two commands when logged in as your user:
Code:
ls ~/.local/share/applications/
and
Code:
cat /usr/share/applications/mozilla-thunderbird.desktop
 
Old 02-03-2016, 03:23 PM   #7
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gegechris99 View Post
Regarding duplicate entries in menu, could you please post the result of the following two commands when logged in as your user:
Code:
ls ~/.local/share/applications/
and
Code:
cat /usr/share/applications/mozilla-thunderbird.desktop
Here you go.



I have the utmost respect for you gegechris99. You have been helping since day one. You don't come at me with smart aleck rebuttals. I only disrespect, when disrespected. Thank you, you have my deepest gratitude.
 
Old 02-04-2016, 12:19 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by PROBLEMCHYLD View Post
Why does the root login differ from the user login I created?
This is not a bug. This is you logging into your graphical environment as root. Which is a very bad idea.

Last edited by kikinovak; 02-04-2016 at 12:20 AM.
 
Old 02-04-2016, 06:52 AM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Besides the two issues I reported, everything works lovely. Thank you guys.
 
Old 02-04-2016, 04:36 PM   #10
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
@PROBLEMCHYLD

The results of the two commands don't give unexpected results. I'm sorry but at that point, I don't know why you have duplicate entries in your menu.

You said that there were multiple duplicate entries in the menu. Maybe, if you list all of them that could help point to the issue. As said previously, the screenshot showed only one duplicate entry for Thunderbird.
 
Old 02-04-2016, 04:53 PM   #11
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Ooups!!! I've just found out that your screenshot showed the "All" menu entry. I have the same issue as you on my MLED machine.

There are duplicate entries for Thunderbird, Firefox and Thunar.

This seems to be linked to these desktop files highlighted in bold in /usr/share/applications:

Code:
$ls /usr/share/applications/exo*
/usr/share/applications/exo-file-manager.desktop
/usr/share/applications/exo-mail-reader.desktop
/usr/share/applications/exo-preferred-applications.desktop
/usr/share/applications/exo-terminal-emulator.desktop
/usr/share/applications/exo-web-browser.desktop
These are files from exo package which is a package for XFCE. MLED comes with a modified exo package but these files will come anyway with the standard exo package (but with a different content).

Maybe MLED could modify those 3 desktop files the same way it did for exo-terminal-emulator.desktop, namely:
Code:
$cat exo-terminal-emulator.desktop 
[Desktop Entry]
NoDisplay=true

Last edited by gegechris99; 02-04-2016 at 05:09 PM. Reason: I found the reason hopefully :)
 
Old 02-04-2016, 05:16 PM   #12
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
You probably thought I was crazy huh? Anyway, thanks again.
So how do I fix it?

Last edited by PROBLEMCHYLD; 02-04-2016 at 05:18 PM.
 
Old 02-05-2016, 06:38 AM   #13
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I haven't tested it yet but try changing the content of the 3 exo*.desktop files in question to:

Code:
[Desktop Entry]
NoDisplay=true
If you make a backup of those files prior to change, put them in directory other than /usr/share/applications.

[EDIT]I tested it and it works. No more duplicate entry in the menu. The only drawback I found so far is that Thunar disappears from the Favorites section of the menu but it can easily be put back there. [/EDIT]

Last edited by gegechris99; 02-05-2016 at 11:47 AM. Reason: I tested it. It works
 
Old 02-05-2016, 12:02 PM   #14
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
I can confirm your findings. I'll just add thunar to the dock. Thanks
 
Old 02-06-2016, 09:21 AM   #15
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
There's an explanation to this. Prior versions of MLED used the "classical" Xfce menu, which sported quick shortcuts for the default web browser, mail client and terminal emulator. With the introduction of Whiskermenu, these entries seem to have become obsolete. I'll change them accordingly in the Github repo.

Cheers,

Niki
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Languages don't breed bugs, PEOPLE breed bugs, say boffins LXer Syndicated Linux News 1 11-06-2014 12:56 PM
LXer: Blender 2.65 Fixes 200+ Bugs, Couple New Features LXer Syndicated Linux News 0 12-12-2012 08:20 AM
i have the bugs Premananth Linux - Server 2 09-14-2012 04:11 AM
Bugs EYEdROP Linux - General 1 11-07-2007 08:50 AM
A couple more bugs mike sumner Grafpup 2 06-17-2007 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Microlinux / MLED

All times are GMT -5. The time now is 04:47 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