Package Details: netctl-tray 0.3.0-1

Git Clone URL: (read-only, click to copy)
Package Base: netctl-tray
Description: A lightweight netctl tray app with notifications
Upstream URL:
Keywords: netctl notifications qt5 rust tray
Licenses: MIT
Conflicts: netctl-tray-auto
Submitter: Ponas
Maintainer: DanielcoderX
Last Packager: DanielcoderX
Votes: 4
Popularity: 0.000000
First Submitted: 2019-09-21 20:39 (UTC)
Last Updated: 2023-07-26 14:27 (UTC)

Required by (0)

Sources (1)

Latest Comments

schrmh commented on 2023-03-17 01:12 (UTC)

error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
   --> /build/.cargo/registry/src/
176 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: source type: `SocketAddrV4` (48 bits)
    = note: target type: `sockaddr_in` (128 bits)

For more information about this error, try `rustc --explain E0512`.
error: could not compile `socket2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().

darnrain commented on 2020-07-04 16:58 (UTC) (edited on 2020-07-04 18:19 (UTC) by darnrain)

Just a heads up I was getting error message "Can't update tray state: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }"

I used sudo wifi-menu to make my profiles, netctl-tray did not have access to the profiles.

sudo chmod 644 /etc/netctl/*

Fixed the issue

make sure you also add you self to the network and wheel groups.

sudo usermod -a -G wheel,network <user>

Ponas commented on 2020-01-06 14:12 (UTC)

Done, and thanks!

oscillope commented on 2020-01-05 20:38 (UTC)

I think cmake should be added as a make depencency, as the package fails to build without it.

thejazzroot commented on 2019-09-22 11:26 (UTC)

Great job! I've got some comments on PKGBUILD though.

First and foremost, when using install, please use mode (permissions) explicitly. Files such as .svg should not have mode 755. Refer to install(1) manpage.

Second of all, please refer to Arch package guidelines for more information on directories. /opt should contain "large, self-contained packages". In practice, it means that it contains programs packaged the Windows way, like in Program Files. Your package is specific to Linux, so please follow Arch guidelines to avoid confusion.

There is also a recommendation in Arch package guidelines for Rust to build a package with a --locked flag.

Try to find a way not to use sudo. I cannot find any info on that right now, but I believe, that programs with root privileges should be launched and managed by systemd or other init system.