You are not logged in.

#1 2006-07-22 01:38:13

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

ALUNN - Arch Linux Updates and News Notifiction

This is my first release of alunn. It is a simple system tray notification applet, which shows updates and news from the front page of archlinux.org.

Screen shots and downloads available here: http://www.nedrebo.org/kode/alunn/. I probably have forgot some dependencies in my PGKBUILD. When I have fixed the PKGBUILD I'm going upload the PKGBUILD to AUR.

To use the program you must add alunnd to rc.conf and run alunn at login. alunn read ~/.alunn.conf or /etc/alunn.conf. There are some options in the conf-file you should change to fit your needs. Personally I only use Gnome, so I do not know how well the program will work with any other WM/DM, but if anyone get any problems I'll be happy to fix it!

enjoy smile

Offline

#2 2006-07-22 04:53:33

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 786
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

If you are looking for a good way to find dependencies on packages, do the following:

pacman -S namcap
namcap codemac-is-sexy-3.2-3.pkg.tar.gz

Dunno if you knew about it, many don't.

Offline

#3 2006-07-22 05:34:22

neotuli
Lazy Developer
From: San Francisco, CA
Registered: 2004-07-06
Posts: 1,201
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

codemac wrote:
namcap codemac-is-sexy-3.2-3.pkg.tar.gz
codemac-is-sexy     E: Dependency detected and not included (cosmetics) from files ['usr/bin/codemac']

edit: I love how the footer on the ALUNN page says "powered by ubuntu"  lol


The suggestion box only accepts patches.

Offline

#4 2006-07-22 10:06:49

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

neotuli wrote:
codemac wrote:
namcap codemac-is-sexy-3.2-3.pkg.tar.gz
codemac-is-sexy     E: Dependency detected and not included (cosmetics) from files ['usr/bin/codemac']

edit: I love how the footer on the ALUNN page says "powered by ubuntu"  lol

http://www.nedrebo.org/status/
http://archlinux.org/pipermail/arch/200 … 02941.html

I have a 686 cpu :evil:

Offline

#5 2006-07-22 17:57:28

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

codemac wrote:

If you are looking for a good way to find dependencies on packages, do the following:

pacman -S namcap
namcap codemac-is-sexy-3.2-3.pkg.tar.gz

Dunno if you knew about it, many don't.

OK, now I have figured out the dependencies(I think), but not with help of the namcat tool which is happy only if I leave out all the dependencies.

->> Anyway: alunn in now uploaded to AUR <<-

Offline

#6 2006-07-24 14:57:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

Yup.  I've come to find out that those 686s missing CMOV are fully valid 686 processors - the 686 spec states that CMOV is optional.  Problem is that gcc disagrees...

Offline

#7 2006-07-28 19:34:36

entvex
Member
Registered: 2006-04-02
Posts: 52

Re: ALUNN - Arch Linux Updates and News Notifiction

cool stuff thanks smile when are the packges in aur get a safe flag roll


Linux can run on any thing...
look at me
[img]http://img53.imageshack.us/img53/8413/indexol8.png[/img]

Offline

#8 2006-07-28 20:35:22

CavalierBob
Member
From: San Francisco Bay Area
Registered: 2006-07-20
Posts: 110

Re: ALUNN - Arch Linux Updates and News Notifiction

Hmmm, when I try to add the package to my custom repo by running:

# gensync /var/abs/local /home/bob/pkgs/custom.db.tar.gz

I get this error:

[root@myhost ~]# gensync /var/abs/local /home/bob/pkgs/custom.db.tar.gz
gensync: building database entries, generating md5sums...
mkdir: cannot create directory `alunn-0.1.1-1': File exists
gensync: error writing entry for /var/abs/local/alunn/src/alunn-0.1.1/PKGBUILD
[root@myhost ~]#

Any ideas?

Additional, the instructions confuse me in one area. Restarting dbus and adding alunnd to rc.conf I understand.  I do not understand the instruction to run alunn at login by adding alunn "to your personal startup". Could someone clear it up for me?

Thanks!

Bob

Offline

#9 2006-07-29 14:35:34

CavalierBob
Member
From: San Francisco Bay Area
Registered: 2006-07-20
Posts: 110

Re: ALUNN - Arch Linux Updates and News Notifiction

Here's the code from the PKGBUILD. Perhaps this will give a clue as to what causing the error in the gensync.

#PKGBUILD
#Maintainer: Mathias Nedrebø <mathias <at> nedrebo.org>
pkgname=alunn
pkgver=0.1.1
pkgrel=1
pkgdesc="Systemtray notification of ArchLinux news and Pacman updates."
url="http://www.nedrebo.org/kode/alunn/"
license="gpl"
depends=('python-feedparser' 'pygtk' 'dbus' 'xorg-server' 'gnome-python-extras' 'libnotify')
source=("http://www.nedrebo.org/pages/kode/alunn/alunn-${pkgver}.tar.gz")
md5sums=(4c4a65b6b932ed186a70b95a510afae6)

build() {
  cd $startdir/src/alunn-${pkgver}
  ./install.sh --prefix=$startdir/pkg
}

If it is too hard to read the PKGBUILD code above, here is a link: http://aur.archlinux.org/packages/alunn/alunn/PKGBUILD

Thanks!

Bob

Offline

#10 2006-07-30 10:56:09

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

CavalierBob wrote:

Hmmm, when I try to add the package to my custom repo by running:

# gensync /var/abs/local /home/bob/pkgs/custom.db.tar.gz

I get this error:

[root@myhost ~]# gensync /var/abs/local /home/bob/pkgs/custom.db.tar.gz
gensync: building database entries, generating md5sums...
mkdir: cannot create directory `alunn-0.1.1-1': File exists
gensync: error writing entry for /var/abs/local/alunn/src/alunn-0.1.1/PKGBUILD
[root@myhost ~]#

Any ideas?

Additional, the instructions confuse me in one area. Restarting dbus and adding alunnd to rc.conf I understand.  I do not understand the instruction to run alunn at login by adding alunn "to your personal startup". Could someone clear it up for me?

Thanks!

Bob

By "personal startup", I mean that you need to add alunn to .xinitrc, .xdefappl, Gnome-session or something similar, so that it automaticly starts at loggin.

I have never tried gensync, so I can't help you with that one.

btw: New release is out which fixes a few minor bugs.

Offline

#11 2006-07-30 14:50:47

CavalierBob
Member
From: San Francisco Bay Area
Registered: 2006-07-20
Posts: 110

Re: ALUNN - Arch Linux Updates and News Notifiction

OK, thanks for the reply lessthanjake! I'll keep looking to see what I can find related to gensync and the error. From the error text, I would guess gensync is complaining about the directory it tries to make already having been created by the alunn makepkg. I just do not see any directory named as the error says.

I was beginning to wonder if the instructions might have something to do with gnome-sessions. Thanks for helping an Arch newbie learn something!  big_smile

I just installed ALUNN with pacman -A, copied the alunn.conf file to ~./alunn.conf, did some editing, and alunn is now running fine.

Bob

Offline

#12 2006-08-03 08:12:14

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

New release is out.

Added option for turning off news or updates notification.

Now all planned features is in place smile

Offline

#13 2006-10-10 08:13:57

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

New version out!

The new version have optional gui configuration. It may not be KISS, so it is easily disabled with --disable-gui and then no gui related files is even installed. The installer also adds a gnome/kde/xfce-menu entry if gui is installed. The new PKGBUILD is in AUR and it installs the gui by default.

New screenshots on the alunn page

Offline

#14 2006-11-21 05:39:52

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

Version 0.5 is out.

I have managed to remove some dependencies. Good news for some is that the Gnome dependency is gone. I also removed the notification-daemon dependency, instead alunn just checks for its present at runtime and dispalys the notification balloon if possible.

Offline

#15 2006-12-01 05:57:30

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: ALUNN - Arch Linux Updates and News Notifiction

Hi,
I use the last version of alunn and installed it with pacman -U packagename.
I loaded alunnd in daemons and se alunn to start with a shortcut in kde autostart folder.
Nothing seamed to happed so i run alunn as a home user in konsole and i get
Error: unable to connect to the sessionbus

What could be the problem?
(Note: alunn seems to load and work fine under gnome)


Powered by Arch Linux

Offline

#16 2006-12-01 06:52:50

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: ALUNN - Arch Linux Updates and News Notifiction

I've managed to run it with
dbus-launch --exit-with-session alunn
Notification baloons appear ok but the icon on kde panel is black at the start of kde and when the alunn appears displays an i in a blue circle. Probably it cannot find it?


Powered by Arch Linux

Offline

#17 2006-12-03 07:21:31

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

I'am able to reproduce the bug, but not shure how to fix it smile I'll post here when it's fixed.

Offline

#18 2006-12-04 19:09:27

giorgosc61
Member
From: Athens, Greece
Registered: 2005-05-27
Posts: 140

Re: ALUNN - Arch Linux Updates and News Notifiction

Thank you for looking into this problem. Your program saved me a lot pacman -Syu and is necessary for me to work under KDE too!!


Powered by Arch Linux

Offline

#19 2006-12-04 19:46:07

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

Nice to hear you like the program. I'm going to fix this bug, just not sure when smile Until then you can use an older package. This is the newest one not using the problematic code: http://nedrebo.org/pages/kode/alunn/alu … pkg.tar.gz

Offline

#20 2007-02-02 20:51:15

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: ALUNN - Arch Linux Updates and News Notifiction

until now i've been using liferea for checking if new packages have come out big_smile, but this alunn app seems great. I don't know if this is a bug or not, but when i run alunn i get a few pixels wide empty space in my system tray. when new packages come out then the light bulb icon appears on that place. is this the default application behaviour? if it is, the application shouldn't create a "spacing" in system tray when there is no information for the user but only show a light bulb when there are new news or updates. it would also be nice if a user could select if this icon is present all the time (even if there are no new news or packages) in system tray or not.

Last edited by billy (2007-02-02 20:53:37)

Offline

#21 2007-02-26 06:49:32

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

New version: 0.6.0:

Highlights:

Works again in KDE (fixed problem billy is talking about).

Removed dbus-python dependency.

Last edited by lessthanjake (2007-02-26 06:51:01)

Offline

#22 2007-05-14 14:49:40

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

This is the error I keep on getting:

Traceback (most recent call last):
  File "/usr/bin/alunn", line 19, in <module>
    from alunn.notifyicon import NotifyIcon
  File "/usr/lib/python2.4/site-packages/alunn/notifyicon.py", line 13, in <module>
    class NotifyIcon:
  File "/usr/lib/python2.4/site-packages/alunn/notifyicon.py", line 31, in NotifyIcon
    system_bus = dbus.SystemBus()
  File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 654, in __new__
    private=private)
  File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 295, in __new__
    mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#23 2007-07-07 10:18:06

ziggy
Member
From: Riga, Latvia
Registered: 2007-04-28
Posts: 23

Re: ALUNN - Arch Linux Updates and News Notifiction

s26c.sayan wrote:

This is the error I keep on getting:

Traceback (most recent call last):
  File "/usr/bin/alunn", line 19, in <module>
    from alunn.notifyicon import NotifyIcon
  File "/usr/lib/python2.4/site-packages/alunn/notifyicon.py", line 13, in <module>
    class NotifyIcon:
  File "/usr/lib/python2.4/site-packages/alunn/notifyicon.py", line 31, in NotifyIcon
    system_bus = dbus.SystemBus()
  File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 654, in __new__
    private=private)
  File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 295, in __new__
    mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Same here - can't get alunn running. sad
And how can I add alunnd to rc.conf if there are no alunnd in folder /etc/rc.d/

Offline

#24 2007-07-07 10:57:36

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

Well, the 0.6.3 version is working here now! Maybe that's because I'v now installed  notification-daemon and dbus-python packages!


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#25 2007-07-07 11:41:48

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: ALUNN - Arch Linux Updates and News Notifiction

ziggy wrote:

Same here - can't get alunn running. sad
And how can I add alunnd to rc.conf if there are no alunnd in folder /etc/rc.d/

You are not supposed to do this any more, just run alunn as regular user.

Offline

Board footer

Powered by FluxBB