Page 1 of 4

sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 11:11
by globetrotterdk
I would like to install sunflower-fm on my Salix OS LXDE 13.37 system. Unfortunately, it depends on the following packages, none of which I have been able to find:
python-gtk2 (>= 2.15.0),
python-vte (>= 0.20.0),
python-notify (>= 0.1)
More information about sunflower-fm here:
http://code.google.com/p/sunflower-fm/

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 12:50
by gapan
Did you actually try to install sunflower-fm, or are you just guessing that you don't have those dependencies already? The names you provide are probably what these packages are called in debian/ubuntu. Don't expect the names to be exactly the same in every distribution not based on those. These are the pygtk, vte and notify-python packages in salix and you should already have them installed.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 15:48
by globetrotterdk
gapan wrote:Did you actually try to install sunflower-fm, or are you just guessing that you don't have those dependencies already? The names you provide are probably what these packages are called in debian/ubuntu. Don't expect the names to be exactly the same in every distribution not based on those. These are the pygtk, vte and notify-python packages in salix and you should already have them installed.
Many thanks for the info gapan. The packages are installed as you have mentioned. To answer your question, no I didn't guess. I read the depends file in the .tgz package. I expected the references in the depends file to more or less match, as I assume this is a Slackware package.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 16:00
by globetrotterdk
I tried installing the package, but I got the following error:

Code: Select all

# spkg -i Sunflower-0.1a-36.tgz
ERROR: Package name is invalid. (Sunflower-0.1a-36.tgz)
ERROR: Package installation failed!
I copy pasted the name from "properties" to make sure that the name was exact.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 17:12
by gapan
Are you sure that is an actual slackware package and not just a tarball? If it is a slackware package, it doesn't have the correct name and whoever created it, probably is not that knowledgeable about slackware packaging.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 19:14
by mimosa
I downloaded and unpacked it, and ran it from inside the directory:

Code: Select all

cd Sunflower
./sunflower.py
That is, it doesn't seem to expect to be installed as such. You could put a symlink to the script somewhere in your $PATH, or maybe make a launcher shortcut directly to it, depending on your desktop environment.

It looks rather like Midnight Commander ...

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 21:43
by globetrotterdk
Thanks for the info. I have created a .desktop file for Sunflower in /usr/share/applications and copied the icon file to /usr/share/pixmaps/ but I am not really sure where to place the Sunflower directory. The directory is at this time in my Downloads folder, but there must be some sort of conventions as to where to place this kind of directory in Salix. What do you suggest?

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 23:44
by mimosa
I'd suggest moving the whole lot to /usr/local, and putting a symlink to the script in /usr/local/bin; but I'm not sure if that's correct according to convention. Anyway, you probably don't want to leave it where it is. You may also need to adjust permissions after the move.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 23. Jan 2012, 23:53
by Shador
You can add "$HOME/bin" to your PATH in .profile and create a symlink in $HOME/bin. Then add the menuentry to .local/share/applications/. That's the per-user way. On a system-level you could do it like mimosa pointed out, but you should make sure all files are owned by root (perms usually don't need to be changed but you could check) and you should move the whole directory to /usr/local/share/. But that's just convention anyway.

Re: sunflower-fm on Salix OS LXDE 13.37

Posted: 24. Jan 2012, 08:42
by globetrotterdk
Thanks for the replies. I was thinking about moving the directory to either /opt/ or /usr/share/ as that looks like where everything else seems to be. I don't have a .profile file or a .local/share/applications/ directory on my system.

Latest actions:
I have now run the following:

Code: Select all

# cp /etc/profile /home/user/.profile