Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xfce's Whisker-menu plugin requires "Mugshot"?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jhon987
Guru
Guru


Joined: 18 Nov 2013
Posts: 302

PostPosted: Tue Nov 17, 2015 3:02 pm    Post subject: Xfce's Whisker-menu plugin requires "Mugshot"? Reply with quote

Xfce has a great panel plugin called xfce4-whiskermenu-plugin.
This menu has your user name on it and a small image beside it, clicking that image will try to invoke an app called "mugshot" which should let you switch to another image and perhaps do other things as well.
This "mugshot" package seems to be missing from Gentoo's repository and overlays as well.
I was wondering whether the devs simply missed it or perhaps there's a replacement package instead of it? (couldn't find any documentation regards it)

IMO this impairs Xfce's functionality a bit...

For reference, here's that package found on Arch -> https://aur.archlinux.org/packages/mugshot/
Back to top
View user's profile Send private message
daniel2
n00b
n00b


Joined: 24 Nov 2015
Posts: 2

PostPosted: Tue Nov 24, 2015 11:36 pm    Post subject: Reply with quote

Hello,

I need this application too, so I created an ebuild in my own private overlay:

You can see it here: https://github.com/y2kbadbug/gentoo-overlay/tree/master/x11-misc/mugshot

Let me know if you experience any problems :)
Back to top
View user's profile Send private message
amulet_linux
n00b
n00b


Joined: 26 Apr 2014
Posts: 65

PostPosted: Wed Dec 09, 2015 5:44 pm    Post subject: Reply with quote

daniel2 wrote:
Hello,

I need this application too, so I created an ebuild in my own private overlay:

You can see it here: https://github.com/y2kbadbug/gentoo-overlay/tree/master/x11-misc/mugshot

Let me know if you experience any problems :)


Thank you very much!!! It worked fine, however I cannot input my name, just email, phone and fax
bye :wink:
_________________
https://gentoo.curl.pink
I post about Gentoo and Linux :3
Back to top
View user's profile Send private message
daniel2
n00b
n00b


Joined: 24 Nov 2015
Posts: 2

PostPosted: Wed Dec 16, 2015 4:58 pm    Post subject: Reply with quote

amulet_linux wrote:
daniel2 wrote:
Hello,

I need this application too, so I created an ebuild in my own private overlay:

You can see it here: https://github.com/y2kbadbug/gentoo-overlay/tree/master/x11-misc/mugshot

Let me know if you experience any problems :)


Thank you very much!!! It worked fine, however I cannot input my name, just email, phone and fax
bye :wink:


Try running it from command line and see what errors it spits out.

This is common
Code:

(mugshot:30683): Gtk-WARNING **: Theme parsing error: mate-applications.css:26:23: 'none' is not a valid color name
/usr/lib64/python3.4/site-packages/mugshot/CameraMugshotDialog.py:27: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst, GdkPixbuf


Anything else, paste me and Ill see if I can figure it out for you. It works fine for me.
Back to top
View user's profile Send private message
STrRedWolf
n00b
n00b


Joined: 02 Sep 2002
Posts: 72

PostPosted: Sat Jan 09, 2016 3:37 pm    Post subject: Reply with quote

Hey Daniel2, I'm testing this out now on amd64 (as soon as my libreoffice rebuild finishes). I've opened up Gentoo bug 571382 to get it into Portage.
Back to top
View user's profile Send private message
Myu
Apprentice
Apprentice


Joined: 22 Oct 2014
Posts: 164
Location: Belgium

PostPosted: Sun Jan 10, 2016 8:16 pm    Post subject: Reply with quote

Just my 2 cents, to change the user avatar on whisker menu, you can copy the file you want as avatar to ~/.face.
_________________
Gentoo stable with bits of ~amd64 // Xfce 4.13 + Compiz Reloaded.
Back to top
View user's profile Send private message
amulet_linux
n00b
n00b


Joined: 26 Apr 2014
Posts: 65

PostPosted: Tue Jan 26, 2016 10:45 pm    Post subject: Reply with quote

hi, a little late, but here is the output:

/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python3.4/site-packages/mugshot_lib/Builder.py:81: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)


This is common
Code:

(mugshot:30683): Gtk-WARNING **: Theme parsing error: mate-applications.css:26:23: 'none' is not a valid color name
/usr/lib64/python3.4/site-packages/mugshot/CameraMugshotDialog.py:27: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst, GdkPixbuf


Anything else, paste me and Ill see if I can figure it out for you. It works fine for me.[/quote]
Back to top
View user's profile Send private message
JKosta
n00b
n00b


Joined: 11 Nov 2013
Posts: 32

PostPosted: Fri Apr 01, 2016 7:01 pm    Post subject: Reply with quote

I was getting many issues with the daniels's ebuild.

Then, I updated that ebuild to 0.3.1 version of mugshot and everything is running smooth.

Here it is what I did:

# mkdir -v /var/lib/layman/jkosta

add the line "/var/lib/layman/jkosta" to file /var/lib/layman/make.conf
(without the quotation marks)

# mkdir -v /var/lib/layman/jkosta/metadata/

add the line "masters = gentoo" to file /var/lib/layman/jkosta/metadata/layout.conf
(without the quotation marks)

# mkdir -v /var/lib/layman/jkosta/profiles
# echo "jkosta" > /var/lib/layman/jkosta/profiles/repo_name
# cd /usr/portage/distfiles/
# wget https://launchpad.net/mugshot/0.3/0.3.1/+download/mugshot-0.3.1.tar.gz
# mkdir -pv /var/lib/layman/jkosta/x11-misc/mugshot
# cd /var/lib/layman/jkosta/x11-misc/mugshot
# cp /var/lib/layman/y2kbadbug/x11-misc/mugshot/mugshot-0.3.0.ebuild .
# mv mugshot-0.3.0.ebuild mugshot-0.3.1.ebuild
# ebuild mugshot-0.3.1.ebuild manifest
# emerge -av mugshot

Note: replace "jkosta" by the name of your repo.

Now it is time to launch mugshot and enjoy it. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum