Package Details: sunflower 0.4.62-2

Git Clone URL: https://aur.archlinux.org/sunflower.git (read-only, click to copy)
Package Base: sunflower
Description: Small and highly customizable twin-panel file manager for Linux with support for plugins
Upstream URL: https://sunflower-fm.org
Licenses: GPL3
Submitter: None
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 109
Popularity: 0.86
First Submitted: 2011-05-25 09:32
Last Updated: 2020-08-18 10:45

Latest Comments

1 2 3 4 5 6 ... Next › Last »

MeanEYE commented on 2020-10-16 12:13

I just had a user come to IRC channel and state the following:

package form aur by yay and vte3 in one of dependency of it using arch on awesomewm whenever i start the sunflower it showing this error <Error: Unable to load plugin "file_list": No module named 'cairo'> though i have cairo installed so pls help me. it running ok before but suddenly it broke

Sadly I missed the person so this is as much information as I could give you.

MeanEYE commented on 2020-09-12 12:57

Thank you. Looks so much cleaner and robust.

duht commented on 2020-09-11 11:12

Here is it! Promised, long-awaited, desired and all new PKGBUILD based on Debian install script. Resulted package is more than 50% smaller than before and everything works as it should (I hope so).
It's based on git but with little modification should also work with stable version of sunflower.

pkgname=sunflower
pkgver=0.5
pkgrel=63
pkgdesc="Small and highly customizable twin-panel file manager for Linux with support for plugins."
url="https://sunflower-fm.org"
arch=('any')
license=('GPL3')
depends=('desktop-file-utils' 'gtk3' 'librsvg' 'python-chardet' 'python-gobject')
optdepends=('vte: integrated vte-based terminal'
            'python-mutagen: audio-metadata support'
            'gvfs: mount-management')
makedepends=('git' 'rsync')
#options=(!strip !zipman)
#source=($url/pub/${pkgname}-${pkgver}-${pkgrel}.tgz)
source=('git://github.com/MeanEYE/Sunflower.git')
#md5sums=('89bb1633966d0bbd22938717bafd4d1e')
md5sums=('SKIP')

package() {
    cd "Sunflower"
    #python setup.py install --root="$pkgdir/" --optimize=1
    install -d "${pkgdir}/usr/lib/python3.8/site-packages/"
    install -d "${pkgdir}/usr/share/sunflower/"
    install -Dm755 dist/sunflower "${pkgdir}/usr/bin/sunflower"
    cp -r sunflower "${pkgdir}/usr/lib/python3.8/site-packages/"
    mv "${pkgdir}/usr/lib/python3.8/site-packages/sunflower/styles" "${pkgdir}/usr/share/sunflower/"
    install -Dm644 images/splash.png "${pkgdir}/usr/share/pixmaps/sunflower/splash.png"
    install -Dm644 images/sunflower.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/sunflower.svg"
    install -Dm644 Sunflower.desktop "${pkgdir}/usr/share/applications/sunflower.desktop"
    rsync -r translations/* "${pkgdir}/usr/share/locale" --exclude "*.po*"
}

duht commented on 2020-09-10 01:50

I agree in 100% with that. This mount manager did not seem practical to me. if I can suggest anything then take a look at the udevil package. You could use it to manage automatic mounts, detecting devices, etc. instead of gvfs. It's simple, small and has very minimal dependencies, but can handle all removable, optical, physical and network devices.

MeanEYE commented on 2020-09-10 00:11

Mount manager is semi-fixed. That is to say I am removing it. I want to have unified locations menu where you will be able to mount, unmount and go to location. This is where the bookmarks, physical mounts and virtual devices will be stored.

So far only physical devices appear in this menu, but I plan on adding mount manager stuff as well. The reason behind this change is that I dislike the idea of opening some window to do something then going back to managing files. Sure you can configure stuff in settings, but navigating to mount or some bookmarked directory should be the same effort and same operation.

duht commented on 2020-09-10 00:05

@MeanEYE Yes it's exacly it. I didn't know about ctrl+` keyboard shortcut which is very handy:). The plugin only has to add simple text to the status bar like this: 26 G free / 50 G. That's it. It would be great if you can do that.
Another thing that wonders me:
`Techman35 commented at 2020-07-25 01:41

@duht Thanks for the update
it's grate, mount manager is not working, hope they fix it soon.`
Can anyone confirm it? I don't use gvfs 'cause it has too many space-waste dependencies for me.

MeanEYE commented on 2020-09-09 22:52

@duht: Great, looking forward to new PKGBUILD. As for feature, did you check out the one I explained? It's exactly what you need (https://i.imgur.com/hvddX7G.png) but not visible all the time. As for making plugin I could make it for you if I find some free time.

duht commented on 2020-09-09 22:44

@MeanEYE I assume that splash.png is a picture displayed in about window? It works fine when is placed in /usr/share/pixmaps/sunflower/ like in your debian package. I used Debian years ago and it is not very different from Arch. As I said: tomorrow I'll make PKGBUILD based on Debian install script and it should work perfectly fine.
I have never written anything in Python so making a plugin isn't so easy for me.

MeanEYE commented on 2020-09-09 21:24

@duht I was asking for splash image to be placed in /usr/share/pixmaps, icons should go to icons directory. Using Debian install script as a basis for PKGBUILD would be the ideal solution as I use Debian and test it extensively.

Regarding total/free space display, Sunflower already has it albeit a bit hidden. It can be found in location menu or by pressing `Ctrl+`` (Ctrl+backtick in case markdown freaks out). My reasoning was that such functionality is only occasionally needed and moving it to such place would only reduce clutter. That said, status bar is extensible and making a plugin would be a breeze.

duht commented on 2020-09-09 15:36

Yes /usr/share/pixmapsis fine, but I think /usr/share/icons/hicolor/scalable/apps/ is more appriopriate for *.svg files.
Forget about setup.py. If I have some time I'll make new PKGBUILD based on your debian install script without using setup.py and put it here. I don't know why AUR maintainers of sunflower and sunflower-git use setup.py which is buggy and in fact unnecessary.
Sorry for offtopic: but could you add an option to status bar to display free/total space on current directory like PCmanfm/SpaceFM file managers has? It's a cool stuff when I see how much free space left on device i.e. during copying files withoud additionally clicking or writig commands on a terminal.