GithubHelp home page GithubHelp logo

Trouble on wayland about safeeyes HOT 8 CLOSED

slgobinath avatar slgobinath commented on August 22, 2024
Trouble on wayland

from safeeyes.

Comments (8)

slgobinath avatar slgobinath commented on August 22, 2024

@Yamakaky I will check it but this issue seems to be a common problem. See DeaDBeeF-Player/deadbeef#1606, https://github.com/getlantern/lantern/issues/3618 and kozec/syncthing-gtk#73.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

Fixed with 24a0301. Tested on Fedora 25

from safeeyes.

pedrolb avatar pedrolb commented on August 22, 2024

Ubuntu 17.10 is still not out but i tried to use safe eyes on it, no success. I think its related to this bug, because when i run on xorg session it works.

Error i get when running safeeyes from terminal:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Xlib/xauth.py", line 42, in init
raw = open(filename, 'rb').read()
FileNotFoundError: [Errno 2] No such file or directory: '/home/pedrolb/.Xauthority'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/safeeyes", line 9, in
load_entry_point('safeeyes==2.0.0', 'console_scripts', 'safeeyes')()
File "/usr/lib/python3/dist-packages/safeeyes/main.py", line 132, in main
safeeyes = SafeEyes(system_locale, config)
File "/usr/lib/python3/dist-packages/safeeyes/SafeEyes.py", line 75, in init
self.break_screen = BreakScreen(self.context, self.on_skipped, self.on_postponed, Utility.STYLE_SHEET_PATH)
File "/usr/lib/python3/dist-packages/safeeyes/BreakScreen.py", line 47, in init
self.display = Display()
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in init
self.display = _BaseDisplay(display)
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in init
display.Display.init(*(self, ) + args, **keys)
File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 61, in init
name, host, displayno)
File "/usr/lib/python3/dist-packages/Xlib/support/connect.py", line 93, in get_auth
return getattr(mod, modname).get_auth(sock, dname, host, dno)
File "/usr/lib/python3/dist-packages/Xlib/support/unix_connect.py", line 116, in new_get_auth
au = xauth.Xauthority()
File "/usr/lib/python3/dist-packages/Xlib/xauth.py", line 44, in init
raise error.XauthError('~/.Xauthority: %s' % err)
Xlib.error.XauthError: ~/.Xauthority: [Errno 2] No such file or directory: '/home/pedrolb/.Xauthority'

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

@pedrolb I remember I also got this problem.
Try to create an empty file using the following command and let me know the result:

touch ~/.Xauthority

from safeeyes.

pedrolb avatar pedrolb commented on August 22, 2024

@slgobinath It worked, I never tought it would be so easy :D Thanks

But the safe eyes is running with some problems in this new version. The system tray icon didn't show at first, and the text of the exercise isn't showing as expected.

foto

I tried a purge and reinstall and now the plugin for system tray was ok (came as on) but the text still came as a variable name. But i am running it now :)

from safeeyes.

pedrolb avatar pedrolb commented on August 22, 2024

my bad, it wasn't a clean reinstall, i purged it again and this time removed the safeeyes folder from .config. Safe Eyes working as expected, thanks a lot 👍

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

@pedrolb that's my fault. I implemented to upgrade from the previous version which causes to this issue. Will fix it in the next release even though it is too late.

from safeeyes.

pedrolb avatar pedrolb commented on August 22, 2024

Well at least it seems like an easy fix. I think everybody who enjoys safe eyes can understand this little problem. Thanks for the help and for this really usefull program.

from safeeyes.

Related Issues (20)

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.