Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: trash can for gnome dash/dash to dock

  1. #21
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: trash can for gnome dash/dash to dock

    Trash.zip

    rewrite/change how it's monitored, i think much better than "sleep 5".

  2. #22
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: trash can for gnome dash/dash to dock

    Trash.zip

    moved the empty trash sound, so no matter where you empty from you get the sound.
    you need inotify-tools
    Code:
    sudo apt -y install inotify-tools
    Last edited by kerry_s; June 30th, 2018 at 07:59 AM.

  3. #23
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: trash can for gnome dash/dash to dock

    Trash.zip

    i'm not happy with having to install inotify-tools, i'd prefer it just work on any distro, so i've gone with tail -f to do the monitoring for changes, same realtime effect as inotifywait, but tail is part of every distro so it'll just work.

    everything else is same, just run > ./trash.sh -s <in the Trash dir to set everything up, then just reboot & add the trashcan to the dock/panel.
    i also put the sound going both ways, cause why not.

    this 1's a dud, for some reason tail -f just dies out.
    Last edited by kerry_s; June 30th, 2018 at 07:53 AM.

  4. #24
    Join Date
    Aug 2007
    Beans
    10

    Re: trash can for gnome dash/dash to dock

    Can I get an uninstaller, please?

  5. #25
    Join Date
    Nov 2019
    Beans
    2

    Re: trash can for gnome dash/dash to dock

    Whooa, works great kerry_s, thank you!!! Maybe, if it is possible - it can has a multilanguage support? I have whole system in my language and between it is EMPTY TRASH command..

    EDIT:
    OK, I just made edits for translations in /.local/share/applications/trash.desktop
    Last edited by oweck; November 24th, 2019 at 06:24 PM.

  6. #26
    Join Date
    Apr 2020
    Beans
    1

    Thumbs up Re: trash can for gnome dash/dash to dock

    Fantastic work!
    Works like a charm.
    Thanks for your effort, a was looking for something like this.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •