Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
icewm
icewm-use-iproute2-ss-instead-of-netstat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icewm-use-iproute2-ss-instead-of-netstat.patch of Package icewm
diff --git a/src/default.h b/src/default.h index a5e9a52..acc671a 100644 --- a/src/default.h +++ b/src/default.h @@ -200,8 +200,12 @@ XIV(int, taskBarNetDelay, 500) XSV(const char *, cpuCommand, "xterm -name top -title Process\\ Status -e top") XSV(const char *, cpuClassHint, "top.XTerm") XIV(bool, cpuCombine, true) -XSV(const char *, netCommand, "xterm -name netstat -title 'Network Status' -e netstat -c") XSV(const char *, netClassHint, "netstat.XTerm") +#ifdef __linux__ +XSV(const char *, netCommand, "xterm -name netstat -title 'Network Status' -e sh -c 'which ss > /dev/null && watch -t ss -putsw || netstat -c'") +#else +XSV(const char *, netCommand, "xterm -name netstat -title 'Network Status' -e netstat -c") +#endif XSV(const char *, netDevice, "eth0 wlan0") XSV(const char *, addressBarCommand, 0) #ifdef CONFIG_I18N
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor