Any success installing PyWal?

Message
Author
User avatar
deadface
Posts: 4
Joined: Sat Mar 17, 2018 9:23 am

Any success installing PyWal?

#1 Post by deadface »

Hi There

I am interesting in the capabilites provided by PyWal for setup up custom color schemes. I was curious if anyone had success installing it on MX? I have had had no success

https://github.com/dylanaraps/pywal

Below is the type of error I receive on my two systems:

Code: Select all

root@venus:~# pip3 install --upgrade --force-reinstall pywal
Collecting pywal
  Using cached https://files.pythonhosted.org/packages/75/4e/03b33c1d69d55e108b023eea57a44707eae569fd69eb7545f4ca7f0ad6b0/pywal-3.0.0.tar.gz
Building wheels for collected packages: pywal
  Running setup.py bdist_wheel for pywal ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/var/tmp/pip-build-f2rcv7xu/pywal/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp63ykefs_pip-wheel- --python-tag cp35:
  /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  
  error: invalid command 'bdist_wheel'
  
  ----------------------------------------
  Failed building wheel for pywal
  Running setup.py clean for pywal
Failed to build pywal
Installing collected packages: pywal
  Found existing installation: pywal 3.0.0
    Uninstalling pywal-3.0.0:
      Successfully uninstalled pywal-3.0.0
  Running setup.py install for pywal ... done
Successfully installed pywal-3.0.0
CZ170-M-O/i5-6600K/Quadro 4000

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Any success installing PyWal?

#2 Post by rich »

Purge python3-pip and reinstall with --install-recommends flag

Code: Select all

sudo apt purge python3-pip && sudo apt install --install-recommends python3-pip && pip3 install pywal
edit - wow this program is pretty cool

User avatar
deadface
Posts: 4
Joined: Sat Mar 17, 2018 9:23 am

Re: Any success installing PyWal?

#3 Post by deadface »

Perfect!! Thanks. And, yes, PyWal looks like an amazing tools for setting up color schemes. I have a few very colorful retro space art walpapers that are tough to setup schemes. I was hoping PyWal would be the answer.

Thanks Again.
CZ170-M-O/i5-6600K/Quadro 4000

User avatar
deadface
Posts: 4
Joined: Sat Mar 17, 2018 9:23 am

Re: Any success installing PyWal?

#4 Post by deadface »

Wow. I have had about 10 different wallpaper+color schemes. They all came out pretty good -- at least better than my non-artistic self could do.
CZ170-M-O/i5-6600K/Quadro 4000

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Any success installing PyWal?

#5 Post by rich »

Nice yeah and apparently you can combine it somehow with oomox gtk theme/theme generator although I haven't looked into that too much

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: Any success installing PyWal?

#6 Post by Stevo »

It seems like it wouldn't be that difficult to package for the MX 17 repo...

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: Any success installing PyWal?

#7 Post by Stevo »

I've got a first attempt at a package here: https://drive.google.com/open?id=1aNny6 ... hpM8TXJ-Cp

But I'm going to add a .desktop file so it appears in the menu and starts up in a terminal...and also improve the description to clarify that it's only for GTK-based desktop environments. I also need to keep it from running in the terminals where it's not going to work correctly, such as Konsole.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Any success installing PyWal?

#8 Post by rich »

Very cool, I'll be testing this out. Since we're on the subject, any chance for oomox too? It goes great with PyWal as far as having a whole cohesive theme based on the wallpaper, for example here is a screenshot on my debian system using oomox and pywall together - I can do a post in the package request thread if you like
Webp.net-compress-image (1).jpg
https://github.com/themix-project/oomox
I installed the ubuntu deb available on their website at my own risk without complication so far so hopefully it shouldn't be too far of a stretch to rebuild it, no pun intended
You do not have the required permissions to view the files attached to this post.

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: Any success installing PyWal?

#9 Post by Stevo »

I'll take a look at oomox tomorrow.

I'm not sure what to start "wal" in a terminal with, however. If I just use "wal", I get that help message that non-techies won't like at all.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: Any success installing PyWal?

#10 Post by rich »

Hahaha yeah I've just been playing around with it today but so far I've been starting it like

Code: Select all

 ~/.local/bin/wal -gi ~/Pictures/4chan/downloads/wg/mobius/1523672902354.jpg
so basically wal -i $PATHTOWALLPAPER (the -g flag generates oomox gtk theme)

This should do it on the current wallpaper (for a single monitor setup, idk about otherwise) -

Code: Select all

wal -i $(xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image)

Post Reply

Return to “Software / Configuration”