LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-03-2016, 11:08 AM   #1
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Rep: Reputation: 37
Solaar not working


I have been trying to get Solaar working in Slackware 14.1 it is an application to manage wireless keyboards and mice.

I have not a clue even reading all the stuff on the Solaar website how to install it properly in Slack.

https://pwr.github.io/Solaar/

this is what I get after installing several dependices.

bash-4.2# cd Solaar-0.9.2
bash-4.2# ls
COPYING ChangeLog README bin jekyll packaging rules.d share
COPYRIGHT MANIFEST.in README.md docs lib po setup.py tools
bash-4.2# cd bin
bash-4.2# ./solaar

(solaar:2539): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion `path != NULL' failed
solaar: error: Argument 0 does not allow None as a value
bash-4.2#


Obviously I only unpacked it and tried to run it as I don't see any real way to actually install it.

Any ideas?

The keyboard and mouse work so that is probably not the problem
 
Old 04-03-2016, 11:46 AM   #2
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
Well I was able to figure out how to install it.

There was a setup.py in the root directory.

SO setup.py build and setup.py install did that still get the same error.

the command line version works.

bash-4.2# solaar-cli show
Unifying Receiver [/dev/hidraw0:1D5B9758] with 2 devices
1: Wireless Mouse M310/M310t [M310/M310t:03E8C0B4]
2: K520 [K520:B34B4968]

so the problem must be with the KDE gui there was some post elsewhere about GTK theme and icon theme in the KDE control panel I am not sure how that is done and would rather not change the current way KDE looks
 
Old 04-03-2016, 05:30 PM   #3
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
Does anyone know what the slackware version of these Debian/Ubuntu package names are ?

gir1.2-gtk-3.0
python-gi
python3-gi
gir1.2-notify-0.7
gir1.2-appindicator3-0.1
 
Old 04-03-2016, 07:53 PM   #4
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
I also get this with the debug flag

bash-4.2# solaar -d
18:51:21,699 INFO [MainThread] root: language en_US (ISO8859-1), translations path None
18:51:21,704 INFO [MainThread] solaar.ui: application /io/github/pwr/solaar, registered True
18:51:21,729 WARNING [MainThread] solaar.ui.icons: failed to detect a known icon set

(solaar:1721): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion `path != NULL' failed
solaar: error: Argument 0 does not allow None as a value

So this must be a problem with the icons
 
Old 04-04-2016, 01:15 PM   #5
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
Solaar works perfectly under SlackWare 14.2 rc1

I hope 14.2 gets done soon

Not sure how to get this to work under 14.1
 
Old 04-05-2016, 04:00 PM   #6
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
I upgraded KDE but that did not change anything. There should be a fix for this as it works on 14.2 rc1.

Any ideas where to look?
 
Old 04-22-2016, 09:10 PM   #7
TarFile
Member
 
Registered: Mar 2003
Posts: 371

Original Poster
Rep: Reputation: 37
In current there is a battery monitor so in my case Solaar seems redundant. May install it anyway.
 
Old 01-14-2019, 09:30 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I just got it working in -current.

1. Use the setup.py file to install it. There's a SlackBuild template use can use to build a package. I used Python 3.

2. Copy the included "42-logitech-unify-permissions.rules" to /etc/udev/rules.d. If you're building a package, put it in the package.

3. Edit the rules file to uncomment the following line:
Code:
#MODE="0660", GROUP="plugdev"
4. Install pyudev. This can also be easily built into a package. Just use the same version of Python that you used to install Solaar.

5. Set solaar to run when the GUI starts. In my case, I added "solaar &" to /etc/openbox/autostart.

Last edited by dugan; 01-14-2019 at 10:18 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wifi not working in Eee PPC 1000HE (Debian Squeeze), but ethernet is working someshpr Linux - Laptop and Netbook 8 10-10-2011 03:59 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 08:06 AM
SED - minor changes work - Larger doesn't (working and non working code included) Nimoy Programming 17 09-22-2007 04:34 PM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 07:57 AM
acpi nearly working IBM thinkpad R40e 2684HVG no Fn key working, throttling OK Emmanuel_uk Linux - Laptop and Netbook 2 05-31-2006 01:41 AM

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

All times are GMT -5. The time now is 03:43 AM.

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