Monday, July 20, 2015

See available version of a program in terminal

To check the available version of a program in terminal, whether installed or not:

sudo apt-cache policy <program_name>

Friday, July 17, 2015

Install tar.gz package in Manjaro

pacman -U /path/to/filename.tar.gz

Edit plank dock settings manually

The config file is ~/.config/plank/dock1/settings

Settings are clearly described in the file and changes are immediate after saving the file.

Wednesday, July 8, 2015

Create and edit file using terminal

Open the terminal and fire (if you need sudo):

sudo nano path/to/file/filename


Type or paste the content you want

CTRL-G to see help options

CTRL-O to write to disk; confirm and save with ENTER.

Monday, June 15, 2015

Add Open Folder as Root to PCMan File Manager's context menu

Create the directory ~/.local/share/file-manager/actions

 In that folder, create root.desktop (not pcman_root.desktop or anything else).

leafpad ~/.local/share/file-manager/actions/root.desktop

Add this content:

[Desktop Entry]
Tooltip=Open Folder As Root
Name=Open Folder As Root

[X-Action-Profile profile-zero]
Exec=/usr/bin/gksu /usr/bin/pcmanfm %u
Name=Default profile
Save the file.

Restart pcmanfm:

killall pcmanfm


Tuesday, May 26, 2015

Monday, May 25, 2015

Set Xterm font size

Create or edit this file:

Add this:

xterm*font:     *-fixed-*-*-*-18-*

(or other font size)

Then do

xrdb -merge ~/.Xresources