Menu
  • HOME
  • TAGS

Why my process has been killed?

linux-kernel,out-of-memory,linuxmint

You are victim of the Linux OOM Killer. You can tune the way that the OOM killer handles OOM conditions with certain processes. for example, your my_proj process 3915 that was killed earlier. If you want it not to be killed by the OOM killer, you can : echo -15...

Get screen pixel color linux python3

python,linux,gtk,linuxmint

w = Gdk.get_default_root_window() pb = Gdk.pixbuf_get_from_window(w, x, y, 1 ,1) that should do it. Note that pixbuf_get_from_window() can return None just like the Gdk2 function you used: you must check the return value before using it....

Python Module Error on Linux

python,linux,pycharm,linuxmint,spyder

You don't set the path to the gurobipy. Download then untar to /opt. cd to `/opt/gurobi562/linux64` and run `python setup.py install` Add following to ~/.bashrc. export GUROBI_HOME="/opt/gurobi562/linux64" export PATH="${PATH}:${GUROBI_HOME}/bin" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib" From bash type source ~/.bashrc start ipython shell and try from gurobipy import *, it should work fine, the...

How to remove “CannotImport” error in Python-kivy?

python,ubuntu-14.04,kivy,linuxmint

Don't call your file new.py - this conflicts with the new module in Python, which is causing a circular import.

SSH Key does not work on a fresh linux install

git,ubuntu,ssh,linuxmint

This worked for me (answer taken from here): "For me since the key itself was encrypted, I followed the following steps: Start ssh-agent: $ ssh-agent bash Add standard identity key to the key manager: $ ssh-add If you want to add a different key, then: $ ssh-add /location/of/key To inspect...

php5_invoke xdebug: no action - module was disabled by maintainer for apache2 SAPI

php,apache2,xdebug,linuxmint

I managed to manually activate again, the solution is to create a shortcut xdebug.ini file and paste it in the loading extensions folder. Create a shortcut xdebug.ini file to your desktop: /etc/php5/mods-available/xdebug.ini The contents of this file is: zend_extension=xdebug.so Copy the shortcut created on the desktop to the folder: /etc/php5/apache2/conf.d/...

Full desktop size in vmWare workstation [closed]

linux,vmware,linuxmint,vmware-workstation

To enter into the full desktop view of the guest OS(Linux Mint), you need to press Ctrl + Alt + Enter. This will get you into the full-screen mode of guest OS,Linux Mint here. Also, to return back to the host OS(Windows 7), press Alt + Enter and the pointer(cursor)...

How to replicate a Python 2.7, Bottle, MongoDB OpenShift application locally in Linux Mint 17?

mongodb,python-2.7,openshift,bottle,linuxmint

Directory Structure This is the structure of my app now that it is running locally: Environment Linux Mint 17 Cinnamon Steps To Replicate Locally 01) MongoDB 2.4.9 - DONE Install instructions for MongoDB 2.4.9 on Linux Mint 17: http://docs.mongodb.org/v2.4/tutorial/install-mongodb-on-ubuntu 02) RockMongo 1.1 (which requires Apache, PHP and MongoDB Driver) -...

How to change some defaults text showed in the terminal

terminal,linuxmint

Your question is a bit on the cryptic side ... Is this what you are looking for (customising the bash prompt ?) If it's not feel free to say more about which shell you use and what you really want to achieve....

How do I uninstall a desktop app for Firefox OS?

firefox,ubuntu,firefox-os,linuxmint

Linux distros differ, but those that support Desktop Actions should uninstall the app when you select "uninstall" from the context menu. I'm not sure why that isn't working for you, but a workaround, as described in bug 761806, comment 60, is to invoke the app's executable with the -remove flag...

KDE Search and Launch Blank

kde,linuxmint

Run this in terminal: sudo apt-get install plasma-netbook ...

what is difference between packet_ops_spkt and packet_ops

linux,linux-kernel,linux-device-driver,archlinux,linuxmint

Google it and for your reference, http://lxr.free-electrons.com/source/net/packet/af_packet.c#L2788 If sock->type is SOCK_PACKET then use the packet_ops_spkt stucture The SOCK_PACKET is used to write raw socket, if you create socket with SOCK_RAW type. http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch29lev1sec4.html...

Makefile for a c++ code while using Armadillo matrix library

c++,c,makefile,armadillo,linuxmint

Your Makefile is not telling the linker to link it with the Armadillo library. A way to solve it, although I'm not sure if it's the "good practices" way is to add -l armadillo to the end of the "all:" line. It probably will be unable to find "EXCUTE_ALL", as...

how to get time execution of a program in linux terminal separately

linux,bash,time,terminal,linuxmint

You can use -f to format the time command: $ /usr/bin/time -f "\t%E Elapsed Real Time" touch a 0:00.00 Elapsed Real Time The geek stuff has a very broad documentation on this topic: 12 UNIX / Linux Time Command Output Format Option Examples. It is also funny that calling it...

How to install nerdtree plugin on linuxmint for vim74

vim,linuxmint,nerdtree,pathogen

You don't need a plugin manager; it just makes management and updates easier [when you have several plugins]. The simplest (and still perfectly valid) way is to just unzip the plugin(s) into a ~/.vim directory. Go to the plugin's GitHub page, and click "Download ZIP". Unzip to ~/.vim: $ mkdir...

Play sound on terminal output

ruby-on-rails,linux,bash,terminal,linuxmint

This might be a pretty complex solution, but it does what I need. In my .bashrc file, I added the following: #ensure that the call is made only once, preventing an infinite loop if [ $SHLVL == 1 ] then script -afq ~/custom/log.txt #log everything that happens in the shell...

Nemo - Custom Places for “Move to”?

linux,linuxmint,file-manager

OK. I found the answer myself. Here it is: You can simply drag and drop a folder into the sidebar. This will make it become a "Bookmark" and show-up as a place. It is as simple as that, but I find poorly documented....

QtCreator does not recognize cmake

linux,cmake,qt-creator,linuxmint

The problem was that in the (Tools > Options > Build & Run > Kits > Manual > Desktop), the Compiler was not set. I set it to "GCC (X86 64bit in /usr/bin)" and the issue was fixed.

How to install Netbeans IDE in linuxmint?

java,netbeans,linuxmint

Follow these steps in terminal,first install jdk and then install these things 1)chmod +x ~/Downloads/jdk-8-nb-8-linux-*.sh 2)cd ~/Downloads && ./netbeans-8.0.2-linux.sh ...

OSError: [Errno 13] Permission denied: '/dev/ttyACM0' - using pyserial from Python to Arduino

python-2.7,pyserial,linuxmint,arduino-uno

The following fleshes out some of the ideas in the first answer (I tried to add this content to that answer and accept it, but the edits were rejected). I'm not an expert in the area, so please just use this information to support your own research. You can do...

How to enable JSHint in SublimeLinter in Linux Mint 17 Cinnamon?

sublimetext3,jshint,linuxmint,sublimelinter

This seems to make JSHint work - but if anyone could confirm that this is the best approach that would be great: https://github.com/joyent/node/issues/3911#issuecomment-8956154 I've found this is often a misnaming error, if you install from a package manager you bin may be called nodejs so you just need to symlink...

Installing xv6 on linux mint 16 x64

linux,make,linuxmint,xv6

try installing multilib by typing sudo apt-get install gcc-multilib in your shell.

Linker error while building from source code

c++,cmake,linuxmint

Try passing -DCMAKE_EXE_LINKER_FLAGS=-ldl to the CMake executable. To change the CMake build scripts, add something like: target_link_libraries(target_name dl) where target_name is basically the executable name without any extensions (e.g. .exe). EDIT: Actually, I just reread you question, and I'm putting this in the wrong place. You really want: target_link_libraries(Basic dl)...

Build protobuf for python3 on linux mint 16

linux,python-3.x,build,protocol-buffers,linuxmint

If you are compiling directly from git rather than a release package, you first must run ./autogen.sh.

Terminal keeps saying ./studio.sh not found in Linux Mint

linux,android-studio,linuxmint,jetbrains

Looks like you don't have the which tool installed. It should be contained in the debianutils package. Try to install: sudo apt-get install debianutils or reinstall: sudo apt-get install --reinstall debianutils...

Linux Mint - Just created launcher does not show on MATE desktop but is in ls listing

desktop,linuxmint

Hitting F5 to refresh the Desktop causes the missing icon to appear. I think this is still a bug though....

Dynamic Web Project - Project Facets not displaying CDI as a project facet

java,eclipse,java-ee,cdi,linuxmint

Did you installed JBoss Tools? Go to Help -> Eclipse Marketplace find JBoss Tools for your version of Eclipse (To check version of eclipse go to Help -> About Eclipse) Then select plugin you need UPD And also check Runtime Environments (window -> preferences) Eclipse should be restarted after installation...

ATI propietary drivers renaming libGL.so

c++,opengl,make,cmake,linuxmint

Got it to work. I realized netbeans hadn't actually regenerated my make file after I installed the ati drivers and I think it was trying to pull in dependencies from the old location. Sure the drivers still do some funky things but at least I think they create their own...

Why does ncurses fail when I reload a dynamic library?

c,ncurses,linuxmint

ncurses is a dependency of your libgame.so, not of the main executable. So if you unload the dynamic library and load the changed version, you also unload ncurses and then load it again. But you then fail to reinitialize it. That is why your program fails. The proper solution is...

how to create a shortcuts to .jar files linux [closed]

linux,bash,linuxmint

The Command entry of a shortcut is unlikely to accept a raw shell script like that. Try java -jar /full/path/to/file.jar or bash -c 'cd /full/path; java -jar file.jar instead....