Convert mime type from freededesktop spec to libmagic format

After read shared-mime-info spec and add my own types in /usr/share/mime/packages. I have refreshed the database: $ update-mime-database /usr/share/mime I have try with gvfs-info, it return the...

stdlib.h: no such file or directory

I am using various stdlib functions like srand(), etc. I have the line #include <stdlib.h> at the top of my code. I entered this on the command line: # find / -name stdlib.h find:...

ZSH history completion menu

Zsh autocomplete is amazing, but I cannot configure one thing properly: I want zsh to offer me a list of commands from history. I know that I can search the history with Ctrl+R, but I want...

Connect to davs with emacs

I'm trying to access a remote davs server with emacs through tramp. I use the syntax /davs:[email protected]: TAB With ftp, this would ask for a password, connect to the server and open a...

jhbuild repository cloning failed

I'm currently using Ubuntu 12.04 and jhbuild ver 3.12.0 and git version 1.7.9.5. Earlier I asked a question and it was resolved, now the same problem(I suppose it's the same problem) arises when i...

docker container won't start because an existing pid file

When I start a docker container it fails because an existing pid file: [[email protected] sergio]# docker logs sharp_shockley httpd (pid 1) already running httpd (pid 1) already running httpd (pid 1)...

Gettext message catalogues from virtual dir within PYZ for GtkBuilder widgets

Is there an established approach to embed gettext locale/xy/LC_MESSAGES/* in a PYZ bundle? Specifically to have Gtks automatic widget translation pick them up from within the ZIP archive. For...

How to get the list of clients connected to an NFS server within a local network?

I have an NFS server with folder permissions as follows. There are 50 clients which need to connect to this server within the same network. I would like to know what's the command to lookup which...

Gtk Ckipboard: pasting files from a source with custom URI scheme

I'm trying to write a a GTK/C application that puts some files on the Gtk clipboard, so a user with Nautilus will be able to paste them. There is a good example of Gtk Clipboard local file copy...

Mounting a windows share in Windows Subsystem for Linux

I'd like to mount a windows server from within WSL (Windows Subsystem for Linux). On Ubuntu (with unity interface) I can just type gvfs-mount smb://domain\;[email protected]/share and everything...

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...

How do I get Qemu USB Passthrough to work for iPad / iPhone?

I'm trying to setup a Mac OS virtual machine to do iPad development. The host system is Ubuntu 18.04, and I'm using the stock qemu packages from the Ubuntu repo. I've got a Mojave VM up and...

How to avoid 'Driver write request failed' error while writing large amount of data to h5 file?

I'm trying to write a large amount of data to a h5 dataset using the following set of lines: fpath = '/run/user/1002/gvfs/smb-share:server=path.to.server,share=Project/data.h5' hf =...

Moving IntelliJ IDEA caches/index directories to RAM

I'm trying to move caches and index directories from the IntelliJ IDEA config dir to RAM mount point in /tmp using symbolic links. I've added: tmpfs /tmp/ramdisk tmpfs...

Is gvfs-trash installed? in Atom

When I tried to remove a file in local machine to check files are synchronous with vagrant development server it pops up an error: The following file couldn't be moved to the trash. Is gvfs-trash...

Qemu USB Passthrough iPhone disconnects repeatedly

I've a MacOS Catalina in virtual machine (libvirt/qemu), host machine is Fedora 31. I want to passthrough an iPhone SE for iOS development. When I connect the iPhone I see it in...

How to Fix NonFunctional X11 Mouse on WSL2

UPDATE Oct 12, 2020: I created another Linux user and that user has no problem with the mouse ... for the first login. After that, the new user also did not show a mouse cursor in the X11 server...

Build a C ++ project in statics using OpenCV static libraries

I am trying to build a simple C ++ project (just declare an object of type cv :: Mat in main.cpp) in statics. Nothing comes out. I tried all the methods described on the Internet in my opinion - a...

Heroku requirements.txt dependencies not installing, returning ImportError: No module named selenium

I'm trying to deploy a Python script on Heroku that utilizes Selenium. I have my Python script file, Procfile, requirements.txt(created via pipfreeze), and runtime.txt files all created in my root...

Testing for GVfs metadata support in C

I am trying to add support for per-directory viewing settings to the Thunar file browser of the Xfce desktop. So for example if a user chooses to view the contents of a directory as a list rather...

Python 2.7.18 has no pip?

I have recently upgraded to Ubuntu 20.04 and with it came Python 2.7.18rc1. But I found out the worst way possible that pip is nowhere to be found (yet Python 3's pip exists). How come? That's...

Push error on git repo hosted on a Windows shared folder from Linux

I've seen this question on SE, this other question on SuperUser and this question on AskUbuntu, but they seem to side step my situation. I have a shared folder hosted on windows. I've created a...

Blender 2.9 Could not find a matching GPU name warning on Chromebook

I'm using an Asus Chromebook with a CPU(I think). This is what the Error says: Warning: Could not find a matching GPU name. Things may not behave as expected. Detected OpenGL...

Tensorflow 2.3.0 in Ubuntu: libcublas.so.10: cannot open shared object file

I was trying to run in Keras but got terminate called after throwing an instance of 'std::bad_alloc' which doesn't make sense since I'm running the same Unet as before. I did make changes to...

E: Package 'gvfs-bin' has no installation candidate

After installing Google Chrome in my Docker Container with RUN wget -qO - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ && echo "deb...

Visual Studio Code 1.51.1 not launching on Ubuntu 20.10 (ERROR: GLIBC_2.29' not found)

VSCODE VER: 1.51.1 This shows up with code --verbose: /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name Failed to load module:...

Problems with msqli and mssql and broken php7.2 on linux

I have a local application with laravel 5.5 using a mysql databse on my ubuntu18.04.1. It is hosted on a server with php7.2, and I had the same version of php in my system. All was working fine....

how to allow docker nginx webdav writing into a mounted directory?

This is the docker-compose for nginx nginx: container_name: nginx image: nginx build: context: ./dockerfile dockerfile: nginx volumes: - type: bind source: ./config/nginx/nginx.conf ...

fatal: could not set 'core.filemode' to 'false'

Hello this post has the same question as mine but the solution does not fix the problem. I have tried sudo and this is the outcome: (base) me$ sudo git clone...

How to compile python3 on RHEL with SSL? SSL cannot be imported

I'm trying to compile python on RHEL because my current python is using an old 1.0.2k ssl version. (test_env) [[email protected] tlscheck]$ python3 --version Python 3.9.3 (test_env) [[email protected]