Coder Social home page Coder Social logo

nicoulaj / cinnamon-applet-wireguard Goto Github PK

View Code? Open in Web Editor NEW
14.0 7.0 5.0 87 KB

A simple WireGuard systray applet for the Cinnamon desktop environment.

Home Page: https://cinnamon-spices.linuxmint.com/applets/view/311

License: GNU General Public License v3.0

Makefile 17.07% JavaScript 82.93%
wireguard wireguard-vpn cinnamon cinnamon-applet cinnamon-extension systray systray-icon

cinnamon-applet-wireguard's Introduction

cinnamon-applet-wireguard

A simple WireGuard systray applet for Cinnamon.

screenshot

Usage

git clone https://github.com/nicoulaj/cinnamon-applet-wireguard
cd cinnamon-applet-wireguard
make install

Issues

Please report issues here.

License

This software is released under the GNU General Public License v3.0, see LICENSE for details.

cinnamon-applet-wireguard's People

Contributors

bpierre avatar mainmachine avatar nicoulaj avatar tkrah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cinnamon-applet-wireguard's Issues

sudo error when using the plugin the first time

The first time I used this plugin i got this error:

error t=2019-08-12T12:22:18Z Failed toggling WireGuard interface

Error details:
sudo: no tty present and no askpass program specified

grafik

Could you please add a description in your github README.md on how to fix this error?

Replacing pkexec with sudo

If you get tired of entering the password requested by pkexec, you can use sudo.
Add in /etc/sudoers:
user ALL=NOPASSWD:/usr/bin/wg-quick

and replace in ~/.local/share/cinnamon/applets/[email protected]/applet.js:

$diff applet.js.bak applet.js 
124c123
<                 ['pkexec', 'wg-quick', enable ? 'up' : 'down', iface],
---
>                 ['sudo', 'wg-quick', enable ? 'up' : 'down', iface],

Icon is not shown.

Cinnamon version: 4.2.3
OS: Linux Mint 19.2
Plugin version: 1.0.1

The Icon of the plugin is not shown:
bla mp4

Not showing connections, icon is present

Hi, in my case I have installed the "miniapplet" using both "git clone" from todays version and using the wizard that linux mint debian edition 5 has.

The problem is that I see the icon but is not detecting the wireguard connnections.

I have managed to create a pair of icons with scripts nmcli connection up 'peer5' and nmcli connection down 'peer5'

Pressing the icon does nothing:

imagen

imagen

More data for your info:

imagen

System: Kernel: 5.10.0-13-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 5.2.7
tk: GTK 3.24.24 wm: muffin dm: LightDM Distro: LMDE 5 Elsie base: Debian 11.2 bullseye

I had to install something related with python prior that asked me when doing command install for installation from git but still doesnt work

In case it helps you.

Thanks.

Can't list more than 30~ configs at a time

Just an issue i'd imagine not many people would run into, but for those of us who use this as well as mullvad which can have about 175~ different wireguard servers using this applet is a bit limited in the fact it can only show about 30~ configs at a time and as far as i can tell, cant scroll.

It would be nice if scrolling capabilties were to be added for those of us with many different wireguard configs.

another suggestion would be to show folders in /etc/wireguard/ and be able to expand folders and select from there.

Failed toggling Wireguard interface

I receive this error when toggling a wireguard configuration:

Screenshot from 2023-08-31 11-03-07

If I run the command manually I get RTNETLINK answers: Operation not permitted

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.