sunflower-fm on Salix OS LXDE 13.37
- globetrotterdk
- Posts: 435
- Joined: 26. Oct 2010, 13:57
- Location: Denmark
sunflower-fm on Salix OS LXDE 13.37
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/
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/
Military justice is to justice what military music is to music. - Groucho Marx
Re: sunflower-fm on Salix OS LXDE 13.37
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.
- globetrotterdk
- Posts: 435
- Joined: 26. Oct 2010, 13:57
- Location: Denmark
Re: sunflower-fm on Salix OS LXDE 13.37
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.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.
Military justice is to justice what military music is to music. - Groucho Marx
- globetrotterdk
- Posts: 435
- Joined: 26. Oct 2010, 13:57
- Location: Denmark
Re: sunflower-fm on Salix OS LXDE 13.37
I tried installing the package, but I got the following error:I copy pasted the name from "properties" to make sure that the name was exact.
Code: Select all
# spkg -i Sunflower-0.1a-36.tgz
ERROR: Package name is invalid. (Sunflower-0.1a-36.tgz)
ERROR: Package installation failed!
Military justice is to justice what military music is to music. - Groucho Marx
Re: sunflower-fm on Salix OS LXDE 13.37
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
I downloaded and unpacked it, and ran it from inside the directory:
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 ...
Code: Select all
cd Sunflower
./sunflower.py
It looks rather like Midnight Commander ...
- globetrotterdk
- Posts: 435
- Joined: 26. Oct 2010, 13:57
- Location: Denmark
Re: sunflower-fm on Salix OS LXDE 13.37
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?
Military justice is to justice what military music is to music. - Groucho Marx
Re: sunflower-fm on Salix OS LXDE 13.37
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
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.
- globetrotterdk
- Posts: 435
- Joined: 26. Oct 2010, 13:57
- Location: Denmark
Re: sunflower-fm on Salix OS LXDE 13.37
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:
Latest actions:
I have now run the following:
Code: Select all
# cp /etc/profile /home/user/.profile
Last edited by globetrotterdk on 24. Jan 2012, 12:20, edited 2 times in total.
Military justice is to justice what military music is to music. - Groucho Marx