Comments (9)
I just reproduced your problem.
For now, replace the call status_command in your i3 config with:
status_command SCRIPT_DIR=/usr/libexec/i3blocks i3blocks
For future reference, error 127 from any Korn compatible shell is a command not found error.
This is an upstream issue.
Regression: 4939ed2
@vivien, I don't know how you want to handle this but the default config has that variable in it.
- Do you want to remove it from the default config and replace it with
/usr/libexec/i3blocks/
? - Set that as a default variable for config execution in the C source?
- Allow environment variables to be set in the config?
- Or just add it to the header documentation of the included config that this is a thing?
from i3blocks.
You can also debug this with using the -vvv file (increases log level). Now sure how much it'll help in this case, though.
from i3blocks.
Thanks @Nycroth , that solved the problem, I didn't know anything about that kind of error codes, one more thing to look further =D
from i3blocks.
@Nycroth, I don't think there is an issue with the default config. If you use make install
, the $SCRIPT_DIR
variable is replaced by the wanted libexec dir. Otherwise, calling i3blocks with a SCRIPT_DIR
value is OK, as you correctly pointed out.
@lsmag for information, how did you install i3blocks on your Arch?
from i3blocks.
It seems like I have something similar, but the exit code is 126..
BTW, I have zsh installed and used
from i3blocks.
What about you @mrcaaattt, how did you install i3blocks? You may want to check your config and check error debug messages with i3blocks -vv >/dev/null
from i3blocks.
It seems that it wasn't set executable. Just had to chmod +x it. Weird, the first time I installed it, it was okay, but since I reinstalled my system, I needed to chmod it first. Thanks though.
from i3blocks.
I close the issue since it is solved. We can continue discussion on installation tweaks though.
from i3blocks.
If you are seeing error 127 with python blocks only, make sure you downloaded the Block's requirements for your system's python environment.
Using anaconda's python and running i3blocks from terminal will show the scripts working. But text won't be shown on the bar.
from i3blocks.
Related Issues (20)
- [Feature Request] Add ticker support
- I'm having trouble getting fixed-width strings to work on i3blocks. HOT 1
- Block's character will turn into "[" character after clicked and turn normal after sway is reloaded. HOT 1
- Can't use the config variable when running the script using i3-msg -q exec myscript HOT 4
- Simple way to display title of focused window in i3blocks HOT 2
- i3blocks does not show anything except datetime HOT 3
- dmenu hang when called from i3blocks with -fn option
- Battery regex in example doesn't handle 100% HOT 2
- Trouble with setting a label with emoji via the json format HOT 1
- Any script with a 'for' loop doesn't produce any output
- How to get back monochrome icons / emojis? Weird font issue!
- Question: is running a secondary command when clicking a button with an interval possible? HOT 1
- Change the color of borders from within a script
- If I launch a graphical program from a block and restart i3, the program dies even if disowned. HOT 2
- malformated line again HOT 1
- i3block config not work
- Interval should align with actual time. HOT 1
- Example config has incorrect path
- Why are SIGUSR 1 and 2 deprecated?
- FR: multiple configuration files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3blocks.