Package Details: networkmanager-dmenu-git r153.da15351-1

Git Clone URL: https://aur.archlinux.org/networkmanager-dmenu-git.git (read-only, click to copy)
Package Base: networkmanager-dmenu-git
Description: Control NetworkManager via dmenu
Upstream URL: https://github.com/firecat53/networkmanager-dmenu
Licenses: MIT
Conflicts: networkmanager-dmenu
Provides: networkmanager-dmenu
Submitter: firecat53
Maintainer: firecat53
Last Packager: firecat53
Votes: 50
Popularity: 0.20
First Submitted: 2014-05-18 03:45 (UTC)
Last Updated: 2021-12-09 17:01 (UTC)

Latest Comments

firecat53 commented on 2021-12-09 17:03 (UTC)

@BachoSeven - fixed, thanks.

BachoSeven commented on 2021-12-09 14:35 (UTC)

README.rst needs to be updated to README.md in the PKGBUILD.

firecat53 commented on 2021-10-22 13:17 (UTC)

How are you building? I'm not seeing this issue using makepkg -s.

Arvedui commented on 2021-10-22 08:12 (UTC)

This currently fails to build when the default branch is not set to main e.g. in a clean chroot. Please add branch=main to the source url.

firecat53 commented on 2019-01-07 00:06 (UTC)

@abhixec You need to download the snapshot for the AUR package, which includes all the required files to build. Some AUR packages can be built with just the PKGBUILD, but definitely not all.

abhixec commented on 2019-01-07 00:00 (UTC)

Getting this error: ==> ERROR: install file (networkmanager-dmenu.install) does not exist or is not a regular file.

firecat53 commented on 2017-09-04 20:02 (UTC) (edited on 2017-09-04 20:02 (UTC) by firecat53)

@blueowl, good catch, thanks! Fixed now.

blueowl commented on 2017-09-04 09:47 (UTC)

There is a typo in install -Dm644 "$srcdir/$_pkgname/LICENSE.txt" "$pkgdir/usr/share/license/$pkgname/LICENSE" "license" directory should be "licenses" instead. That's the directory where all packages install their licenses.

firecat53 commented on 2017-05-21 00:33 (UTC)

@xnick I created a bug report for this on Github: https://github.com/firecat53/networkmanager-dmenu/issues/39 We can continue troubleshooting there. Thanks!

xnick commented on 2017-05-18 11:06 (UTC)

I came across this error today: Traceback (most recent call last): File "/usr/bin/networkmanager_dmenu", line 598, in <module> run() File "/usr/bin/networkmanager_dmenu", line 593, in run gsm_actions, other_actions) File "/usr/bin/networkmanager_dmenu", line 334, in get_selection inp_bytes = "\n".join([str(i) for i in inp]).encode(ENC) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 152: ordinal not in range(128) when trying to launch it. So it looks like it finds this character "â" somewhere and poops out. Obviously, it shouldn't be able to find this character anywhere in networkmanager's menus, so it should be somewhere that allows for other input (Access point names perhaps). And indeed, after disabling WiFi, it managed to launch just fine. Looking at nm_applet, I can't find â in any of the AP names, but maybe networkmanager handles this by showing a different character? (a for example).

firecat53 commented on 2016-09-15 00:18 (UTC)

Correct. When something is fixed in the source, you have to reinstall a source-based package. The AUR doesn't see changes to the source, only to the PKGBUILD. That's normal. So if you want the latest changes for any -git or -svn or -hg package you have to 'reinstall' it. Scott

Speranskiy commented on 2016-09-13 17:07 (UTC)

Is it correct that yaourt doesn't see update of the package with your fix? I needed yaourt -S networkmanager-dmenu-git to have it fixed.

firecat53 commented on 2016-08-29 20:12 (UTC)

Should be fixed now with the latest commit. Scott

firecat53 commented on 2016-08-28 19:29 (UTC)

Networkmanager 1.4.x breaks nmcli-dmenu. Issue here: https://github.com/firecat53/nmcli-dmenu/issues/20 For now either downgrade and be patient until I fix it, or send a patch :) Thanks, Scott

firecat53 commented on 2016-04-30 18:34 (UTC)

@gavsiu - It already defaults to a single line entry. I don't see this behavior on my side. With no config file at all, I just get a single dmenu line entry box. If you'd like to provide some more info about your particular environment, the Github issues page (https://github.com/firecat53/nmcli-dmenu/issues) would be a better place to continue the discussion. Thanks! Scott

gavsiu commented on 2016-04-30 17:15 (UTC)

Passphrase window defaults to full height of the screen. Can we shrink this to just 1 line?

firecat53 commented on 2015-02-01 14:34 (UTC)

@Rasi: Fixed, thanks!

Rasi commented on 2015-02-01 07:37 (UTC)

dmenu and rofi should be optional dependencies, since this script supports both now.

firecat53 commented on 2014-08-18 16:22 (UTC)

You just need to add the section header [editor]. Check the config.ini.example on the github page. You don't need both sections, but you need the header for the section you do use.

sekret commented on 2014-08-18 10:20 (UTC)

Great job, thanks! One question though: I use st as terminal, but nmcli_dmenu outputs this when I try to launch the connection manager with it $ nmcli_dmenu Traceback (most recent call last): File "/usr/bin/nmcli_dmenu", line 225, in launch_connection_editor Popen(["nm-connection-editor"]).communicate() File "/usr/lib/python3.4/subprocess.py", line 858, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.4/subprocess.py", line 1456, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'nm-connection-editor' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/nmcli_dmenu", line 301, in <module> run() File "/usr/bin/nmcli_dmenu", line 277, in run launch_connection_editor() File "/usr/bin/nmcli_dmenu", line 227, in launch_connection_editor Popen([terminal, "-e", "nmtui"]).communicate() File "/usr/lib/python3.4/subprocess.py", line 858, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.4/subprocess.py", line 1456, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'xterm' Seems like it looks for xterm. Installing xterm solves it, but I don't want xterm. So I create ~/.config/networkmanager-dmenu/config.ini and put terminal = "st" in it. But now nmcli_dmenu crashes with $ nmcli_dmenu Traceback (most recent call last): File "/usr/bin/nmcli_dmenu", line 301, in <module> run() File "/usr/bin/nmcli_dmenu", line 271, in run sel = get_selection(ssids, vpns, other) File "/usr/bin/nmcli_dmenu", line 168, in get_selection stdout=PIPE).communicate(input=inp_bytes)[0].decode() File "/usr/bin/nmcli_dmenu", line 35, in dmenu_cmd conf.read(expanduser("~/.config/networkmanager-dmenu/config.ini")) File "/usr/lib/python3.4/configparser.py", line 672, in read self._read(fp, filename) File "/usr/lib/python3.4/configparser.py", line 1058, in _read raise MissingSectionHeaderError(fpname, lineno, line) configparser.MissingSectionHeaderError: File contains no section headers. file: '/home/sekret/.config/networkmanager-dmenu/config.ini', line: 1 'terminal = "st"\n' I don't understand python, so I'm already lost at that point. What exactly do I have to put in this config.ini?

firecat53 commented on 2014-08-17 03:52 (UTC)

Updated with nmtui for connection editing if network-manager-applet not installed.

firecat53 commented on 2014-08-15 17:08 (UTC)

@sekret Good idea! I'll take a look at that in the next few days.

sekret commented on 2014-08-13 14:37 (UTC)

Hi, nice script! I have an idea: What if you don't make network-manager-applet optional, but use nmtui instead, which is already included in the networkmanager package? Or use nmtui as long as network-manager-applet isn't installed?