LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 09-25-2023, 06:41 AM   #1
MintVictim
LQ Newbie
 
Registered: Sep 2023
Posts: 1

Rep: Reputation: 0
Unhappy Why Conky disappears?


Hello, I installed Linux Mint MATE 21.1 on an old laptop.

Among many issues, yesterday I came across this problem with Conky I'll explain here, hoping any of you extraordinaire Linux gurus can help fix or troubleshoot.

When the laptop reboots or starts, after a while the taskbar and Conky appear normally, Conky appears on the right, with some cutomizations like colors I made, everything seems to be working well then.

Then I have to wait several seconds until the (only 4!) desktop icons finally appear but 1 second before they appear, Conky disappears.

When I reboot or log off, Conky briefly appears again, showing it was running all along, hidden by something or some layer on top that is invisible to me. Not sure what it is or which log would show more details about this.

I tried several tweaks, changes but nothing fixed this problem so far. Can someone please help?

After this text, I'll post a few more details about my current Conky configuration.

This is a part of my .conkyrc config file. I tried own_window_type desktop but in that case, when I click on the desktop, Conky disappears, so I found override seemed to work better.

Code:
double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 05
gap_y 0
minimum_size 190 325
maximum_width 325
own_window yes
own_window_type override
own_window_transparent no
own_window_hints sticky,skip_taskbar
border_inner_margin 0
border_outer_margin 0
alignment tr
This is the script executed during startup, I tested and confirmed it's being executed. I tried many changes, like sleep for 5, 10, 20, 25, 30 seconds, nothing worked. I think 20 or 25 work fine, because with those values Conky shows properly at startup, the issue is something else, some apparently invisible layer that appears on top and makes Conky disappear a few instants before desktop icons appear.

Code:
#!/bin/sh
#sleep 20

# Kill Conky If Running
test -z "`pgrep conky`" || killall -9 conky

conky -p 25 -d -c /home/user/.conkyrc
 
Old 10-04-2023, 10:01 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
Code:
#instead of this:
test -z "`pgrep conky`" || killall -9 conky
# you can use simply:
pkill conky # (probably works without -9)
Otherwise would be nice to see the logs or console output of conky or other details, hard to say anything.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] JWM+xcompmgr+conky anypaper background disappears walker Linux - Desktop 0 12-09-2019 07:44 PM
conky question: passing conky-variable to shell-script zlin50 Linux - Software 2 12-29-2012 06:47 PM
Conky disappears unexpectedly from desktop glore2002 Debian 2 11-04-2009 11:46 AM
Conky disappears after I click anywhere else on desktop (HELP needed) mlynch1985 Linux - Software 6 05-17-2009 10:08 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration