Speed up nautilus python-extensions for reading image's Exif

I've written a Nautilus extension which reads picture's metadata (executing exiftool), but when I open folders with many files, it really slows down the file manager and hangs until it finishes...

Drag and drop file example in pygobject

I am trying to port sample drag and drop example from pygtk FAQ to pygobject. from gi.repository import Gtk as gtk import urllib import os TARGET_TYPE_URI_LIST = 80 dnd_list = [ (...

Why did apt-get purge removed nearly my whole ubuntu?

Normally I remove packages with apt-get purge <package>. But nearly an hour ago, I crashed my whole system by removing a package. I never had the problem ago, so I do not understand what my...

F# Error FS3033 unsupported DbType 'Structured'

I’m trying to query our database in F# but I’m having a lot of errors when I get the data context. Here is my connection command: #r "System.Data.dll" #r "FSharp.Data.TypeProviders.dll" #r...

Error when uploading Symfony project in the server with two different PHP version

Currently, I have two different PHP version in the server: PHP version 5.2.11 wherein this is the original PHP version in the server. PHP version 5.4.44 php version that is uploaded and set up in...

Javascript Text Rotate

Hello guys it's been bugging me all night. I've been trying to get together a word rotate feature that decreases in speed and then eventually stops. Think of it like a word roulette. So i have the...

My <div class = content "> overlap with nav-justified

I have a nav-justified list for my login page because you can connect with a login / password or guest mode. The problem is that if I click Login, Guest is still displayed and if I like reclique...

Where can I find the QWebPage and pymongo in python3.4?

I'm working on some code that requires a number of packages from python qt 5. I get a missing package error upon importing the QWebPage module: from PyQt5.Qt import QWebPage,...

MATLAB system does not run applications

I am trying to interact with SUMO via MATLAB according to script here. At line 43, the MATLAB command is system(['sumo-gui -c ' '"' scenarioPath '"' ' --remote-port 8873 --start&']); Since I am...

Can't set innerHTML of a div with Html.Action("_TaskDetail", "ProTask")

In a Click handler I am trying to set the innerHTML of a div(detail_popup) with a MvcHtmlString. MvcHtmlString Bobo = @Html.Action("_TaskDetail", "ProTask"); Note: _TaskDetail is a partial...

Python - Check if value is equal to returned json response

Tell me if I'm wording this poorly. I'm calling a json response from the League of Legends API. I get back a response that looks like this. { "champions": [ { "id": 111, "stats": { ...

VNC Mac OS X and Linux connection refused by computer

I am having issues using VNC between MacOS X and Linux. I installed tightvnc server on CentOS Linux and vncviewer on Mac OS X. I have done all the setting to my best knowledge and then started...

django models/admin issue - admin displays table twice

We moved a django model from one app to another ("PollRunForJira" was moved from "reports" to "jira_fat"). All the code seems clean from the old model and the django_migrations DB table is clean...

LAMPP Error #1932 after update: Tables don't exist

I recently updated my Ubuntu server, and now all the tables in my database are telling me they don't exist. I had some issues with phpMyAdmin after restarting the machine, so I reinstalled it and...

How to fix broken apt-get on debian wheezy?

I'm using a debian wheezy at work. Packages are held in specific versions. My /etc/apt/sources.list contains lines like : deb http://mycompany.com/debian/debian-main/ wheezy main non-free...

Unknown Cmake command qt5_wrap_ui

I downloaded nitroshare.tar.gz file as i want to install it on my kali linux. I followed up instructions as said on there github page to install it & downloaded all the packages that are required...

Installing flex on fresh Debian 9

TL;DR: The error is, "Package 'flex' has no installation candidate." I can't seem to install flex on fresh, new Debian 9 install (on a VM, if that makes a difference). I have installed it on...

Manage Docker container's file-system directly on the host

For development, testing and analysis purposes I would like to be able to manage the container's file-system directly on the host. Using this simple hack... cd /proc/$(docker inspect --format...

ext4: how to recover allocated inode

I have a special problem with an ext4-filesystem on Ubuntu 16.04. I wanted to move some directories to a different location using the filemanager "nautilus". For an unknown reason the transaction...

Open files from Linux bash shell on Windows 10

Using Windows 10 and I have the Linux Bash Shell to use with Jekyll. All I am looking to do is open the explorer or filesystem to copy some files. Does anyone know how you browse the file explorer...

Fail to install nautilus on Ubuntu 18.04. (unmet dependencies)

Previsouly, my ubuntu coule not load USB disk, and I tried to sudo apt-get remove nautilus. But that did not fix the USB loading issue, and now I can not install nautilus as well. When I ran sudo...

How to make a draggable GTK widget that will drop a file in other programs

I want to make a GTK widget, when dragged and dropped in another program, will act as if a file was dropped (behaving the same way as dragging a file from Nautilus). I have tried 3 different ways...

Postgres11 can't start when I changed its default data directory in CenoOS

I changed the postgres data directory following these steps: systemctl stop postgresql-11.service cp -r /var/lib/pgsql/11/data /home/eshel/pgsql-11/ chown -R postgres:postgres...

running shell script with html button

I am working with 3 scripts with to goal to command a shell script with an HTML button. My shell script launch simply 'nautilus', a linux file browser: #!/bin/bash nautilus exit 0 The PHP script...

Rookv1.2 does not add labels on CrushMap

I'm currently working with Rook v1.2.2 to create a Ceph Cluster on my Kubernetes Cluster (v1.16.3) and I'm failing to add a rack level on my CrushMap. I want to go from : ID CLASS WEIGHT TYPE...

ceph-deploy: error: unrecognized arguments: --data

I am trying to install ceph and configure on a mounted disk. I have the disk location, however, I face a problem when I use the --data parameter. command: ceph-deploy osd create --data...

How to fix degree symbol not showing correctly in R on Linux/Fedora 31

Any map I make with: ggplot() + geom_sf() produces the expected map, but does not show the degree sign correctly, as appears from the following picture. The answer given in this answer on SO...

Rook ceph not deploying

I seem to be having an issue deploying rook ceph in a k8s cluster on fedora-coreos. I'm hoping someone can help me resolve the issue, I have Googled but can't find a resolution for this. Below is...

how to copy or cut a file for nautilus using qclipboard

I want to copy a file to nautilus using Qclipboard. This is what I made from PyQt5.QtCore import QUrl from PyQt5.QtWidgets import QApplication data = QtCore.QMimeData() url =...

ceph raw used is more than sum of used in all pools (ceph df detail)

First of all sorry for my poor English In my ceph cluster, when i run the ceph df detail command it shows me like as following result RAW STORAGE: CLASS SIZE AVAIL USED ...