Package Details: netctltray 0.2-1

Git Clone URL: https://aur.archlinux.org/netctltray.git (read-only)
Package Base: netctltray
Description: Tray icon to switch netctl profiles.
Upstream URL: https://github.com/dopefishh/netctl-tray
Licenses: custom
Submitter: dopefishh
Maintainer: dopefishh
Last Packager: dopefishh
Votes: 2
Popularity: 0.000000
First Submitted: 2015-02-12 12:29
Last Updated: 2015-06-13 07:11

Latest Comments

dopefishh commented on 2015-12-05 09:29

MegaLoler. The user that runs netctltray should have reading rights on the configuration files. If the file is created by wifi-menu it is owned by root:root and -rw-------. To fix this you can run chown user:user on the configuration files where user is the username of the user running netctltray.

MegaLoler commented on 2015-12-05 09:18

Traceback (most recent call last):
File "/usr/bin/netctltray", line 153, in <module>
main()
File "/usr/bin/netctltray", line 146, in main
icon = NetctlTray()
File "/usr/bin/netctltray", line 62, in __init__
self.updateMenu()
File "/usr/bin/netctltray", line 69, in updateMenu
profs = sorted(netctl.get_profiles(), key=lambda x: x['interface'])
File "/opt/netctltray/netctl.py", line 46, in get_profiles
with open(cp['file'], 'r') as f:
PermissionError: [Errno 13] Permission denied: '/etc/netctl/wlp3s0-HOME-73B9-2.4'

dopefishh commented on 2015-03-01 20:31

Aw, forgot to list pyside as a dependency. Will fix this tomorrow. To fix the problem now you can install python-pyside at it should be fixed.

Best,
Mart

Mex commented on 2015-02-28 20:58

Traceback (most recent call last):
File "/usr/bin/netctltray", line 3, in <module>
from PySide import QtGui
ImportError: No module named 'PySide'

cokomoko commented on 2015-02-14 19:04

This problem is solved,thanks.

dopefishh commented on 2015-02-13 17:59

SVG resources are searched for in /opt/netctltray when the program is runs from /usr/bin. Otherwise the program looks in the current directory. I have no clue why the program is linked to /usr/sbin too. I fixed the problem with the new release that I will upload in a minute.

I advise you not to run the program with super user rights, only the netctl commands are prefixed(by default with 'sudo -A' but this can be set via the -S flag.

Thanks for the feedback!!

cokomoko commented on 2015-02-13 15:54

icon.svg and check.svg problem:

sudo netctltray
[sudo] password for cokomoko:
Cannot open file '/usr/sbin/check.svg', because: No such file or directory
Cannot open file '/usr/sbin/check.svg', because: No such file or directory
Cannot open file '/usr/sbin/icon.svg', because: No such file or directory
Cannot open file '/usr/sbin/icon.svg', because: No such file or directory
Traceback (most recent call last):
File "/usr/sbin/netctltray", line 45, in sig_triggered
self.tray.show_status()
File "/usr/sbin/netctltray", line 84, in show_status
status = list(netctl.get_statussus())
File "/opt/netctltray/netctl.py", line 72, in get_statussus
ip = ips['inet6'] if prefer_ipv6 and 'inet6' in ips else ips['inet']
KeyError: 'inet'

cokomoko commented on 2015-02-13 15:53

sudo netctltray
[sudo] password for cokomoko:
Cannot open file '/usr/sbin/check.svg', because: No such file or directory
Cannot open file '/usr/sbin/check.svg', because: No such file or directory
Cannot open file '/usr/sbin/icon.svg', because: No such file or directory
Cannot open file '/usr/sbin/icon.svg', because: No such file or directory
Traceback (most recent call last):
File "/usr/sbin/netctltray", line 45, in sig_triggered
self.tray.show_status()
File "/usr/sbin/netctltray", line 84, in show_status
status = list(netctl.get_statussus())
File "/opt/netctltray/netctl.py", line 72, in get_statussus
ip = ips['inet6'] if prefer_ipv6 and 'inet6' in ips else ips['inet']
KeyError: 'inet'