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: 38
Popularity: 0.32
First Submitted: 2014-05-18 03:45
Last Updated: 2017-09-04 20:01

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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?

sekret commented on 2014-08-18 10:12

Great job, thanks!

sekret commented on 2014-08-18 10:12

Great!

firecat53 commented on 2014-08-17 03:52

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

firecat53 commented on 2014-08-15 17:08

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