Giter VIP home page Giter VIP logo

mugshot's Introduction

Hey there ๐Ÿ‘‹, I'm Sean Davis!

๐Ÿก bluesabre.org โ€ƒ ๐ŸŒ Planet Bluesabre


I'm a long-time contributor to FOSS projects such as Xfce and Xubuntu. Recently, I've started hacking on elementary OS as well.

  • ๐ŸŽฉ Xfce Core Developer
  • ๐ŸŽฉ Xubuntu Technical Lead
  • ๐ŸŽฉ Xubuntu Council

In the not-so-FOSS world, I'm a full stack web developer juggling PHP, HTML, JavaScript, and increasingly, React on iOS and Android.

More about me

  • ๐Ÿ”ญ Iโ€™m currently working on improving 3rd-party apps on elementary OS
  • ๐ŸŒฑ Iโ€™m currently learning Vala and Flatpak packaging
  • ๐Ÿ’ฌ Ask me about contributing to Xubuntu
  • ๐ŸŽฎ My favorite games are Mega Man Zero and Final Fantasy (6-10, 15, and Tactics, not in that order)
  • ๐Ÿ“บ I love anime and superhero movies
  • ๐Ÿ™‚ Pronouns: he/him

Tools of the trade

Code

Support

mugshot's People

Contributors

albanobattistella avatar bluesabre avatar conikost avatar dependabot[bot] avatar qarkai avatar thad-fisch avatar transifex-integration[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mugshot's Issues

Gentoo installation instructions

Unable to make a pull request for wiki pages (who knew?), so, Gentoo installation instructions:

emerge --sync
emerge x11-misc/mugshot

There's a few use flags as well, that can be added to /etc/portage/package.use to enable various features;

libreoffice - libreoffice integration
webcam - assuming that it enables webcam capture support
gnome - gnome integration?

Does not ask to updated Pidgin details

Imported from Launchpad, LP: #1774804

Testing Xubuntu 18.10

When testing mugshot I noticed that out of some 15 times or so I updated the information in mugshot, I was only asked once if pidgin details should be updated as well.

Fact is: I have pidgin set up (with one account), don't really use it though, except for testing purposes.

comment-1.txt
comment-2.txt

Not Added To Cinnamon Settings Control Center

 * Cinnamon version 5.2.7
 * Distribution - Arch Linux
 * Mugshot version 0.4.3 (via AUR - https://aur.archlinux.org/packages/mugshot)
 * 64 bit

Issue

No entry is added to the Cinnamon settings control center

Steps to reproduce

Be running Arch & Cinnamon, install mugshot (package only available via AUR)

Expected behavior

Entry should be added to Cinnamon settings control center

Other information

This is a small issue, I'll admit, as I can still open mugshot from the applications menu, but in the installation wiki it says:

Following the installation, you will find Mugshot listed in your distributionโ€™s Settings Manager โ†’ About Me

I did not experience this when I installed the package from the AUR, and it appears that the install instructions from the wiki are being followed in the AUR PKGBUILD. Wondering if this is unique to Arch + Cinnamon, meaning it works fine on Arch + Gnome/XFCE/MATE/etc...

mugshot - not working

Hi, I got this error in terminal:

$ mugshot
Traceback (most recent call last):
File "/usr/bin/mugshot", line 35, in
import mugshot
ModuleNotFoundError: No module named 'mugshot'

PS: I'm currently using arch linux.

Dependency pexpect not properly verified

Imported from Launchpad, LP: #1311021

The build system detects whether pexpect is present or not, but does not halt to warn the user that it is a necessary dependency -- it merely outputs a generic warning. Since pexpect is actually necessary to run the app, I'd suggest to block the build process when it is not found.

Camera Capture window freezes at launch

Imported from Launchpad, LP: #1805016

Hello,
Launching Camera Capture, the window freezes, locking the software along with it. I need to kill mugshot in order to close it. Web-cam is working as the led turns on right before the freeze.
I can confirm web-cam is working correctly with the application cheese.

Mugshot 0.4.1
Distribution: openSUSE Tumbleweed
Architecture: amd64
CurrentDesktop: Xfce
Kernel: 4.19.2

Testing package for openSUSE
https://build.opensuse.org/package/show/home:mauriziogalli:xfce/mugshot

DEBUG log here: https://paste.opensuse.org/55924806

Screenshot_2018-11-15_14-13-51

AccountsService set icon not working for avatar larger than 1MB

Hello,

When selecting a custom avatar larger than 96x96, it is not applied on behalf of AccountsService. Would it be possible to add a warning message? In addition, it could be great that the script performs an automatic resize after warning the user.

I can work on a PR if needed... In this case, do you have a preference on the image manipulation lib?

Issue updating home phone on Gentoo

Mugshot (0.4.2) does not save when I enter data into the 'Home Phone' field. I receive the following error:

An error occurred while saving changes
User details were not updated.

The error appears after asking me to escalate privileges, which seems to work just fine

I've run mugshot in debug mode, and receive the following output (sanitised):

DEBUG:mugshot: process_terminal_password() 'Executing: /usr/bin/chfn -h "[phone number]" [username]'
DEBUG:mugshot: save_chfn_details() 'Updating Office Phone...'
DEBUG:mugshot: process_terminal_password() 'Executing: /usr/bin/chfn -p "none" [username]'
DEBUG:mugshot: process_terminal_password() 'Executing: /usr/bin/chfn -w "none" [username]'

No error appears in the console.

I can see that mugshot supports both versions of chfn (shadow-utils and util-linux), so I doubt that's the issue. I can manually set the home phone using chfn -h "[phone number] [username]" and it works successfully and can be read by mugshot on next startup.

Asks if LibreOffice details should be updated after no changes are made

Imported from Launchpad, LP: #1774803

Testing Xubunto 18.10.
Mugshot: mugshot 0.4.0

When I open mugshot 0.4.0, change nothing and click "apply", I get the question: "Update libreoffice user details? Would you also like to update your user details in libreoffice?"

I think when there are no changes, this question is not necessary.

(mugshot:22748)

(mugshot:17483): Gtk-WARNING **: 01:06:37.420: Content added to the action area of a dialog using header bars

(mugshot:17483): Gtk-WARNING **: 01:06:37.420: Content added to the action area of a dialog using header bars
Traceback (most recent call last):
File "/bin/mugshot", line 36, in
mugshot.main()
File "/usr/lib/python3.9/site-packages/mugshot/init.py", line 47, in main
window = MugshotWindow.MugshotWindow()
File "/usr/lib/python3.9/site-packages/mugshot_lib/Window.py", line 51, in new
builder = get_builder('MugshotWindow')
File "/usr/lib/python3.9/site-packages/mugshot_lib/helpers.py", line 43, in get_builder
builder.add_from_file(ui_filename)
File "/usr/lib/python3.9/site-packages/mugshot_lib/Builder.py", line 92, in add_from_file
ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

Change user icon (no criminals)

In Xubuntu, by default, the user icon About Me looks like a killer wanted notice:
Xubuntu-User-About-Me

I think it's not right.
Therefore, I ask you to replace the picture about the search for a criminal with a different one.
For example, in Windows, by default, there are no images of criminals:
windows-xp-user-accounts

How to uninstall?

I just installed mugshot from git manually, and I want to know how to uninstall it. I don't see any in the document.

Thanks

UnicodeDecodeError when reading registrymodifications.xcu

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 364, in on_apply_button_clicked
    if self.get_libreoffice_details_updated():
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 640, in get_libreoffice_details_updated
    data = self.get_libreoffice_data()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 798, in get_libreoffice_data
    for line in open(prefs_file):
  File "/usr/lib/python3.10/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 5925: ordinal not in range(128)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.