Usually when I want to work with DB2 on Windows I run db2cmd, so the DB2 environment gets initialized. However this does not work if I'm connected to a Windows machine via SSH, since db2cmd opens new cmd window.
Solution to this problem is typing "db2cmd -i -w db2clpsetcp" in cmd. Wihout quotes of course.
četrtek, 28. marec 2013
sobota, 23. marec 2013
Ubuntu: Make F10 work in Midnight Commander
If you are using Unity and Midnight Commander in gnome-terminal then F10 gets send to the terminal program not the Midnight Commander.
Here are the steps to correct this:- install compizconfig-settings-manager
- run it
- go to "Ubuntu Unity plugin"
- disable "Key to open first panel menu"
- go to terminal menu Edit - keyboard shortcuts and disable "Enable the menu shortcut key (F10 by default)"
- paste this code into terminal (https://bugs.launchpad.net/ubuntu/+source/unity/+bug/726639/comments/18):
mkdir -p ~/.config/gtk-3.0
cat<~/.config/ gtk-3.0/ gtk.css @binding-set NoKeyboardNavigation {
unbind "F10"
}* {
gtk-key-bindings: NoKeyboardNavig ation
}EOF
Ubuntu: How to change the location of various default directories
If you want to change the location of the Desktop, Documents, Download, ... directories:
vi ~/.config/user-dirs.dirs
Naročite se na:
Objave (Atom)