-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

KGenlop - Gentoo emerge notifier

   1.6  

KDE Improvement

Score 63%
KGenlop - Gentoo emerge notifier
zoom


KGenlop - Gentoo emerge notifier
zoom


Minimum required   KDE 4.x
Downloads:  326
Submitted:  Nov 4 2010
Updated:  Jan 22 2012

Description:

This is a set of scripts to popup a kdialog message about the currently compiling package(s).

ikgenlop.sh is the more advanced one. It uses the inotify API to watch emerge.log and inform you when something new happens.

It can be run from KDE autostart, or xinitrc or whatever, no need for cron.

The simpler one, kgenlop.sh script will just call genlop and pop up a message when it has something to say.

You can run it as a cron job e.g. like this:
*/5 * * * * /home/user/bin/kgenlop.sh 2>/dev/null


You need app-portage/genlop and of course kde-base/kdialog installed.

The included Makefile will copy the script to ~/bin and set up a symlink in the KDE autostart folder (~/.kde4/Autostart). Do not run make if you don't want this.




Changelog:

1.6: mostly cosmetic changes, typos etc. changed calls to inotify to only report on rw changes, not only ro so other apps don't cause a storm of popups.
1.5: moved settings to ~/.ikgenloprc, create this file on first run, introduce a PID file and use it to detect multiple instances.
1.4: added a couple of tunables to steer verbosity. Thanks to Krog for testing.
1.3: many more features for iknotify to make it more annoying ;)
1.2: many changes, use a combination if inotify and tail to push status updates to kdialog. Please excuse the brute-force usage of awk and friends. Cleanup will follow later.
1.1: Added inotify based version after suggestion from user Krog.
1.0: first revision




LicenseBSD
Gentoo(kgenlop-1.6.tar.gz)
Send to a friend
Subscribe
Other  Apps  from nephros
Report inappropriate content



goto page: prev   1  2 

-

 up

 
 by Krog on: Nov 6 2010
 
Score 50%

thanks to you :-)


Reply to this

-

 Installation

 
 by nephros on: Nov 10 2010
 
Score 50%

Well I just found out that the install location for the autostart version is wrong.

It should be ~/.kde4/Autostart instead of ~/.kde4/share/autostart.

That should be fixed in the 1.5 version, coming Real Soon Now...


Reply to this

-

 Re: Installation

 
 by Krog on: Nov 10 2010
 
Score 50%

I did'nt tryed the installation, just tuned the script and manually set as autostart in systemsettings.
In the future release there will be other changes/improvements?


Reply to this

-

 Re: Re: Installation

 
 by nephros on: Nov 11 2010
 
Score 50%

I'm always open to suggestions!

Probably the next step should be an ebuild.

But before that it needs to be possible to be installed system-wide (right now I assume everything will be in $HOME) and I still need to figure out where to put stuff for that.


Reply to this

-

 Re: Re: Re: Installation

 
 by Krog on: Nov 11 2010
 
Score 50%

maybe putting the script in /etc/xdg/autostart ? I can't try now but please try it :-)
also looking the script it seems that it will only work in :0 but sometimes I have more than one session active


Reply to this

-
.

 crash

 
 by Krog on: Nov 12 2010
 
Score 50%

1.5 sometimes crashes with this error:

ikgenlop-1.5.sh: line 232: USER_FREQ * : syntax error: operand expected (error token is "* ")
end.


1.4 seems unaffected


Reply to this

-

 Re: crash

 
 by nephros on: Nov 12 2010
 
Score 50%

Ooops, stupid typo.

Try replacing the affected line with this:

# back off a bit
FREQ=$(( USER_FREQ * FREQ_BACKOFF ))


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.