Tuesday, October 14, 2014

Enable / disable touchpad

Create launchers with commands to enable/disable touchpad easily. Works in Xfce but not only.

xinput set-prop 15 "Device Enabled" 0 xinput set-prop 15 "Device Enabled" 1

Monday, October 13, 2014

Install Shutter to capture screen and edit captures and images

sudo apt-get install shutter

Install Shotwell to see and edit images

sudo add-apt-repository ppa:yorba/ppa&&sudo apt-get update&&sudo apt-get install shotwell

Edit shortcuts in a program in Xfce

1. Enable editable accelerators in SettingsManager -> Appearance -> Settings

2. Hover the mouse over the menu item for which you want to change the shortcut and press the new key combination.

Use in terminal, etc. Works in all programs.

Wednesday, October 16, 2013

Search within text files by CLI

Open terminal in the target folder and run this command:

 grep -r <word> *

replacing <word>  with the needed expression.

Change the color font of Xfce desktop

Open home as root and ctrl-h to see hidden files.

Open .gtkrc.2.0 and add this:

style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0

#Text colors you can delete if you want to use gtk theme colors
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#0000ff"

widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


I have changed the original lines that made selected font green so that it will stay white.

Delete these lines to get back to the default theme-based colors.