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 2012-11-03 03:44:03 +0000

joehillen gravatar image

updated 2012-11-03 03:44:56 +0000

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-11-03 03:58:58 +0000

Else gravatar image

Please read man 1 i3status:

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

edit flag offensive delete link more

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 ( 2012-11-03 06:34:12 +0000 )edit

Question Tools

Stats

Asked: 2012-11-03 03:44:03 +0000

Seen: 910 times

Last updated: Nov 03 '12