LinuxQuestions.org
Visit Jeremy's Blog.
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-06-2016, 11:09 AM   #16
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by kikinovak View Post
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
Thank you very much. Looking forward to an automated install in the future. I have only been playing with this about a couple weeks or so. Like I said, have played with Backtrack and Slackware in the past. Never took serious interest until now. Thanks everyone.
 
Old 02-07-2016, 04:36 AM   #17
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
Duplicate menu entries were removed in the Github repo. So just refresh the Git tree (git pull) and relaunch the cleanmenu.sh script. You may want to logout and login again after that.

Cheers,

Niki
 
1 members found this post helpful.
Old 03-07-2016, 05:08 PM   #18
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Some type of XFCE package was updated that brought the duplicate entries back. It also created multiple shortcuts. Can you update the cleanmenu.sh. Thanks
Screenshot below

Last edited by PROBLEMCHYLD; 12-28-2016 at 05:40 PM.
 
Old 03-08-2016, 01:51 AM   #19
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
There was a discussion on the MLED official mailing list (you can find info about this mailing list in MLED news, I suggest that you subscribe to it).

Here's the explanation for going back to initial behaviour:

Quote:
Le 16/02/2016 13:51, Nicolas Kovacs a écrit :
> Hi,
>
> I've spent a few hours experimenting with various custom menu entry
> files, namely the collection of exo-*.desktop files.
>
> It's a bad idea to set these to NoDisplay=true. Here's why.
>
> As you may have noticed, the Plank dock has a very specific behaviour
> for launching applications. Let's say you have already launched Firefox
> and you want to open a different instance of Firefox, you click on the
> Firefox icon on the Plank dock, but instead of opening another instance
> of Firefox, it gets the focus back on the instance that's already open.
> Which is essentially a good idea for *most* applications, since you can
> always open a new tab, for example, and who needs two instances of
> Thunderbird, LibreOffice, GThumb, etc.?
>
> But here's the thing. For some applications, this behaviour would indeed
> make sense, namely Thunar and Xfce Terminal. Since Thunar doesn't have
> split panes, you always need two file managers to do some basic drag and
> drop. Same thing for Xfce Terminal. I don't know about you, but I always
> have multiple terminals open on my dual monitor workstation.
>
> This is where the exo-*.desktop files come in. At first, they only look
> like a mere redundancy, which they still are, but not only. Open up
> Whiskermenu in the "All" section and check out "File Manager" and
> "Terminal". (You may have to refresh your menu entries with
> cleanmenu.sh) If you drag-and-drop the exo-file-manager.desktop or the
> exo-terminal.desktop to the Plank dock, you will have a different
> behaviour, namely open a new window on every single click on Plank.
> Which is a good thing.
>
> To differentiate the entries, I've named them respectively File Manager
> / Thunar vs. File Manager / File Manager. The former corresponds to
> Thunar.desktop, the latter to exo-file-manager.desktop. Try each one on
> the Plank dock and play around to see how they behave differently. This
> is great, huh? A huge step for us, a small step for mankind. )
>
> I've rebuilt the user-settings-xfce package accordingly for MLED 14.1
> and MLED 14.2.
>
> I really think this is the best solution. The only slight inconvenience
> we have is that we have some remnants of double entries in the "All"
> section in Whiskermenu. This being said, nobody really uses that
> section, or do you?
>
> Cheers,
>
> Niki
 
Old 03-10-2016, 09:42 AM   #20
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Would it be ideal to spread the shorcuts out? One on the Whiskermenu, One on the plank, One in the applications folder, instead of having the redundant list?

Last edited by PROBLEMCHYLD; 03-10-2016 at 09:43 AM.
 
Old 03-11-2016, 01:47 AM   #21
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
Would it be ideal to spread the shorcuts out? One on the Whiskermenu, One on the plank, One in the applications folder, instead of having the redundant list?
Feel free to experiment using your own local copy of the file tree (the one with the cleanmenu.sh script). Use 'NoDisplay=true' to alternatively hide one or the other entry, then see what happens. I guess here one must reason in terms of lesser evil.

Cheers,

Niki
 
Old 09-18-2016, 08:25 PM   #22
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
These files will not run do to the errors. How do I fix them?

Code:
[problemchyld@darkstar:Desktop] $ amule
amule: error while loading shared libraries: libbfd-2.26.20160125.so: cannot open shared object file: No such file or directory
[root@darkstar:Desktop] # lrfviewer %f
Traceback (most recent call last):
  File "/usr/bin/lrfviewer", line 19, in <module>
    from calibre.gui2.lrf_renderer.main import main
  File "/usr/lib/calibre/calibre/__init__.py", line 21, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 178, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/usr/lib/calibre/calibre/utils/icu.py", line 28, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: /usr/lib/calibre/calibre/plugins/icu.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
/usr/lib/calibre/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil
[root@darkstar:Desktop] # ebook-viewer --detach %f
Traceback (most recent call last):
  File "/usr/bin/ebook-viewer", line 19, in <module>
    from calibre.gui2.viewer.main import main
  File "/usr/lib/calibre/calibre/__init__.py", line 21, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 178, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/usr/lib/calibre/calibre/utils/icu.py", line 28, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: /usr/lib/calibre/calibre/plugins/icu.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
/usr/lib/calibre/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil
[root@darkstar:Desktop] # calibre --no-update-check --detach %F
Traceback (most recent call last):
  File "/usr/bin/calibre", line 19, in <module>
    from calibre.gui2.main import main
  File "/usr/lib/calibre/calibre/__init__.py", line 21, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 178, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/usr/lib/calibre/calibre/utils/icu.py", line 28, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: /usr/lib/calibre/calibre/plugins/icu.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
/usr/lib/calibre/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil
[root@darkstar:Desktop] # ebook-edit --detach %f
Traceback (most recent call last):
  File "/usr/bin/ebook-edit", line 19, in <module>
    from calibre.gui2.tweak_book.main import main
  File "/usr/lib/calibre/calibre/__init__.py", line 21, in <module>
    from calibre.startup import winutil, winutilerror
  File "/usr/lib/calibre/calibre/startup.py", line 178, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/usr/lib/calibre/calibre/utils/icu.py", line 28, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: /usr/lib/calibre/calibre/plugins/icu.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
/usr/lib/calibre/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil
[root@darkstar:Desktop] # scribus %f
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
[root@darkstar:Desktop] #

Last edited by PROBLEMCHYLD; 09-20-2016 at 03:31 PM.
 
Old 10-03-2016, 06:08 PM   #23
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Thanks for the fixes.
 
Old 12-03-2016, 09:52 PM   #24
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
The sound does not work in remmina rdp. I can't here sound on my local computer doesn't matter which option I choose.
 
Old 12-23-2016, 05:27 PM   #25
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Things seems to be a lot cleaner than before. I still don't understand why we have Formula Editor in two categories. Its listed in Education and Office. You have the Drawing Program that does the same, listed in Graphics and Office categories. The same with Office Suite listing the redundancy of the same apps in the Office category. There is no need to have an extended context menu listing the same apps. I sound redundant posting this.
 
Old 12-31-2016, 09:51 AM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
Things seems to be a lot cleaner than before. I still don't understand why we have Formula Editor in two categories. Its listed in Education and Office. You have the Drawing Program that does the same, listed in Graphics and Office categories. The same with Office Suite listing the redundancy of the same apps in the Office category. There is no need to have an extended context menu listing the same apps. I sound redundant posting this.
These redundant menu entries result of what is written in the Categories field of the .desktop file.

For instance I see in draw.desktop (shipped with LibreOffice)
Code:
Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
As you see this program belongs to Office and Graphics. In such a case it is expected that an XDG compliant menu displays the same menu entry in both categories. It is possible to edit the .desktop either system wide or for one user to avoid that but frankly I don't think that's worthwile.

PS This is confirmed by desktop-file-validate:
Code:
didier[/usr/share/applications]$ desktop-file-validate draw.desktop 
draw.desktop: hint: value "Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
didier[/usr/share/applications]$
So it is up to upstream to change that or not, I think

Last edited by Didier Spaier; 12-31-2016 at 10:55 AM. Reason: Missing word added.
 
Old 01-08-2017, 04:43 PM   #27
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Thanks, I have removed all redundant entries.
 
  


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 08:46 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