The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How do I run i3status as root?

asked Nov 3 '12

joehillen gravatar image

updated Nov 3 '12

In the i3status config it says:

ethernet eth0 {  
    # if you use %speed, i3status requires root privileges  
    format_up = "E: %ip (%speed)"  
    format_down = "E: down"  
}

Also download speed is not shown. I assume that is related to not being root.

How do I run it as root? I'm on Ubuntu 12.04.

1 answer

Sort by » oldest newest most voted
0

answered Nov 3 '12

Else gravatar image

Please read man 1 i3status:

Getting the link speed requires the capnetadmin capability. Set it using setcap capnetadmin=ep $(which i3status).

Comments

Ah, I think I misunderstood what it is supposed to do. I thought it would show the upload/download rate, not the max speed of the network device. Not that useful. Thanks though.

joehillen gravatar imagejoehillen (Nov 3 '12)edit

Question Tools

Stats

Asked: Nov 3 '12

Seen: 910 times

Last updated: Nov 03 '12