Giter Site home page Giter Site logo

viberwrapper-indicator's People

Contributors

karas84 avatar prokher avatar

Stargazers

 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

viberwrapper-indicator's Issues

Make the viber icon themable

Hello,
i would like to ask you to make the viber icon themable by using the defaults folders for icons so we can change it so easily,

Thank you !!

Viberwrapper indicator is not working

i'm having this issue runing viberwrapper-indicator using elementary OS Freya 0.3 Stable version with the latest version of viberwrapper-indicator and Viber for Linux

Using SYSTEM icons
Using OLD detection method (INTERNAL)
Launching Viber (/opt/viber/Viber) ... OK
Exiting because of exception 'WindowIsNone: Window is None'

Cannot start on Ubuntu 14.04

Hi!

I've tried searching online, but nobody seems to get this message.

The viberwrapper-indicator won't start with this terminal output:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in bootstrap_inner
self.run()
File "/usr/bin/viberwrapper-indicator", line 330, in run
sp_viber = subprocess.Popen([self.viber_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init

errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

<class 'Xlib.protocol.request.QueryExtension'>

Any ideas? Thank you!
Kristijan

Lock to launcher

This tool works like a charm, thanks very much!

I'm new to Linux (desktop), can you provide a way to attach this to my launcher?

Exception in thread Thread=2 on Ubuntu 14.04

Hello,

I was using viberwrapper-indicator just fine but from the last week, it throws this exception and nothing else appears (it doesn't terminate unless I send SIGINT). This is the output from the terminal:

<class 'Xlib.protocol.request.QueryExtension'>
Using NEW detection method
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/bin/viberwrapper-indicator", line 462, in find_viber
    self.viber_window = XTools.Instance().get_window_by_class_name('ViberPC')
  File "/usr/bin/viberwrapper-indicator", line 265, in get_window_by_class_name
    if win.get_wm_class() is not None:
  File "/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py", line 660, in get_wm_class
    d = self.get_full_property(Xatom.WM_CLASS, Xatom.STRING)
  File "/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py", line 452, in get_full_property
    prop = self.get_property(property, type, 0, sizehint)
  File "/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py", line 441, in get_property
    long_length = length)
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py", line 1478, in __init__
    self.reply()
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py", line 1498, in reply
    raise self._error
BadWindow: <class 'Xlib.error.BadWindow'>: code = 3, resource_id = Xlib.xobject.resource.Resource(0x06c00001), sequence_number = 37740, major_opcode = 20, minor_opcode = 0

Add "Start Minimized" feature?

Thanks for this handy wrapper.
Could you perhaps also add a functionality to close the Viber window which opens automatically at startup?
I achieve this by adding the bash script below to my startup commands:

sleep 10
viber_window=wmctrl -l | grep "Viber " | awk -F'N/A ' '{print $2}'
wmctrl -c "$viber_window"

Viberwrapper not work and crach viber app in KDE5

roman@roman-N550JV:$ viberwrapper-indicator
Using SYSTEM icons
Using OLD detection method (INTERNAL)
Launching Viber (/opt/viber/Viber) ... OK
Exiting because of exception 'WindowIsNone: Window is None'
roman@roman-N550JV:
$

Dont work

Clean just installed 14.04.2 LTS (updated and upgraded).

$viberwrapper-indicator
Using SYSTEM icons
Using NEW detection method
Launching Viber (/opt/viber/Viber) ... OK

But viber icon still in left corner.

Update the script to python3

Well ,almost every distro is passed to python3 instead of python2. I think converting your script to python3 might help you fix some issues ;)
I can help with that if you want to.

"--close-chat" option fails

I've just tried switching from PPA to git version, and I've got chat window open.
When I tried starting from terminal to see any error messages, all I've got was a dialog box asking to close terminal window.

Immediately exits Viber upon start on 15.04

After latest updates to Ubuntu 15.04 (worked until today) your Viber Indicator for Ubuntu stopped working, you click on the icon, Viber appears then immediately closes, regular Viber works without issues. I installed from Webupd8 repository and this is the version I have:

viberwrapper-indicator 0.1+git20141205webupd80 amd64 Wrapper Indicator for Viber Icon for Ubuntu

I understand 15.04 is still in development but I wanted to report this nevertheless.

Viber needs to be activated prior to running viberwrapper-indicator

The program is working perfectly if Viber is already activated. However, if it is not and is run through viberwrapper-indicator, it's not possible to activate the account because Viber always self-terminates within less than 10 seconds.

It seems to be mandatory that Viber is first run directly, activated, terminated, and THEN run via viberwrapper-indicator. It's only a minor issue and if it cannot be fixed, it would be good to mention it in the readme.

System: Ubuntu 14.04

High quality AppIndicator icon

It would be nice to replace the current notification area icon with a high quality one (the current icon looks a bit blurry).

Otherwise this app is awesome, thanks a lot!

22 May 2015 - Viber update ruined the indicator

Hello.

There was a viber update today and unfortunately after update and a restart, the annoying icon is on the top left again...

They must have changed something and rendered the wrapper useless.

Would you be so kind as to take a look into this? I would greatly appreciate it.

Thanks in advance.

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.