LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-07-2018, 06:56 PM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,133
Blog Entries: 1

Rep: Reputation: Disabled
Generate desktop menu in fvwm requires pyxdg in Python 3


I got troubles to generate desktop menu in fvwm. Here is explanation
https://www.mail-archive.com/fvwm-wo.../msg04759.html. Simplest way to obtain menu in fvwm is
Code:
# pip3 install pyxdg
Start fvwm open popup desktop menu, choose XDG Menu and then regenerate. Essentially fvwm uses the same apps menu as xfce.
 
Old 11-07-2018, 08:12 PM   #2
mralk3
Senior Member
 
Registered: May 2015
Location: Utah, USA
Distribution: Slackware 14.2 || Slackware-current && CentOS
Posts: 1,318

Rep: Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694
You really should have installed that from SlackBuilds.org or from ponce's repo.

https://slackbuilds.org/repository/14.2/python/pyxdg/

It is much easier to track Slackware packages than whatever pip installs on your system.
 
Old 11-07-2018, 08:27 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,498

Rep: Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523
This would have installed it into ~/.local and not /usr/local:

Code:
pip3 install pyxdg --user
 
1 members found this post helpful.
Old 11-08-2018, 08:53 AM   #4
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,133
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mralk3 View Post
You really should have installed that from SlackBuilds.org or from ponce's repo.

https://slackbuilds.org/repository/14.2/python/pyxdg/

It is much easier to track Slackware packages than whatever pip installs on your system.
I was thinking about that but I am interested in learning something about managing python packages Not all of them clearly are accessible through SlackBuild script. The better idea is to build local repository (per user), than install system-wide. Yet after a while I feel disappointed. I would never say that application requiring python 3 is lightweight. Lightweight for me means first of all minimal requirements.
 
Old 11-10-2018, 12:45 AM   #5
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64
Posts: 176

Rep: Reputation: Disabled
Python is only lightweight in syllables.
 
Old 11-10-2018, 01:23 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,498

Rep: Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523Reputation: 3523
Python's pitch is "batteries included". It's pretty much the opposite of lightweight.
 
Old 11-10-2018, 04:44 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,585

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Lightweight for me means first of all minimal requirements.
That a software be small in size has nothing to do with performances. To simplify a bit the developer has to balance between speed of development and speed of execution. Software written in interpreted languages like python are developed faster, but run slower. Which matters or not, depending of their usage.

Specifically, pyxdg allows to perform queries according to the freedesktop.org specifications, and this is not CPU intensive anyway.

Last edited by Didier Spaier; 11-10-2018 at 04:53 AM. Reason: Last line added.
 
  


Reply

Tags
fvwm menu pyxdg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] no python-xdg on system? fvwm BW-userx Slackware 2 09-24-2018 09:41 AM
Fvwm 2.6.5 start menu francesco88 Linux - Newbie 2 03-12-2015 03:06 PM
Have newer python, but an app requires older python postcd Linux - General 2 05-05-2014 01:35 AM
configure: error: The xdg python module is required (pyxdg or python-xdg) Sargalus Linux - Software 7 03-24-2010 08:34 AM
Using gnome menu in fvwm? scottsmith77 Linux - Newbie 0 10-30-2003 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration