MandrivaUsers.org : Make the Mandriva update app start updating later - MandrivaUsers.org

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Make the Mandriva update app start updating later

#1 User is offline   dexter11 

  • Mandriva Guru
  • Group: Members
  • Posts: 1,535
  • Joined: 25-March 05

Posted 03 February 2008 - 01:45 PM

Quote

Il ike the little green update applet which alerts me if there are updates available. My only problem has been that it hogs a lot of resources for the first minute, when I prefer to get started with a web browser or a music player. The applet does not have an easy way to change its configuration but I found some interesting lines of code in /usr/bin/mdkapplet

> $config{UPDATE_FREQUENCY} ||= 3*60*60; # default to 3hours
> $config{FIRST_CHECK_DELAY} ||= 25 * 1000; # default to 25 seconds

The first line controls the intervals between checking for updates, the second one how long time after startup the applet should check for updates. I changed the second line to:

$config{FIRST_CHECK_DELAY} ||= 600 * 1000;

so the applet will wait 10 minutes (eg. 600 seconds) before starting. In those 10 minutes I've had enough time to start whatever programs I'd like to use.

Mattias Thuresson


from: http://forum.mandriv...pic.php?t=79734
Posted Image
0

#2 User is offline   hq197 

  • New Here
  • Group: Members
  • Posts: 7
  • Joined: 13-February 08

Posted 13 February 2008 - 01:40 PM

View Postdexter11, on Feb 3 2008, 10:45 PM, said:



configuring the mdkapplet is not very easy.
"System > preferences > advanced >session >mandriva online applet" didn't do the trick for me.

I took the good advice from this forum (thank you) :thumbs:

To enable autostart I had still needed to
gedit /root/.MdkOnline/mdkonline and edit AUTOSTART=TRUE
it's all good now

This post has been edited by hq197: 13 February 2008 - 01:51 PM

viva la penguin liberation front
0

#3 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 13,536
  • Joined: 09-March 05

Posted 13 February 2008 - 01:47 PM

I'm wondering why you had to edit /root/.MdkOnline/mdkonline - it looks like you are logging in as root, rather than a regular user - which is extremely, extremely unsecure and something you shouldn't do.

For anyone else, you should be editing /home/username/.MdkOnline/mdkonline and not be logging in as root to use your system - that is simply bad practice.
Ian Walker
Juniper Networks Certified Internet Associate (JNCIA-FWV, JNCIA-IDP and JNCIA-SSL)
Aventail Certified Professional (ACP)
Certified Trend Micro Engineer

Linux Systems Limited is partnered with Red Hat Linux.

Posted Image2 x systems installed with Mandriva 2010 x86_64 (1 @ Home, 1 @ Work)

Posted Image My Linux Solutions | My Business Website
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users