Package Details: networkmanager-dmenu-git r58.2770261-1

Git Clone URL: https://aur.archlinux.org/networkmanager-dmenu-git.git (read-only)
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: 22
Popularity: 0.049818
First Submitted: 2014-05-18 03:45
Last Updated: 2017-02-16 19:25

Latest Comments

firecat53 commented on 2016-09-15 00:18

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

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

Should be fixed now with the latest commit.

Scott

firecat53 commented on 2016-08-28 19:29

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

@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

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

@Rasi: Fixed, thanks!

Rasi commented on 2015-02-01 07:37

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

firecat53 commented on 2014-08-18 16:22

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

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?

All comments