Package Details: sunflower 0.4.62-5

Git Clone URL: (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:
Licenses: GPL3
Submitter: None
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 110
Popularity: 0.30
First Submitted: 2011-05-25 09:32
Last Updated: 2021-03-11 20:07

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

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.

pkgdesc="Small and highly customizable twin-panel file manager for Linux with support for plugins."
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)

package() {
    cd "Sunflower"
    #python 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 ( 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 If I have some time I'll make new PKGBUILD based on your debian install script without using and put it here. I don't know why AUR maintainers of sunflower and sunflower-git use 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.

MeanEYE commented on 2020-09-09 13:11

Sorry for late reply. Busy with work these days and switching internet provider in the midst of it all is not helping. Anyway.. copytree should absolutely handle directories as well. I don't have much experience with it and those lines of code are most likely not mine. I'll take a look. Can you confirm if /usr/share/pixmaps is also fine?