Where is Conky?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rustyp
Level 4
Level 4
Posts: 247
Joined: Sun Nov 02, 2014 1:45 pm

Where is Conky?

Post by rustyp »

Installed Conky using software manager no errors given look at desktop nothing, type "Conky" in the Start menu search thing nothing reboot nothing, go back to software manager and uninstall assume it uninstalls no errors given reinstall same thing cant find follow link from software manager https://github.com/brndnmtthws/conky can not find help there, no instructions.

Suggestions?

Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Before posting on this site I always verify I have the latest version of Linux Mint Cinnamon installed and run Update Manager.
Thanks.
kukamuumuka

Re: Where is Conky?

Post by kukamuumuka »

Via Terminal

Code: Select all

apt install conky conky-all
Add conky to the Startup Applications, and make or edit .conkyrc file in your $HOME directory. An example my .conkyrc

Code: Select all

# conky configuration

# set to yes if you want Conky to be forked in the background
background yes

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*


# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
#xftfont Terminus:size=8
xftfont Sans:size=10

# Text alpha when using Xft
xftalpha 0.2

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

#############################
# - Window specifications - #
#############################
own_window yes
own_window_class Conky
#own_window_type desktop
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 125 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 0

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 5

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no


# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes
#Note: doesn't work in conky 1.2 =(

#   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
#   mldonkey_port         Mldonkey port, 4001 default
#   mldonkey_login        Mldonkey login, default none
#   mldonkey_password     Mldonkey password, default none


# Possible variables to be used:
#
#      Variable         Arguments                  Description                

#     addr              (interface)   IP address for an interface
#     acpiacadapter                   ACPI ac adapter state.                   
#     acpifan                         ACPI fan state                           
#     acpitemp                        ACPI temperature.                        
#     adt746xcpu                      CPU temperature from therm_adt746x       
#     adt746xfan                      Fan speed from therm_adt746x             
#     alignr            (num)         Right-justify text, with space of N
#     alignc                          Align text to centre
#     battery           (num)         Remaining capasity in ACPI or APM        
#                     battery. ACPI battery number can be      
#                     given as argument (default is BAT0).     
#     buffers                         Amount of memory buffered                
#     cached                          Amount of memory cached                  
#     color             (color)       Change drawing color to color            
#     cpu                             CPU usage in percents                    
#     cpubar            (height)      Bar that shows CPU usage, height is      
#                     bar's height in pixels                 
#     cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
#                     CPU usage graph, with optional colours in hex,
#                     minus the #.
#     downspeed         net           Download speed in kilobytes              
#     downspeedf        net           Download speed in kilobytes with one     
#                     decimal                                  
#     downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
#                     Download speed graph, colours defined in
#                     hex, minus the #.
#     exec              shell command Executes a shell command and displays    
#                     the output in conky. warning: this      
#                     takes a lot more resources than other    
#                     variables. I'd recommend coding wanted   
#                     behaviour in C and posting a patch :-).  
#     execbar           shell command Same as exec, except if the first value
#                     return is a value between 0-100, it
#                     will use that number for a bar.
#                     The size for the bar is currently fixed,
#                     but that may change in the future.
#     execgraph         shell command Same as execbar, but graphs values
#     execi             interval, shell command
#                      Same as exec but with specific interval. 
#                     Interval can't be less than              
#                     update_interval in configuration.        
#    font          font        Specify a different font.  Only applies
#                    to one line.
#     fs_bar            (height), (fs)Bar that shows how much space is used on 
#                     a file system. height is the height in   
#                     pixels. fs is any file on that file      
#                     system.                                  
#     fs_free           (fs)          Free space on a file system available    
#                     for users.                               
#     fs_free_perc      (fs)          Free percentage of space on a file       
#                     system available for users.              
#     fs_size           (fs)          File system size                         
#     fs_used           (fs)          File system used space                   
#     hr                (height)      Horizontal line, height is the height in 
#                     pixels                                   
#     i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                     may be omitted if you have only one I2C  
#                     device. type is either in (or vol)       
#                     meaning voltage, fan meaning fan or
#                     temp/tempf (first in C, second in F)
#                     meaning temperature. n is number of the  
#                     sensor. See /sys/bus/i2c/devices/ on     
#                     your local computer.                     
#     if_running        (process)     if PROCESS is running, display
#                     everything if_running and the matching $endif
#     if_existing       (file)        if FILE exists, display everything between
#                     if_existing and the matching $endif
#     if_mounted        (mountpoint)  if MOUNTPOINT is mounted, display everything between
#                     if_mounted and the matching $endif
#     else                            Text to show if any of the above are not true
#     kernel                          Kernel version                          
#     linkstatus        (interface)   Get the link status for wireless connections
#     loadavg           (1), (2), (3) System load average, 1 is for past 1     
#                     minute, 2 for past 5 minutes and 3 for   
#                     past 15 minutes.                         
#     machine                         Machine, i686 for example                
#     mails                           Mail count in mail spool. You can use    
#                     program like fetchmail to get mails from 
#                     some server using your favourite         
#                     protocol. See also new_mails.            
#     mem                             Amount of memory in use                  
#     membar            (height)      Bar that shows amount of memory in use   
#     memmax                          Total amount of memory                   
#     memperc                         Percentage of memory in use
#     
#     metar_ob_time
#     metar_temp
#     metar_tempf                     Temp in F
#     metar_windchill
#     metar_dew_point                 There are a bunch of these
#     metar_rh                        and they are self-explanatory
#     metar_windspeed
#     metar_winddir
#     metar_swinddir
#     metar_cloud
#     metar_u2d_time
#     
#     ml_upload_counter               total session upload in mb
#     ml_download_counter             total session download in mb
#     ml_nshared_files                number of shared files
#     ml_shared_counter               total session shared in mb, buggy
#                     in some mldonkey versions
#     ml_tcp_upload_rate              tcp upload rate in kb/s
#     ml_tcp_download_rate            tcp download rate in kb/s
#     ml_udp_upload_rate              udp upload rate in kb/s
#     ml_udp_download_rate            udp download rate in kb/s
#     ml_ndownloaded_files            number of completed files
#     ml_ndownloading_files           number of downloading files
#     
#     mpd_artist            Artist in current MPD song
#                     (must be enabled at compile)
#     mpd_album            Album in current MPD song
#     mpd_bar           (height)      Bar of mpd's progress
#     mpd_bitrate                     Bitrate of current song
#     mpd_status                      Playing, stopped, et cetera.
#     mpd_title            Title of current MPD song
#     mpd_vol                MPD's volume
#     mpd_elapsed                     Song's elapsed time
#     mpd_length                      Song's length
#     mpd_percent                     Percent of song's progress
#     new_mails                       Unread mail count in mail spool.         
#     nodename                        Hostname                                 
#     outlinecolor      (color)       Change outline color                     
#     pre_exec          shell command Executes a shell command one time before 
#                     conky displays anything and puts output 
#                     as text.                                 
#     processes                       Total processes (sleeping and running)   
#     running_processes               Running processes (not sleeping),        
#                     requires Linux 2.6                       
#     shadecolor        (color)       Change shading color                     
#     stippled_hr       (space),      Stippled (dashed) horizontal line        
#             (height)        
#     swapbar           (height)      Bar that shows amount of swap in use     
#     swap                            Amount of swap in use                    
#     swapmax                         Total amount of swap                     
#     swapperc                        Percentage of swap in use                
#     sysname                         System name, Linux for example           
#     offset            pixels        Move text over by N pixels
#     tail              logfile, lines (interval)
#                     Displays last N lines of supplied text
#                     text file.  If interval is not supplied,
#                     Conky assumes 2x Conky's interval.
#                     Max of 30 lines.
#                     Max of 30 lines can be displayed.
#     time              (format)      Local time, see man strftime to get more 
#                     information about format                 
#     totaldown         net           Total download, overflows at 4 GB on     
#                     Linux with 32-bit arch and there doesn't 
#                     seem to be a way to know how many times  
#                     it has already done that before conky   
#                     has started.                            
#     top               type, num     This takes arguments in the form:
#                     top <name> <number>
#                     Basically, processes are ranked from 
#                     highest to lowest in terms of cpu
#                     usage, which is what <num> represents.
#                     The types are: "name", "pid", "cpu", and
#                     "mem".
#                     There can be a max of 10 processes listed.
#     top_mem           type, num     Same as top, except sorted by mem usage
#                     instead of cpu
#     totalup           net           Total upload, this one too, may overflow 
#     updates                         Number of updates (for debugging)        
#     upspeed           net           Upload speed in kilobytes                
#     upspeedf          net           Upload speed in kilobytes with one       
#                     decimal                                  
#     upspeedgraph      net (height),(width)  (gradient colour 1) (gradient colour 2)
#                     Upload speed graph, colours defined in
#                     hex, minus the #.
#     uptime                          Uptime                                   
#     uptime_short                    Uptime in a shorter format               
#     
#     seti_prog                       Seti@home current progress
#     seti_progbar      (height)      Seti@home current progress bar
#     seti_credit                     Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT

${color goldenrod}Linux Kernel: $kernel
${color goldenrod}CPU Details:  $machine, $freq(MHz)

${color}CPU History:  ${color darkgreen}${cpugraph 30,0 0000ff 00ff00}
${color}CPU Usage:${color magenta2} $cpu% ${cpubar 11,0}

${color}RAM Usage:${color green} $mem ($memperc%) ${membar 11,0}
${color}Available RAM:${color green} $memmax
${if_match "$battery" != ""} 
${color}ACPI Battery: ${color DeepSkyBlue}$battery_short ${battery_bar 11,0} 
${color}Remaining time: ${color DeepSkyBlue}$battery_time
$endif
$color$stippled_hr
$alignc${color}Processes:$color $processes  ${color grey}Running:$color $running_processes

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}

$color$stippled_hr
$alignc${color}System Uptime:${color DarkOrange1} $uptime
conkyrc.jpg
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Where is Conky?

Post by Wompoo »

Thanks for the instructions adminastrollaatior.

I also would like to try to install Conky.
However, I was unable to correctly employ the terminal instructions. I am not clear on just what entries are cut and pasted as either discrete entries, or full entries.
I will post my results, which might make my question clearer. Maybe I should go back to a basic thread explaining how to read terminal instructions from a post, and how to use them?
Anyway, here is the result:

jim@jim-System-Product-Name:~ > apt install conky conky-all
[sudo] password for jim:
Sorry, try again.
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaudclient2 libimlib2 liblua5.1-0 libxmmsclient6
Suggested packages:
apcupsd audacious moc mpd xmms2
The following NEW packages will be installed:
conky conky-all libaudclient2 libimlib2 liblua5.1-0 libxmmsclient6
0 to upgrade, 6 to newly install, 0 to remove and 25 not to upgrade.
Need to get 640 kB of archives.
After this operation, 2,575 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libaudclient2 amd64 3.4.3-1 [12.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main liblua5.1-0 amd64 5.1.5-5ubuntu0.1 [99.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libimlib2 amd64 1.4.6-2ubuntu0.1 [172 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/universe libxmmsclient6 amd64 0.8+dfsg-9 [60.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/universe conky-all amd64 1.9.0-4 [293 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/universe conky all 1.9.0-4 [3,284 B]
Fetched 640 kB in 7s (85.2 kB/s)
Selecting previously unselected package libaudclient2:amd64.
(Reading database ... 277119 files and directories currently installed.)
Preparing to unpack .../libaudclient2_3.4.3-1_amd64.deb ...
Unpacking libaudclient2:amd64 (3.4.3-1) ...
Selecting previously unselected package liblua5.1-0:amd64.
Preparing to unpack .../liblua5.1-0_5.1.5-5ubuntu0.1_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-5ubuntu0.1) ...
Selecting previously unselected package libimlib2.
Preparing to unpack .../libimlib2_1.4.6-2ubuntu0.1_amd64.deb ...
Unpacking libimlib2 (1.4.6-2ubuntu0.1) ...
Selecting previously unselected package libxmmsclient6.
Preparing to unpack .../libxmmsclient6_0.8+dfsg-9_amd64.deb ...
Unpacking libxmmsclient6 (0.8+dfsg-9) ...
Selecting previously unselected package conky-all.
Preparing to unpack .../conky-all_1.9.0-4_amd64.deb ...
Unpacking conky-all (1.9.0-4) ...
Selecting previously unselected package conky.
Preparing to unpack .../archives/conky_1.9.0-4_all.deb ...
Unpacking conky (1.9.0-4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libaudclient2:amd64 (3.4.3-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-5ubuntu0.1) ...
Setting up libimlib2 (1.4.6-2ubuntu0.1) ...
Setting up libxmmsclient6 (0.8+dfsg-9) ...
Setting up conky-all (1.9.0-4) ...
Setting up conky (1.9.0-4) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
jim@jim-System-Product-Name:~ > # conky configuration
jim@jim-System-Product-Name:~ > # set to yes if you want Conky to be forked in the background
jim@jim-System-Product-Name:~ > background yes
No command 'background' found, did you mean:
Command 'gbackground' from package 'gbackground' (universe)
background: command not found
jim@jim-System-Product-Name:~ > # Use Xft?
jim@jim-System-Product-Name:~ > use_xft yes
use_xft: command not found
jim@jim-System-Product-Name:~ >

I hope my question is clear. Can you explain what I have done wrong please?
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Where is Conky?

Post by pdc_2 »

seems to me you are trying to do this in a terminal;

I think adminst* was advising that one should edit a text file: it is a "hidden" file I think as it starts with the full stop; if it is in your home directory, then if you use a text editor like gedit, you could look at the file with

Code: Select all

gedit .conkyrc
and if you wanted to edit the file, one would close gedit and I would suggest re-open it with privileges with

Code: Select all

gksudo gedit .conkyrc
kukamuumuka

Re: Where is Conky?

Post by kukamuumuka »

To test .conkyrc, run

Code: Select all

killall conky 

Code: Select all

conky&
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Where is Conky?

Post by Wompoo »

I am clearly well out of my depth here!
Besides, it was a frivolous idea of me to pursue it in the first place. After all, I have sufficient monitoring facilities in my KDE desktop.
I will abandon my enquiry, at least for the time being.
Thanks for the replies anyway...........
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
chu pacabra
Level 1
Level 1
Posts: 8
Joined: Sat Mar 28, 2015 9:10 pm

Re: Where is Conky?

Post by chu pacabra »

rustyp wrote: Sat Apr 21, 2018 1:32 pm Installed Conky using software manager no errors given look at desktop nothing, type "Conky" in the Start menu search thing nothing reboot nothing, go back to software manager and uninstall assume it uninstalls no errors given reinstall same thing cant find follow link from software manager https://github.com/brndnmtthws/conky can not find help there, no instructions.

Suggestions?

Thanks in advance.
I've just tried to install conky with the exact same experience. I've been using mint for about 4 years and had never been very adventurous because I was using a very old and limited PC. I wanted to try conky and as of right now, it seems I have completely wasted my time. I think it is unacceptable and frankly embarrassing for mint that you can select and install something from the software manager and then cannot find it. Why does this well-known, old, common piece of software not have a graphical interface for configuration?
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Where is Conky?

Post by Flemur »

administrollaattori wrote: Sat Apr 28, 2018 4:19 am To test .conkyrc, run

Code: Select all

killall conky 

Code: Select all

conky&
Conky restarts automagically when I save the .conkyrc file (in text editor).
You don't have to change anything, but "touch .conkyrc" doesn't do it.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Where is Conky?

Post by Flemur »

chu pacabra wrote: Wed May 02, 2018 4:50 pmI wanted to try conky and as of right now, it seems I have completely wasted my time.
Although it's typically set-up to run at boot or login, install it, and then type

Code: Select all

conky & 
in a terminal. It'll make a default .conkyrc file. If you don't like that one there are thousands of others on the net.
I think it is unacceptable and frankly embarrassing for mint that you can select and install something from the software manager and then cannot find it.
See above. It's not really a GUI, run it from a menu program like a task-manager where you change settings, it's a light-weight system monitor that runs from a configuration file, namely ~/.conkyrc
Why does this well-known, old, common piece of software not have a graphical interface for configuration?
Nobody is stopping you...
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Where is Conky?

Post by trytip »

conky-manager is the program that you want. conky is the command line application and conky-manager is the interface for it
not sure if it's new repos first search your software manager if not there then you'll need this ppa https://mintguide.org/effects/165-conky ... -mint.html
not sure who i'm responding to i see the OP hasn't made any comments besides the original;
Image
chu pacabra
Level 1
Level 1
Posts: 8
Joined: Sat Mar 28, 2015 9:10 pm

Re: Where is Conky?

Post by chu pacabra »

Why does this well-known, old, common piece of software not have a graphical interface for configuration?
Nobody is stopping you...
[/quote]

I deserved that.

Reminder to self: don't post comments on message boards when you are already pissed off about 35 other things that have nothing to do with this topic.

Anyway, I'll give the recommendations a try tomorrow and thank you to all.
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Where is Conky?

Post by trytip »

chu pacabra wrote: Thu May 03, 2018 3:35 am Reminder to self: don't post comments on message boards when you are already pissed off about 35 other things that have nothing to do with this topic.
HE he Image this forum is mild compared that to any arch linux forum where they are brutal and take no prisoners. or in KaOS linux forums you just try to explain why you want .wine installed on your system and you'll be put against the wall for even thinking of something so absurd. i too get lippy many times and suffer consequences
Image
Locked

Return to “Software & Applications”