Package Details: networkmanager-dmenu-git r191.0230e2d-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: 55
Popularity: 0.061978
First Submitted: 2014-05-18 03:45 (UTC)
Last Updated: 2023-12-17 03:06 (UTC)

Dependencies (11)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3

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?