conky: update_interval

Clash Royale CLAN TAG#URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
Iôve got a question regarding a specific part of a conky-config.
I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
every second.
What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
In other words: overriding the settings of update_interval but only for a particular part of conky.
E.g.:
I have a line that looks like this (monitoring my USB-stick 1):
$color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC
But as thereôs no point in updating the values of that stick every second Iôd like it to set to e.g. 2 hours.
Is that that possible at all?
P.S.:
System: Linux/Lubuntu 16.04.5 LTS, 64 bit
conky
add a comment |Â
up vote
1
down vote
favorite
Iôve got a question regarding a specific part of a conky-config.
I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
every second.
What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
In other words: overriding the settings of update_interval but only for a particular part of conky.
E.g.:
I have a line that looks like this (monitoring my USB-stick 1):
$color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC
But as thereôs no point in updating the values of that stick every second Iôd like it to set to e.g. 2 hours.
Is that that possible at all?
P.S.:
System: Linux/Lubuntu 16.04.5 LTS, 64 bit
conky
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Iôve got a question regarding a specific part of a conky-config.
I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
every second.
What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
In other words: overriding the settings of update_interval but only for a particular part of conky.
E.g.:
I have a line that looks like this (monitoring my USB-stick 1):
$color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC
But as thereôs no point in updating the values of that stick every second Iôd like it to set to e.g. 2 hours.
Is that that possible at all?
P.S.:
System: Linux/Lubuntu 16.04.5 LTS, 64 bit
conky
Iôve got a question regarding a specific part of a conky-config.
I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
every second.
What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
In other words: overriding the settings of update_interval but only for a particular part of conky.
E.g.:
I have a line that looks like this (monitoring my USB-stick 1):
$color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC
But as thereôs no point in updating the values of that stick every second Iôd like it to set to e.g. 2 hours.
Is that that possible at all?
P.S.:
System: Linux/Lubuntu 16.04.5 LTS, 64 bit
conky
asked 4 hours ago
Rosika
709
709
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
For fs_bar it is possible to use execibar, something like this:
$execibar 7200 fs_bar /media/rosika/28BC-DAFC
7200: 2 Hours in second.
However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.
For fs_size:
$execi 7200 df -h --output=size /media/rosika/28BC-DAFC
For fs_used:
$execi 7200 df -h --output=used /media/rosika/28BC-DAFC
Hi. Tnx a lot. Yet I have to say at least$execibar 5 fs_bar /homedoesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
â Rosika
3 hours ago
@Rosika Yourconkymight not supportexecibarI'm on18.04so I can't test. run this command:man conky 2>/dev/null | grep execibar | wc -lif you get number0then your conky does not supportexecibar.
â Ravexina
3 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
For fs_bar it is possible to use execibar, something like this:
$execibar 7200 fs_bar /media/rosika/28BC-DAFC
7200: 2 Hours in second.
However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.
For fs_size:
$execi 7200 df -h --output=size /media/rosika/28BC-DAFC
For fs_used:
$execi 7200 df -h --output=used /media/rosika/28BC-DAFC
Hi. Tnx a lot. Yet I have to say at least$execibar 5 fs_bar /homedoesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
â Rosika
3 hours ago
@Rosika Yourconkymight not supportexecibarI'm on18.04so I can't test. run this command:man conky 2>/dev/null | grep execibar | wc -lif you get number0then your conky does not supportexecibar.
â Ravexina
3 hours ago
add a comment |Â
up vote
0
down vote
For fs_bar it is possible to use execibar, something like this:
$execibar 7200 fs_bar /media/rosika/28BC-DAFC
7200: 2 Hours in second.
However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.
For fs_size:
$execi 7200 df -h --output=size /media/rosika/28BC-DAFC
For fs_used:
$execi 7200 df -h --output=used /media/rosika/28BC-DAFC
Hi. Tnx a lot. Yet I have to say at least$execibar 5 fs_bar /homedoesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
â Rosika
3 hours ago
@Rosika Yourconkymight not supportexecibarI'm on18.04so I can't test. run this command:man conky 2>/dev/null | grep execibar | wc -lif you get number0then your conky does not supportexecibar.
â Ravexina
3 hours ago
add a comment |Â
up vote
0
down vote
up vote
0
down vote
For fs_bar it is possible to use execibar, something like this:
$execibar 7200 fs_bar /media/rosika/28BC-DAFC
7200: 2 Hours in second.
However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.
For fs_size:
$execi 7200 df -h --output=size /media/rosika/28BC-DAFC
For fs_used:
$execi 7200 df -h --output=used /media/rosika/28BC-DAFC
For fs_bar it is possible to use execibar, something like this:
$execibar 7200 fs_bar /media/rosika/28BC-DAFC
7200: 2 Hours in second.
However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.
For fs_size:
$execi 7200 df -h --output=size /media/rosika/28BC-DAFC
For fs_used:
$execi 7200 df -h --output=used /media/rosika/28BC-DAFC
edited 3 hours ago
answered 3 hours ago
Ravexina
24k136185
24k136185
Hi. Tnx a lot. Yet I have to say at least$execibar 5 fs_bar /homedoesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
â Rosika
3 hours ago
@Rosika Yourconkymight not supportexecibarI'm on18.04so I can't test. run this command:man conky 2>/dev/null | grep execibar | wc -lif you get number0then your conky does not supportexecibar.
â Ravexina
3 hours ago
add a comment |Â
Hi. Tnx a lot. Yet I have to say at least$execibar 5 fs_bar /homedoesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
â Rosika
3 hours ago
@Rosika Yourconkymight not supportexecibarI'm on18.04so I can't test. run this command:man conky 2>/dev/null | grep execibar | wc -lif you get number0then your conky does not supportexecibar.
â Ravexina
3 hours ago
Hi. Tnx a lot. Yet I have to say at least
$execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.â Rosika
3 hours ago
Hi. Tnx a lot. Yet I have to say at least
$execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.â Rosika
3 hours ago
@Rosika Your
conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.â Ravexina
3 hours ago
@Rosika Your
conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.â Ravexina
3 hours ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062377%2fconky-update-interval%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password