LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 05:56 PM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
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, 07:12 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
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, 07:27 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
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, 07:53 AM   #4
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
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-09-2018, 11:45 PM   #5
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64, Mageia
Posts: 226

Rep: Reputation: 184Reputation: 184
Python is only lightweight in syllables.
 
Old 11-10-2018, 12:23 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Python's pitch is "batteries included". It's pretty much the opposite of lightweight.
 
Old 11-10-2018, 03:44 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

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 03:53 AM. Reason: Last line added.
 
  


Reply

Tags
fvwm menu pyxdg



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

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

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