Closed LiHRaM closed 7 years ago
Hey. I've got this simple script I want to run with rofi.
#!/usr/bin/python3 from rofi import Rofi r = Rofi(4) options = ['Shutdown', 'Suspend', 'Hibernate', 'Lock'] index, key = r.select("Desired action?", options)
However, whenever I try to run the program, I just get the following error: Failed to set locale.
Failed to set locale.
If you type up the same code, can you reproduce? In fact, I can't run any of the rofi commands which raise a menu.
Sorry guys. This was a VSCode terminal issue. I tried running it in my Xterm and it worked fine.
Hey. I've got this simple script I want to run with rofi.
However, whenever I try to run the program, I just get the following error:
Failed to set locale.
If you type up the same code, can you reproduce? In fact, I can't run any of the rofi commands which raise a menu.