LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2019, 12:54 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Exclamation WT* -> Live slack:xfce4 makeurself: bluetooth not working.


Ok, I am in xfce4 live w/persistence right now. I got a BT Mouse. no blueman-applet
Code:
bob@darkstars:~$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 16, in <module>
    gi.require_version("Gtk", "3.0")
AttributeError: module 'gi' has no attribute 'require_version'
pkgs
Code:
bob@darkstars:~$ ls /var/lib/pkgtools/packages/gtk*
/var/lib/pkgtools/packages/gtk+2-2.24.32-x86_64-2
/var/lib/pkgtools/packages/gtk+3-3.24.8-x86_64-1
/var/lib/pkgtools/packages/gtk-xfce-engine-2.10.1-x86_64-3
/var/lib/pkgtools/packages/gtkmm3-3.24.1-x86_64-1
/var/lib/pkgtools/packages/gtkspell-2.0.16-x86_64-4
what's missing, what am I missing?
If I need to rebuild this, that is not an issue.

Last edited by BW-userx; 04-24-2019 at 08:19 AM.
 
Old 04-23-2019, 02:03 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I commented out two lines in /usr/bin/blueman-applet ln 16,17, and am now getting this..

Code:
bob@darkstars:/etc/rc.d$ ps -ae | grep blue
 3183 pts/1    00:00:00 bluetoothd
bob@darkstars:/etc/rc.d$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 16, in <module>
    gi.require_version("Gtk", "3.0")
AttributeError: module 'gi' has no attribute 'require_version'
bob@darkstars:/etc/rc.d$ file /usr/bin/blueman-applet
/usr/bin/blueman-applet: Python script, ASCII text executable
bob@darkstars:/etc/rc.d$ sudo nano -c /usr/bin/blueman-applet
bob@darkstars:/etc/rc.d$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 17, in <module>
    gi.require_version('Notify', '0.7')
AttributeError: module 'gi' has no attribute 'require_version'
bob@darkstars:/etc/rc.d$ sudo nano -c /usr/bin/blueman-applet
bob@darkstars:/etc/rc.d$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 18, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi.repository'
what is gi.repository, and where do I get it, put it in and shake it all around?

Last edited by BW-userx; 04-24-2019 at 08:18 AM.
 
Old 04-24-2019, 08:47 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
added python3-gi, redoing ....
 
Old 04-24-2019, 09:35 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Crap not working..

Code:
bob@darkstars:~$ ls /var/lib/pkgtools/packages/pyth*
/var/lib/pkgtools/packages/python-2.7.16-x86_64-2
/var/lib/pkgtools/packages/python-ply-3.11-x86_64-1
/var/lib/pkgtools/packages/python3-3.7.3-x86_64-2
still missing the gi part needed to get blueman-applet to work....
 
Old 04-24-2019, 10:48 AM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
It should be in the pygobject3 package.
 
Old 04-24-2019, 11:49 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by montagdude View Post
It should be in the pygobject3 package.
thanks I'll try adding that one now.
 
Old 04-24-2019, 01:43 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by montagdude View Post
It should be in the pygobject3 package.
Nope
Code:
bob@darkstars:~$ ls /var/lib/pkgtools/packages/py*
/var/lib/pkgtools/packages/pycairo-1.18.1-x86_64-1
/var/lib/pkgtools/packages/pygobject-2.28.7-x86_64-3
/var/lib/pkgtools/packages/pygtk-2.24.0-x86_64-5
/var/lib/pkgtools/packages/python-2.7.16-x86_64-2
/var/lib/pkgtools/packages/python-ply-3.11-x86_64-1
/var/lib/pkgtools/packages/python3-3.7.3-x86_64-2
Code:
bob@darkstars:~$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 16, in <module>
    gi.require_version("Gtk", "3.0")
AttributeError: module 'gi' has no attribute 'require_version'
toss up between frustration and time consuming
 
Old 04-24-2019, 01:59 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107
Quote:
Originally Posted by BW-userx View Post
Nope
You do know the difference between a package name ending with "3" and a name not ending in "3"...? You missed one.

Quote:
toss up between frustration and time consuming
Well look at it this way - if you find out the list of packages that were missing, I could add them to the XFCE Live package list (provided the total ISO size stays below 700 MB, i.e. CDROM size).
 
Old 04-24-2019, 02:07 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Alien Bob View Post
.....
if you find out the list of packages that were missing, I could add them to the XFCE Live package list (provided the total ISO size stays below 700 MB, i.e. CDROM size).
I was thinking of you when I thought about just that.

It might be faster if I just installed VBox and fired them up in there instead of iso2usb every time. That should cut down on the time consumption some.

I am in it running e16 , just no BT.

Last edited by BW-userx; 04-24-2019 at 02:11 PM.
 
Old 04-24-2019, 02:24 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
pygobject3

I did have it in a Home made list file I added to the script, it just must have missed it. trying again.
 
Old 04-24-2019, 04:51 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
build showed adding pygobject3, but it is not in here, so I mounted laptop hdd manually installed it.
I put it in the min.lst under python.
Code:
bob@darkstars:/media/hd0/var/cache/liveslak/Slackware/slackware64-current/slackware64/l$ sudo installpkg pygobject3-3.32.1-x86_64-1.txz
next error to work on
Code:
bob@darkstars:~$ blueman-applet
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 15, in <module>
    import gi
  File "/usr/lib64/python3.7/site-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: libgirepository-1.0.so.1: cannot open shared object file: No such file or directory
added
Code:
re64/l$ ls gobject-introspection*
gobject-introspection-1.60.1-x86_64-1.txt
gobject-introspection-1.60.1-x86_64-1.txz
gobject-introspection-1.60.1-x86_64-1.txz.asc
bob@darkstars:/media/hd0/var/cache/liveslak/Slackware/slackware64-current/slackware64/l$ sudo installpkg gobject-introspection-1.60.1-x86_64-1.txz
Verifying package gobject-introspection-1.60.1-x86_64-1.txz.
Installing package gobject-introspection-1.60.1-x86_64-1.txz [REC]:
PACKAGE DESCRIPTION:
# gobject-introspection (GObject interface introspection library)
#
# GObject Introspection is a project for providing machine readable
# introspection data of the API of C libraries. This introspection data
# can be used for automatic code generation for bindings, API
# verification, and documentation generation.
#
# For more information, check out:
#  http://live.gnome.org/GObjectIntrospection
#
Executing install script for gobject-introspection-1.60.1-x86_64-1.txz.
Package gobject-introspection-1.60.1-x86_64-1.txz installed.
bob@darkstars:/media/hd0/var/cache/liveslak/Slackware/slackware64-current/slackware64/l$
cli blueman-applet worked. logging out and in to see if it still works.


yep...

why the build did not add pygobject3, I do not know. I suspect maybe because it is installing the pygobject and that is over riding it. perhaps.

It needs two files added.

pygobject3
gobject-introspection

Last edited by BW-userx; 04-24-2019 at 05:16 PM.
 
Old 04-24-2019, 05:17 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Alien Bob View Post
Well look at it this way - if you find out the list of packages that were missing, I could add them to the XFCE Live package list (provided the total ISO size stays below 700 MB, i.e. CDROM size).
It needs two files added.

pygobject3
gobject-introspection



See post above.
 
Old 04-25-2019, 08:02 AM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
@Alien Bob

added pygobject3 , gobject-introspection to the x_base.lst alphanumerically and it worked. That is the size it gets.
Quote:

Total translation table size: 2048
Total rockridge attributes bytes: 11177
Total directory bytes: 30720
Path table size(bytes): 164
Done with: The File(s) Block(s) 364488
Writing: Ending Padblock Start Block 364547
Done with: Ending Padblock Block(s) 150
Max brk space used 1c000
364697 extents written (712 MB)
-- Live ISO image created:
- CDROM max size is 737.280.000 bytes (703 MB)
- DVD max size is 4.706.074.624 bytes (4.38 GB aka 4.7 GiB)
-rw-r--r-- 1 root root 747634688 Apr 25 07:53 /home/userx/slacklive/ISO/slackware64-live-xfce-current.iso
so I'll leave the rest up to you to tweak it or leave it as is. Maybe add a note to user about them if they actually want/need bluetooth, then it is as easy as adding them in themselves, as I did.

Last edited by BW-userx; 04-25-2019 at 08:18 AM.
 
  


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] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM

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

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