Correct cedilla in english keyboard

The layout of my keyboard is “USA Alternative international (former us_intl)”, so it does not has cedilla and other minor differences. Furthermore, even if I set the language to portuguese (br) when I press the combination [acute accent] + [C] it gives me Ć/ć instead of Ç/ç. Since I have to make it every time I format my notebook I automate the file changes using sed, but you can also open and change file using either editor (e.g gedit, kate). The turnaround is showed below:

sudo sed -i 's/wa/wa:en/' /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
sudo sed -i 's/Ć/Ç/' /usr/share/X11/locale/en_US.UTF-8/Compose
sudo sed -i 's/ć/ç/' /usr/share/X11/locale/en_US.UTF-8/Compose

You should restart gdm after to apply changes.

sudo /etc/init.d/gdm restart

See ya

Advertisements

QuickSynergy: share mouse and keyboard among multiple hosts

Hi fellows,

This is a tip that is very useful (grateful to Siqueira!), which seems complicated but is very simple to setup. Synergy provide this issue. Instead of have two monitors plugged on the same video card (what is the first intuition), it considers two (or more) different hosts, in the same network, running different operational system. Basically it configures one as the server, which will has the mouse and keyboard plugged, and others as client. It can be installed by apt-get tools on both sides (client and server):

sudo apt-get install quicksynergy

On client: click on the Share tab, select one of the four location (right, left, above or below) of the client in relation to the server, type the client hostname (not the IP address) and click on Execute.

On server: click on Use tab, type the IP address (the opposite of the server) and click on Execute.

See ya