Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6003597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:08:39+00:00 2026-05-23T01:08:39+00:00

I am looking for a good python API to access the Trash folder in

  • 0

I am looking for a good python API to access the Trash folder in Linux. This is part of a simple productivity software that will help user organize their files, and empty their trash folder on a regular basis. I want to make this work for GNOME, but I would like to expand it to other desktop environment.

Do you have any suggestion on how to get one ?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:08:39+00:00Added an answer on May 23, 2026 at 1:08 am

    I don’t think that there is an API for that. I think (or rather, the voices in my head on the internet say) “Empty Trash” is a map to rm -rf ~/.Trash/*. (Actually, that should be true for both KDE and Gnome, but I don’t know about XFCE, Slim or XKCD. Of course, if you have XKCD as a windows manager, I don’t think you’ll ever need to worry about trash.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a good library that will integrate stiff ODEs in Python. The
I am looking for a good introduction to Python namespaces. I found this tutorial
I'm looking for a good IDE to programming with Python, I found this http://ninja-ide.org/
I've been looking around for a good MVC framework for Python using PyGTK. I've
I'm looking for good/working/simple to use PHP code for parsing raw email into parts.
I'm interested in speed, not good looking code, that is why I'm using array
I'm looking for a good python library to manipulate subversion repositories. I'm trying out
Are there any other good Python web frameworks? I'm looking to try something new,
I'm looking for a good OpenCL wrapper\library for Python, with good documentation. I tried
I am looking for a good example of a Django / python based Google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.