Is there a decent way to inhibit screensavers in linux?

I'm looking for a decent, non-lame way to inhibit xscreensaver, kscreensaver, or gnome-screensaver, whichever might be running, preferably in a screensaver-agnostic manner, and it absolutely...

mod_rewrite seemingly broken with latest httpd upgrade

At our office, our security team has been running yum updates on our rhel5 servers. One of the affected packages is the httpd package. Before the update, we were successfully able to utilize...

From virtualenv, pip freeze > requirements.txt give TONES of garbage! How to trim it out?

I'm following this tutorial: http://devcenter.heroku.com/articles/django At some point I'm suposed to do: pip freeze > requirements.txt (Ofc. from virtualenv created instance of python) And I...

Ubuntu meld: No GSettings schemas are installed on the system

This is a vanilla Ubuntu 16.04 LTS, based on Xubuntu core to be exactly. So I need to install packages myself. All went well except meld, on starting which, I'll get: (meld:4188): GLib-GIO-ERROR...

Visual block edit in vim

I have refer to this post to use block editing in vim. But when I key I or c after the block select, vim enters the normal edit mode just as if I pressed a i. I also found, when block is selected,...

Tensorflow OOM on GPU

i'm training some Music Data on a LSTM-RNN in Tensorflow and encountered some Problem with GPU-Memory-Allocation which i don't understand: I encounter an OOM when there actually seems to be just...

Why JVM Crashes frequently ....?

I am getting below error while running java program in linux os.. I get below jvm crash log. It frequently crash jvm. I am using java-1.6.0-openjdk-1.6.0.0.x86_64. # # An unexpected error has been...

Errors: grub-efi-amd64-signed & shim-signed

pI need to fix the following problems I do not have experience in linux, so please possible give me simply explanations and the code to type in command line and fix the problems, please! I checked...

Convert JSON to pd.DataFrame

I can't convert this code to df I tried df = pd.read_json('australian_user_reviews.json') and have error: ValueError: Expected object or value {'user_id': '76561197970982479', 'user_url':...

cannot create temp file for here-document: no space left on device when I use tab

when I use tap for cd, this error come. cannot create temp file for here-document: No spae left on device and below is the df -i results. there are many /dev/loop folders, what is it? and what...

Cannot dlopen some GPU libraries. Skipping registering GPU devices

Tensorflow is only using the CPU and wont use the GPU. I assume its because it expects Cuda 10.0 and it finds 10.2. I had installed 10.2 but have purged it and installed 10.0. Im running Ubuntu...

How to run Gnome-Shell under Docker?

How do you run Gnome-Shell from inside Docker? I'm trying to create a simple continuous build process for a Gnome Shell Extension, just to simulate and test installation. In order to make it...

Getting "CUDA_ERROR_INVALID_VALUE: invalid argument" in python with Tensorflow

When I run the snippet below, as python test.py import os # Enable '0' or disable '-1' GPU use # os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ['CUDA_VISIBLE_DEVICES'] = "0" import...

Upgrade to Ubuntu 20.04 killed pip

I upgraded to Ubuntu 20.04 from 19.10 and now I cannot use pip. zeno:~$ pip --version Command 'pip' not found, but there are 18 similar ones. Python is installed: zeno:~$ python3...

How to get steam to run on Ubuntu 20.04

Steam won't run =( Here's what I've tried: I have a fresh install of Ubuntu 20.04 (via Ubuntu Server Live Installer + ubuntu-desktop package) with nvidia drivers: $ nvidia-smi Mon Jun 22 10:26:49...

Why doesn't the VSCode debugger work with default launch.json settings in C#?

The debugging doesn't work at all. When running 'dotnet run' from an external terminal, the app runs with no problems(builds and runs properly). But when going to the "Run" tab in the "Activity...

Python: TypeError: required field "type_ignores" missing from Module in Jupyter notebook

I have been having issues with my jupyter notebook for a few days. I didn't fix them at the time but have decided to now. Earlier whenever I executed anything in the jupyter notebook, It showed a...

Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory;

When I try to run a python script , which uses tensorflow, it shows following error ... 2020-10-04 16:01:44.994797: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully...

ffmpeg takes too long to start

I have this command in python script, in a loop: ffmpeg -i somefile.mp4 -ss 00:03:12 -t 00:00:35 piece.mp4 -loglevel error -stats It cuts out pieces of input file (-i). Input filename, as well...

Tensorflow Could not load dynamic library 'libcudart.so.10.0 on ubuntu 18.04

I have $ python3 -c "import tensorflow as tf;print(tf.__version__)" 1.15.0 and $ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on...

Android Emulator Segmentation fault (core dumped) On Fedora 33

Using the Android 11.0 (R) SDK platform (revision 3), when I run an emulator image (Google Play Intel x86 Atom or Atom_64 System Image, revision 9), the emulator crashes. Doing the same from the...

CMake Error at cuda_compile_1_generated_batch_norm_layer.cu.o.Release.cmake after downgrading GCC 9.3.0 to 7 for openpose

Do you know how I could fix the following error? It happened after I downgraded from GCC 9.3.0 to 7 using the following commands (with the previous version of GCC I got this error:...

system76 ubuntu 20.04 tensorflow gpu cuda version conflicts

After an upgrade to Ubuntu 20.04 from 18.04 Tensorflow is no longer able to use my gpu because it is attempting to mix and load different versions (some 10 and some 11). It is a System76 machine,...

Gnome Boxes on Fedora 33 fails to open

I attempt to load gnome-boxes from the terminal (I'm running Fedora 33) and get the following error $ gnome-boxes (gnome-boxes:3194): Gtk-WARNING **: 12:34:57.343: GtkFlowBox with a model will...

Tensorflow cannot dlopen libcudnn

I am attempting to get GPU training working in Tensorflow 2.4.1. I am running Ubuntu 20.04, with Nvidia driver 460.32.03. I have installed CUDA toolkit 11.2, and cudnn8. When starting tensorflow,...

Segmentation fault (core dumped) on training the deep neural network /torch/cuda/__init__.py", line 172 in _lazy_init

python3 -q -X faulthandler test.py --model.backbone=resnet18 2021-02-07 20:14:21.198583: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library...

Gitlab remote: fatal: write error: No space left on device

I get the following error when I do git push -f origin master warning: redirecting to https://gitlab.iit.it/muhammad.mehdi/memex-app.git/ Enumerating objects: 1048, done. Counting objects: 100%...

"Could not load dynamic library 'libcudnn.so.8'" when running tensorflow on ubuntu 20.04

Note: there are many similar questions but for different versions of ubuntu and somewhat different specific libraries. I have not been able to figure out what combination of symbolic links,...

tensorflow does not use gpu error Could not load dynamic library 'libcudnn.so.8'

I can't resolve this problem: I have GTX-1050. (base) (venv) [email protected]:~/_mgr/Lenet$ python train_network.py --dataset images --model 90_180_270_plus_originalne 2021-05-04...

Android build failing during soong bootsrap -- uses all resources and hangs

I'm building AOSP11 and building on Ubuntu 18.04 and early in the build process I get the following error: soong bootstrap failed with: exit status 1 It fails during this...