linux-mint

Intellij Idea alt + click to evaluate debugger code not working in Mint

别来无恙 提交于 2019-12-08 16:10:29
问题 On Windows, and I think Mac, holding alt + left click on a section of code when paused in the debugger will evaluate the expression and show the value in a tooltip. It's much more convenient than alt + f8 and ctrl + alt + 8 . In Linux Mint, holding alt and clicking doesn't do anything (I've disabled Mint's "Special key to move and resize windows"). Is there a way to map it to alt + left click , or a different key combination to evaluate an expression by clicking on it? 回答1: Found it mapped to

/dev/input file created, but contains no data stream

不羁岁月 提交于 2019-12-08 07:14:32
问题 So, I'm trying to read a USB device in a brand new installation of Linux Mint. The way I've done it before is to read the raw stream found in /dev/input/by-id The device is being detected, and it is producing the expected device: $ ls /dev/input/by-id/ usb-Generic_WebCam_SC-13HDL11939N_200901010001-event-if00 usb-Logitech_Logitech_Buzz_tm__Controller_V1-event-if00 But when I look at the file using tail -f /dev/input/by-id/usb-Generic_WebCam_SC-13HDL11939N_200901010001-event-if00 No data is

linux mint mysql-server and mysql-workbench installation and setup issue

百般思念 提交于 2019-12-08 06:54:34
问题 I tried to below OS installed on my laptop Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) I have installed mysql-server using below command: xxxxxxx:~$ sudo apt-get install mysql-server During this installation I was not prompted to enter any root password. TO see if installation was successful, I ran below command: xxxxxxxxxx:~$ mysql -V mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper xxxxxxxxxx:~$ sudo service mysql status ● mysql

Error with rhc-create-domain on command line (Openshitft)

与世无争的帅哥 提交于 2019-12-08 06:02:09
问题 First I do not know much about Ruby, but, the Openshit command line uses the 'rhc' to manage my apps on cloud. Nice!...but the 'rhc' program its based on Ruby, Rubygems....something. Ok, i'm installed theses programs with apt-get on Linux Mint (Ubuntu based): sudo apt-get install ruby1.8 sudo apt-get install gem sudo apt-get install rubygems gem install json_pure gem install rake gem install rhc Nice!..rhc its visible in my console, but when i try execute any rhc command, the console returns

What can I do against 'CUDA driver version is insufficient for CUDA runtime version'?

泄露秘密 提交于 2019-12-08 01:32:21
问题 When I go to /usr/local/cuda/samples/1_Utilities/deviceQuery and execute moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make clean rm -f deviceQuery deviceQuery.o rm -rf ../../bin/x86_64/linux/release/deviceQuery moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make "/usr/local/cuda-7.0"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch

work flow for using git 2.5 for multiple work directories using 'git worktree'

让人想犯罪 __ 提交于 2019-12-07 16:48:20
问题 Being very new to git, I'm trying to get an overview of how to use multiple work directories for different branches off one github project. In particular I want/need to work on two branches - one the 'master' the other one a maintenance release, say maintenance/project1. The plan is to run the work under Linux/Mint 17.2. As well, I would like to make use of the latest git worktree features introduced in 2.5. Assuming I have a github account, have forked my own fork off the main project and

ruby on rails “usr/bin/env: ‘ruby2.3’: No such file or directory”

自闭症网瘾萝莉.ら 提交于 2019-12-07 11:27:34
问题 I got some problem when i typing bundle exec rake db:migrate on terminal then i received the result like `/usr/bin/env: ‘ruby2.3’: No such file or directory 回答1: I had the same problem but when running: rails new my_application but after reinstalling the rails gems by: gem install rails it worked just fine and I could run: rails new my_application bundle install and bundle exec rails s without any problems. 回答2: For me, the problem was with a cached set of gems (on CircleCI 2.0). I changed my

Unable to install package car

梦想与她 提交于 2019-12-07 10:47:06
问题 I am using R version 3.2.3 in Linux mint 17.3 64 bit. I was trying to install the package "car" with dependencies=TRUE , but the installation failed with the following error messages: > warnings() Warning messages: 1: In install.packages("car", dependencies = T) : installation of package ‘minqa’ had non-zero exit status 2: In install.packages("car", dependencies = T) : installation of package ‘RcppEigen’ had non-zero exit status 3: In install.packages("car", dependencies = T) : installation

Having trouble installing PyAudio for Python3 on Mint

痞子三分冷 提交于 2019-12-07 03:30:46
问题 I was following the instructions here and I'm having trouble getting the installation to work. Basically, the first part works fine. I downloaded portaudio, followed the instructions, and it all seemed to work. However, when I tried python3 setup.py install , I got an error. The error came from the /src/_portaudiomodule.c file, and it said that "The file Python.h could not be found". I don't really understand what's going on because there was no Python.h file when I extracted the PyAudio

How to execute my C program line by line in geany as in turbo C

自古美人都是妖i 提交于 2019-12-06 21:33:25
I have switched to Linux Mint from Windows 7 and now I am using Geany to write C programs in it. As I mentioned in the question that I want to execute my program line by line in Geany. During execution is there a way where I can see the value of variables in Geany?. I am using Geany because it's light weight and it has an integrated terminal, compiler, scribble, etc. which is very simple to use... rohankvashisht Install Geany Debugger Plugin and then you can easily execute your program line by line. Step 1: Install Optional Add Ons: Graphical GDB Front end for geany set of plugins for geany