Subheader

Lazy Programmer's Blog

Pages

Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Friday, April 17, 2020

Click on Icon to Minimize Application Window in Ubuntu dock panel

Step 1. Run Terminal

Step 2. Run command
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'


Enjoy!

Friday, December 29, 2017

Error installing ruby 2.1.1 on ubuntu 17.04

Installing ruby binary package via RVM you can get an error message that RVM is not able to find ruby binary distributive, for example:
rvm install ruby-2.1.1

Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/17.04/x86_64/ruby-2.1.1. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system.......There has been an error while updating your system using `apt-get`. .....It seems that there are some 404 Not Found errors for repositories listed in: /etc/apt/sources.list /etc/apt/sources.list.d/*.list Make sure that all repositories are available from your system and verify your setup by running manually: sudo apt-get update Make sure that it works correctly before proceeding with RVM. If you are working from the GUI instead of the terminal, you might want to verify and fix broken repositories using "Software & Updates" application. . Error running 'requirements_debian_update_system ruby-2.1.1', please read /home/home-pc/.rvm/log/1514552025_ruby-2.1.1/update_system.log Requirements installation failed with status: 100.

Solution:

Get the latest version of RVM:
rvm get head

Reload the RVM:
rvm reload

Install ruby:
rvm install ruby-2.1.1

Monday, July 11, 2016

SVG support for Imagemagick in Ubuntu

Converting SVG to jpeg/png/gif via Imagemagick in command line you can get Unable to find rsvg-convert library exception. This means you have no support for SVG.

Type in your terminal
sudo apt get install rsvg-convert
in order to add support for scalable vector graphics.

In case if rsvg-convert wasn't found in your repositories you can perform
sudo apt get install librsvg2-bin

After that you will be able to perform conversion from SVG to one of the popular image formats