Jump to content
Sign in to follow this  
Jeff

Swami Theme Selector in Repo

Recommended Posts

Very first build of Swami is in the repo along with a base attempt at a theme selection module. It applies the selected Moksha theme and attempts to apply a matching elementary theme with the exact same name.

 

Works OK in my limited testing here, almost 2am though so take that with a grain of salt - heading to sleep.

 

e-5629d5b2ea9974.58730593.jpg

 

You can install / keep up to date with my work on Swami by installing the pre-release package:

sudo apt-get install swami-control

Note because this is a pre-release I'm going to be pushing updates for it directly into the main repo. Anyone on a non-Bodhi OS who would like to give Swami a try can find the source code on github here.

  • Like 2

Share this post


Link to post
Share on other sites

ok... that was weird... this installed some sort of music player?  and what is jackd2?  I had already done an update and when I did the sudo apt-get install swami something else seems to have been installed. :wacko:

Share this post


Link to post
Share on other sites

hmm,

apt-cache search swami
apt-cache showpkg swami

learn me that two packages called swami exist. 1 in ubuntu repo, another in bodhi repo.

 

Installation leads to disaster as the dependencies get mixed up too.

 

Needs cleaning / renaming. Call Jeff !!!

 

Enjoy,

Charles.

  • Like 1

Share this post


Link to post
Share on other sites

@Charles, indeed a mess.  I ended up removing both swami (musical) and something called jackd2. 

Share this post


Link to post
Share on other sites

Changed the package name to swami-control 

 

Whoops. Sorry for the confusion.

  • Like 1

Share this post


Link to post
Share on other sites

Am I missing some py-package?

albi@albi-desktop:~$ swami
Traceback (most recent call last):
  File "/usr/bin/swami", line 90, in <module>
    app = MainWin()
  File "/usr/bin/swami", line 46, in __init__
    self.loadModules()
  File "/usr/bin/swami", line 68, in loadModules
    imported = importlib.import_module(m)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/swami_themeselector/__init__.py", line 1, in <module>
    from swami_themeselector import *
  File "/usr/lib/python2.7/dist-packages/swami_themeselector/swami_themeselector.py", line 6, in <module>
    import neet
  File "/usr/lib/python2.7/dist-packages/neet.py", line 17, in <module>
    import ecfg
  File "/usr/lib/python2.7/dist-packages/ecfg/__init__.py", line 1, in <module>
    from . import parser  # NOQA
  File "/usr/lib/python2.7/dist-packages/ecfg/parser.py", line 16, in <module>
    import pyparsing as PP
ImportError: No module named pyparsing

Share this post


Link to post
Share on other sites

Yep - python-pyparsing is what you want. I'll update the package now to add that as a dependency.

  • Like 1

Share this post


Link to post
Share on other sites

Also - folks just refreshing their sources and installing this - you will need to make sure all your system updates are run as well. This depends on the latest version of elm-extensions I just added to the repo.

  • Like 1

Share this post


Link to post
Share on other sites

Yea - it is only working about half the time here. I think there is some issue with writing to E profile configs while E is running. Need to poke at it some more to figure out why.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×