Code Monkey home page Code Monkey logo

Comments (12)

ksrikanthcnc avatar ksrikanthcnc commented on September 18, 2024 1

I think, it is not recognizing the 'gio' app installed on my pc
source: variety-master/variety/VarietyWindow.py -> mov_to_trash function

from variety.

ksrikanthcnc avatar ksrikanthcnc commented on September 18, 2024 1

"Cannot delete
Deleting to trash failed because no suitable program is installed.
Please install gio (part of GLib), trash-cli, or konqueror. " notification pops up

from variety.

jlu5 avatar jlu5 commented on September 18, 2024

Can you attach ~/.config/variety/variety.log?

from variety.

ksrikanthcnc avatar ksrikanthcnc commented on September 18, 2024

variety.log

from variety.

jlu5 avatar jlu5 commented on September 18, 2024

To be more precise... Please try using the delete option and attach variety.log from that time you run Variety (I don't see anything related to Trash in the log you posted)

from variety.

jlu5 avatar jlu5 commented on September 18, 2024

What do you mean by not recognizing? What errors are you seeing?

from variety.

ksrikanthcnc avatar ksrikanthcnc commented on September 18, 2024

i can run 'gio trash < filename > ' from terminal

from variety.

mtompkins avatar mtompkins commented on September 18, 2024

I can confirm this condition on Arch.
Only entry in log looks like:

ERROR: 2018-06-16 13:08:46,374: _go() 'Trash resulted in error code 1'

from variety.

xuchang1209 avatar xuchang1209 commented on September 18, 2024

Yes, I got the same issue on my PC with Ubuntu 16.04 LTS version:
Deleting to trash failed because no suitable program is installed. Please install gio (part of GLib), trash-cli, or konqueror.

from variety.

NouGithub avatar NouGithub commented on September 18, 2024

Confirmed "Deleting to trash failed because no suitable program is installed." Also on Ubu 16.04.

from variety.

LucidEye avatar LucidEye commented on September 18, 2024

I'm having the same problem... every time I try to delete a background using the tray icon menu I get this error.

"Deleting to trash failed because no suitable program is installed.
Please install gio (part of GLib), trash-cli, or konqueror."

Gio is installed and working fine from the command line, it just doesn't work with Variety.
I do not have trash-cli installed.
I do not have konqueror installed.
I am using Caja for my file manager, and moving files to the trash works fine from there.

This seemed to happen after running an update about 2 or 3 weeks ago. I also ran an apt-get autoremove after that update, which removed a LOT of packages, but didn't seem to have any negative effects on the system other than this problem with Variety. I'm assuming some dependency was broken via the update or autoremove process... or possibly permissions changed somehow on the wallpaper folder?

Here's my OS version info:
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
Variety version : 0.6.9
Here is my Variety.log file:
variety.log

I have also noticed that since this problem started, that Variety is not auto-starting on boot up. Also, if I have Variety running, and put the machine in standby, Variety is no longer running when I wake up the machine.

from variety.

peterlevi avatar peterlevi commented on September 18, 2024

We should do this directly via Gio rather than rely on external tools:
https://lazka.github.io/pgi-docs/Gio-2.0/classes/File.html#Gio.File

from variety.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.