Network applet: show only the primary connection, or everything that is connected?
Maintainer thường phản hồi trong vòng 8 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, linux
Hướng nghiên cứu
Read the network applet implementation and inspect the running panel behavior described in the issue. The report asks maintainers to choose between three icon designs and specify how VPN state should appear before fixes are sent; there is no implementation task or completion criterion until that decision is made.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The network applet's panel icon shows one connection: NetworkManager's primary connection, the one with the default route. With a wired link and Wi-Fi both up, it shows the wired icon and nothing for the Wi-Fi. A VPN changes that icon. Since #12142 (for #5527) a VPN adds a padlock to the Wi-Fi bars, but a VPN that takes over the default route (a full VPN) replaces the bars with the VPN icon, and on a wired link any VPN replaces the wired icon.
Before I send fixes:
- Should the panel show only the primary connection, or everything that is connected?
- How should a VPN show?
Three ways, in screenshots of the running applet:
- A: as now. The padlock on the bars means a VPN is up.
- B: as now, but a full VPN keeps the Wi-Fi bars, with the same padlock a split VPN gets, as #3671 and #6391 asked.
- C: one icon for each kind of connection that is up: wired, Wi-Fi and VPN, so with all three up the panel shows three icons. Two or more of one kind add a count. A line over an icon marks the connection with the default route, so a full VPN looks different from a split one. The padlock on the bars means the Wi-Fi network is encrypted, as in the menu, not that a VPN is up. This is what I run.
In A and B a WireGuard full tunnel normally shows like a split VPN, because by default NetworkManager keeps the default route on the Wi-Fi or wired link. C still puts the line over the VPN.
To see the full-VPN case without Wi-Fi hardware or a VPN server
Simulated Wi-Fi, then a WireGuard tunnel to a peer that does not exist, with its default route in the main table:
sudo apt install -y hostapd wireguard-tools
sudo modprobe mac80211_hwsim radios=2
sudo nmcli device set wlan0 managed no
sleep 2
printf '%s\n' interface=wlan0 driver=nl80211 hw_mode=g channel=1 ssid=hwsim wpa=2 \
wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP wpa_passphrase=hwsim-pass > /tmp/ap.conf
sudo hostapd -B /tmp/ap.conf
# else NM's connectivity check adds 20000 to the metric of both test links (no internet)
sudo busctl set-property org.freedesktop.NetworkManager /org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager ConnectivityCheckEnabled b false
nmcli connection add type wifi ifname wlan1 con-name hwsim ssid hwsim wifi-sec.key-mgmt wpa-psk \
wifi-sec.psk hwsim-pass ipv4.method manual ipv4.addresses 10.99.0.2/24 \
ipv4.gateway 10.99.0.1 ipv4.route-metric 50
until nmcli -g SSID device wifi list ifname wlan1 | grep -qx hwsim; do sleep 2; done
nmcli connection up hwsim
printf '[Interface]\nPrivateKey=%s\nAddress=10.98.0.2/32\n[Peer]\nPublicKey=%s\nAllowedIPs=0.0.0.0/0\nEndpoint=10.99.0.1:51820\n' \
"$(wg genkey)" "$(wg genkey | wg pubkey)" > /tmp/wgfull.conf
nmcli connection import type wireguard file /tmp/wgfull.conf
nmcli connection modify wgfull wireguard.ip4-auto-default-route no ipv4.route-metric 10
nmcli connection up wgfull
On master the panel then shows the VPN icon instead of the bars.
Taken on Linux Mint 22.3 (Cinnamon 6.6.9) with master's network applet (A) and my changes to it (B, C), simulated Wi-Fi (mac80211_hwsim) and WireGuard.
(Drafted with help from Claude Opus 5.5.)
- Ngôn ngữ chính
- JavaScript
- Star
- 5.7k
- Fork
- 941
- Merge trung bình
- 6 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/cinnamon
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 8 ngày
-
BUG
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Sound applet: seek bar jumps back after seeking when player resends metadata (e.g. mpDris2/MPD)Đang mởBUG
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Menu applet omits descriptions from search-provider resultsCó thể đã có người làm @ah682 đã nhận 9 ngày trước. Đang mởBUG
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
linuxmint/cinnamon#14104 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
-
xapp-status applet: status icon labels are ellipsized to "..." when the panel zone is a fraction of a pixel shortCó thể làm lại được @Priyeshshrivastav đã nhận 15 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
linuxmint/cinnamon#14096 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
Tất cả issue của linuxmint/cinnamon
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
needs discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openfga/openfga.dev#1436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add Aurex BrowserĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
ImranR98/apps.obtainium.imranr.dev#2018 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4416 ·
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày