Search:

Type: Posts; User: kerry_s; Keyword(s):

Search: Search took 0.07 seconds.

  1. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    280248

    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,...
  2. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    280250

    moved the empty trash sound, so no matter where you empty from you get the sound.
    you need inotify-tools

    sudo apt -y install inotify-tools
  3. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    280227

    rewrite/change how it's monitored, i think much better than "sleep 5".
  4. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    280147

    latest for gnome
  5. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    this version uses gvfs for other de's/wm's not running gio.
    added sound just for fun. :)
    same thing, run-> ./trash.sh -s <to setup

    280019

    this version is for gnome that uses gio.
    280087
  6. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    your welcome, let me know if anything happens. i'm still testing it myself, memory usage seems fine, mine comes out to about 300kib(standard trash daemon runs 2mb), applications look good, there not...
  7. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    alright logix2,

    give this 1 a try it should work as expected, whether emptied from files or icon.

    279814

    let me know what you think or if other problems.
  8. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    279807

    i'm going to leave it be, modify as you wish.

    warning/headsup: if you empty from within files, than empty the icon to return it to normal.

    adding another loop to check if it's empty...
  9. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    the exit 0 is to stop it replacing the icon if it's already been changed, other wise it keeps replacing the icon till it's emptied.

    i need to check if it is emptied(from within files) then swap...
  10. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    somethings wrong with the script, the applications are throbbing. i'll look into it & try to fix.
  11. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    279796

    here's the fixed version with the exit 0 still there so it don't go into an icon swap loop.
  12. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    i changed that, that's how i had it before, cause it'll just keep swapping the icon over & over if you don't empty the trash. you can always right click-> empty trash to swap the icon back, whether...
  13. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    i wouldn't say default, more like an option.
    i think since there doing away with the desktop icons, there should be a option to have those on the dock.

    i was looking into maybe doing something...
  14. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    279739

    here's the new file with the changes. unzip in the home folder & enter it, right click-> open terminal here & run ./trash.sh -s

    that's it reboot & it's good to go.
  15. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    i was actually thinking about putting it in it's own folder "Trash" maybe with the script & the icons. so i can just zip it up & attach. ease of use.
    in some themes user-trash & user-trash-full are...
  16. Replies
    25
    Views
    26

    Re: trash can for gnome dash/dash to dock

    the command is now "trash.sh -s" to set everything up




    #!/bin/bash
    # trash.sh -s <-create autostart & application

    icon=$HOME/.local/share/applications/trash.desktop...
  17. Replies
    25
    Views
    26

    trash can for gnome dash/dash to dock

    alright peoples final script. should be user neutral just place in $HOME/Documents & make executable.




    #!/bin/bash
    icon=$HOME/.local/share/applications/trash.desktop

    while getopts "red"...
Results 1 to 17 of 17