Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: information is not always displayed #2011

Open
allorder opened this issue Aug 9, 2024 · 5 comments
Open

[Bug]: information is not always displayed #2011

allorder opened this issue Aug 9, 2024 · 5 comments
Labels
bug Bug report or bug fix PR need details Issue that's waiting for more details from reporter priority: low A low priority issue or PR text Issue or PR related to `conky.text` variables

Comments

@allorder
Copy link

allorder commented Aug 9, 2024

What happened?

My entry for DE only shows up if I run conky from the terminal, if I use Xfce application autostart the field is empty, any idea? I tried with sleep option, nothing work except running conky in terminal.. You will need inxi package to test.

Version

1.18.3-1

Which OS/distro are you seeing the problem on?

Debian

Conky config

${color1}${goto 35}DE: ${color} ${execi 86400 inxi -S | grep -oP 'Desktop: \K.*'} ${execi 86400 inxi -S | grep -oP 'v: \K\d+(\.\d+)+'}

Stack trace

No response

Relevant log output

No response

@allorder allorder added bug Bug report or bug fix PR triage Issue that hasn't been verified labels Aug 9, 2024
@babiulep
Copy link

Hi,

Just some questions/ideas:

  1. Do you see the DE part, because that has nothing to do with the executable 'inxi'? Perhaps something 'odd' with the colors?
  2. You could write the complete output to a text-file (at start of computer/log-in) and read that file with conky i.e.:
    ${texecpi 86400 cat /tmp/my_inxi.txt} (the info will not change until you upgrade your DE or Debian :-)
  3. Perhaps try the complete path to 'inxi' (i.e. /usr/bin/inxi, check via 'which inxi')
  4. Perhaps something goes wrong with the quotes: try to run conky from the CLI and check for clues/errors...

Good luck! Hope you can sort it out!

@allorder
Copy link
Author

allorder commented Aug 12, 2024

Do you see the DE part, because that has nothing to do with the executable 'inxi'? Perhaps something 'odd' with the colors?

Yes

Perhaps try the complete path to 'inxi' (i.e. /usr/bin/inxi, check via 'which inxi')

I tried, it doesn't work

Perhaps something goes wrong with the quotes: try to run conky from the CLI and check for clues/errors...

No error, if i run conky from the CLI I get the output of inxi

@babiulep
Copy link

Do you have any other execi entries in your conky? And do they show up?
Perhaps it's a Xfce autostart thingy... Check that file and perhaps check Xfce forums?

P.S.: I start conky via a keyboard shortcut

@allorder
Copy link
Author

Do you have any other execi entries in your conky? And do they show up? Perhaps it's a Xfce autostart thingy... Check that file and perhaps check Xfce forums?

P.S.: I start conky via a keyboard shortcut

Yes, the others work fine

@Caellian Caellian added priority: low A low priority issue or PR text Issue or PR related to `conky.text` variables and removed triage Issue that hasn't been verified labels Sep 11, 2024
@Caellian
Copy link
Collaborator

Caellian commented Sep 11, 2024

Try making an autostart script (separate from conky) with:

inxi -S > $HOME/testing.txt

and paste the results from testing file. Maybe specify $HOME manually.

Maybe the output is different and this will help us tell whether it's an issue with conky or how inxi works in autostart environment.

@Caellian Caellian added the need details Issue that's waiting for more details from reporter label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR need details Issue that's waiting for more details from reporter priority: low A low priority issue or PR text Issue or PR related to `conky.text` variables
Projects
None yet
Development

No branches or pull requests

3 participants