trash-cli VS i3

Compare trash-cli vs i3 and see what are their differences.

trash-cli

Command line interface to the freedesktop.org trashcan. (by andreafrancia)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
trash-cli i3
40 200
3,409 9,079
- 2.0%
9.2 7.6
4 days ago 2 days ago
Python C
GNU General Public License v3.0 only BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

trash-cli

Posts with mentions or reviews of trash-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-20.
  • Show HN: A CLI tool that enables you to remove files easily and safely
    8 projects | news.ycombinator.com | 20 Feb 2024
    There's a Freedesktop specification for trashing files that you may consider adhering to: https://specifications.freedesktop.org/trash-spec/trashspec-...

    I get that writing a small utility is fun, but if it is just that (for fun), I suggest you put that into the readme. Otherwise, why should I choose your tool over something like https://github.com/andreafrancia/trash-cli, which seems to already be distributed for the major distros? Does your implementation scratch an itch that the myriad of other implementations don't? I'm just curious.

  • "Never delete data"
    1 project | dev.to | 7 Jul 2023
    Hard deleting was more necessary on the past when storage was so tiny and expensive, but now we not constantly fighting for space anymore. So treat a rm (and the Unix tradition as a whole) as a product of its time, move undesirable files to the trash instead, you can use this trash-cli for linux.
  • Always have a backup of you Docker container's data
    1 project | /r/selfhosted | 3 Jul 2023
    Not related to Docker, but use the trash-cli trash command to have the recycle bin in the terminal as well.
  • what is you recommended way to protect accidental delete woth rm -rf in opensuse
    2 projects | /r/openSUSE | 16 Jun 2023
    i ended up using shell-safe-rm plus trash-cli and my own wrapper script around rm that verifies some rules like for example the argument don't start with '/' , if i want to delete for example /home/shin/.local/somefile then the script will not let me and suggest to cd to /home/me/.local and delete from there , same if i do rm /var/somedir.
  • PSA based on true events
    1 project | /r/ProgrammerHumor | 4 May 2023
  • Based on True events.
    2 projects | /r/linuxmemes | 23 Apr 2023
    They're probably talking about something like this rather than a GUI file manager
  • What has been your most painful Linux experience?
    3 projects | /r/archlinux | 27 Mar 2023
    It's a bad idea to alias rm. You will get trouble on a machine that has no alias. Use trash-cli instead. It's much safer than rm. BTW, don't alias trash as rm because they are different.
  • The fastest rm command and one of the fastest cp commands
    6 projects | news.ycombinator.com | 25 Mar 2023
    For Linux there's [trash-cli](https://github.com/andreafrancia/trash-cli/). Doesn't seem to work for MacOS per this issue (https://github.com/andreafrancia/trash-cli/issues/284), but it suggests to use https://hasseg.org/trash/
  • I did it boys: I blew away ~
    2 projects | /r/linux | 8 Feb 2023
    Use trash-cli for all your rm -rf needs!
  • never "rm -rf" the wrong thing again with this handy script
    2 projects | /r/devops | 7 Feb 2023
    There are a number of foss tools that work with the freedesktop trashcan concept on Linuxes/BSDs, like https://github.com/andreafrancia/trash-cli. Bunch of desktop envs' programs also use this, so it's nearer to OS-wide standardized behavior.

i3

Posts with mentions or reviews of i3. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.
  • Show HN: Chrome Reaper
    4 projects | news.ycombinator.com | 19 Dec 2023
    While I believe Memory Saver was a great improvement, it only works if the tab is hidden or the window minimized. I recently learned the required state is not triggered if the tab is open but on another virtual desktop. At least this is the case with many of not all Linux window managers. Some of the many discussion threads on the topic:

    https://github.com/i3/i3/issues/4353

  • Firefox 121 defaults to Wayland on Linux
    5 projects | news.ycombinator.com | 19 Dec 2023
    > This is very true, and unfortunately there are very few people working on linux accessibility (including not me! I am part of the problem!).

    Accessibility work itself ironically suffers from an accessibility problem. I brought up i3wm above, the issue for that is pretty illuminating: https://github.com/i3/i3/issues/3393

    It's not that the devs are saying "this doesn't matter", the devs behind one of the most popular tiling window managers in the X11 ecosystem are saying, "this does matter, but we don't know how to fix it. We don't know what changes we'd need to make to get Orca working."

    It's a really fundamental breakdown that's kind of a tragedy because I honestly believe that if accessibility communities were more heavily baked into testing and development in Linux and if this wasn't treated like two separate worlds, it would be better for everyone -- fixing accessibility concerns very often improves interfaces across the board and makes them more powerful.

    But... how do you bridge that gap? I don't really know, I tried looking into Orca to see what would need to happen here and bounced off of it pretty hard, it's not a very approachable tech stack and there aren't tutorials or getting started guides. And on the other side of the issue I can preach about needing accessibility input during interface design, but I'm not in a position to give specific advice because I don't use screenreaders or alternate control schemes and I don't know what the biggest problems are.

    The people who need to be involved in that process can't get involved because there's a tech barrier in place even for technically inclined people, and because the underlying software locks them out from the start. i3wm isn't ever going to get someone who's intimately familiar with Orca to jump into the conversation because the people who need to use Orca can't use i3wm. So that leaves the people who can address that tech barrier, but they don't know what to do or how to approach the problem because of the lack of involvement and because the communities are isolated from each other. So it's a chicken-and-egg problem and I don't know how to solve it.

  • "We understand" ;)
    2 projects | /r/discordapp | 9 Dec 2023
    This is partially why i use tools like i3 (/ sway). i like the tool; it works extremely well for me; the design has stayed the same for 20 years; there's no profit motive to come along and fuck everything up. it just works. it is boring in the best way possible.
  • what machines have you used for development, and what do you prefer?
    1 project | /r/webdev | 4 Jul 2023
    I use MacBook Pro (Retina, 15-inch, Mid-2014) with Manjaro as OS using i3 as a window manager. It isn't perfect, but I'm thrilled with it. I have been a Mac OS user for the last 15 years and wouldn't change what I have now for a Mac OS because I don't need more than what I'm using for development.
  • The future of /r/i3wm
    1 project | /r/i3wm | 18 Jun 2023
    Even though, we have moved the official i3 support channel to GitHub discussions, i3's biggest community is still on reddit and if things continue like that there is going to be a lot of helpful content on an increasingly closed platform.
  • while in i3wm, krita dockers move downwards a bit each time they're spawned - how do I fix this?
    1 project | /r/i3wm | 12 Jun 2023
  • i3wm-like window switching for Windows
    1 project | /r/software | 9 Jun 2023
  • egui_overlay - A transparent Overlay window where you can only click the "egui parts"
    3 projects | /r/rust | 4 Jun 2023
    for example, take i3. https://github.com/i3/i3/issues/4478
  • How to start on a Linux desktop environment?
    2 projects | /r/osdev | 4 Jun 2023
  • Machine for pentesting and general use?
    1 project | /r/Kalilinux | 23 May 2023
    For daily usage I really like kubuntu with i3wm, but it takes some configuration and getting used to the shortcuts, but it's well worth it

What are some alternatives?

When comparing trash-cli and i3 you can also consider the following projects:

zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.

sway - i3-compatible Wayland compositor

rm-trash - A "rm-trash" is meant to be used in place of rm system command in linux . This script will safely delete your files and put them in the trash for later retrieval.

awesome - awesome window manager

grub-btrfs - Include btrfs snapshots at boot options. (Grub menu)

bspwm - A tiling window manager based on binary space partitioning

rabbitvcs - The new home of rabbitvcs

wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios

rmtrash - Put files (and directories) in trash using the `trash-put` command in a way that is, otherwise as `trash-put` itself, compatible to GNUs `rm` and `rmdir`

xmonad - The core of xmonad, a small but functional ICCCM-compliant tiling window manager

You-Dont-Need-GUI - Stop relying on GUI; CLI **ROCKS**

tmux - tmux source code