karas84 / viberwrapper-indicator Goto Github PK
View Code? Open in Web Editor NEWWrapper Indicator for Viber Icon for Ubuntu 14.04
License: GNU General Public License v2.0
Wrapper Indicator for Viber Icon for Ubuntu 14.04
License: GNU General Public License v2.0
It works, it would be cool to provide .deb package.
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'
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
I've update the system recently and notice a bug. When I run viberwrapper-indicator a stock system tray icon is still appear in a top left corner.
http://i.imgur.com/O1rON0v.jpg
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.
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?
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!
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
I have installed viberwrapper-indicator, but the main viber icon doesn't disappear. So I have two icons.
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.
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
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 !!
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.
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.
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.
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"
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:
I cannot perform Ctrl + A, Ctrl + V, etc in a new message box. And icon is not changing when new messages are available.
Original viber tray icon is displaying new messages red point.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.