Git Product home page Git Product logo

Comments (8)

stapelberg avatar stapelberg commented on August 11, 2024

Your config file might be broken. Can you please provide the following files?

  • ~/.i3status.conf
  • ~/.config/i3status/config
  • $XDG_CONFIG_HOME/i3status/config
  • /etc/i3status.conf

from i3status.

yanboyang713 avatar yanboyang713 commented on August 11, 2024

this is my config file http://pastebin.com/0L760NeZ

from i3status.

stapelberg avatar stapelberg commented on August 11, 2024

That file works for me. Can you run strace -f -o /tmp/strace.log -s 2048 -v -tt i3status, then provide the resulting /tmp/strace.log?

from i3status.

yanboyang713 avatar yanboyang713 commented on August 11, 2024

This is strace.log
http://pastebin.com/T90jsS0w

from i3status.

stapelberg avatar stapelberg commented on August 11, 2024

From the log:

10673 11:05:23.133368 open("/home/yanboyang/.config/i3status/config", O_RDONLY) = 3
10673 11:05:23.133433 ioctl(3, TCGETS, 0x7ffe082ce2d0) = -1 ENOTTY (Inappropriate ioctl for device)
10673 11:05:23.133496 fstat(3, {st_dev=makedev(8, 3), st_ino=1054357, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=1000, st_gid=1000, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/11/14-00:47:37, st_mtime=2016/01/17-10:01:12, st_ctime=2016/01/17-10:01:12}) = 0
10673 11:05:23.133563 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6b95e8e000
10673 11:05:23.133610 read(3, 0xe386d0, 8192) = -1 EISDIR (Is a directory)

So, /home/yanboyang/.config/i3status/config is expected to be a config file, but on your machine, it seems to be a directory. Once you address that, i3status should work.

from i3status.

yanboyang713 avatar yanboyang713 commented on August 11, 2024

Hi stapelberg, Thank you so much. config is file not directory, right? Can I change /home/yanboyang/.config/i3status/config to point a file?

from i3status.

stapelberg avatar stapelberg commented on August 11, 2024

I don’t quite understand the question. The intended state is that cat ~/.config/i3status/config will print a configuration file, not the error message cat: config: Is a directory.

from i3status.

yanboyang713 avatar yanboyang713 commented on August 11, 2024

ok, understand. Thanks

from i3status.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.