• Stars
    star
    398
  • Rank 108,325 (Top 3 %)
  • Language
    Shell
  • Created almost 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fix to make the Gnome "US-International" layouts generate a cedilla c (ç) when the user types '+c.

gnome-cedilla-fix

Versão em português

Configure your Gnome "US-International" keyboard layout to generate a cedilla c (ç) instead of an accented c (ć). This project should be particularly useful to Brazilian Portuguese users with a US-International layout, but could also be used by anyone else who needs to constantly type a cedilla c.

Why do I need this?

The traditional Microsoft "US International" keyboard generates accented characters by sequences of accent+letter, making text typing easy and familiar for latin language users. This behavior was translated into X, and then into the earlier versions of Gnome.

Eventually, most countries defined their own keyboard layouts and Gnome added full support for those. Unfortunately, at some point during this time, the Gnome project decided that '+c (accent+c) should generate an accented c instead of a cedilla c, breaking the widely used US-Intl layout in Gnome for many users.

This move generated substantial frustration, and many bugs have been reported on this topic, without a clear and concise solution. This behavior also causes confusion when migrating users from other operating systems, and makes Linux adoption more difficult for those who need to use cedilla-c regularly.

How do I use this?

At the shell prompt, type:

wget -q https://raw.githubusercontent.com/marcopaganini/gnome-cedilla-fix/master/fix-cedilla -O fix-cedilla
chmod 755 fix-cedilla
./fix-cedilla

To activate the changes, log out and re-login. This is usually enough. If you still see the wrong results after the logout/login procedure, reboot your computer.

Uninstallation

To uninstall, just run:

rm ${HOME}/.XCompose

Again, you will need to log out and re-login for changes to take effect.

How does it work?

The script copies your system "Compose" file into ~/.XCompose (your personal compose file), translating every occurrence of an accented-c (ć) into a cedilla c (ç). This should satisfy non-Gnome programs.

Compatibility

I've tested this with a few versions of Debian, Ubuntu, Mint Linux, and Fedora with success. Please let me know about success and failure stories in other versions of Linux.

Pull Requests (PRs) with fixes and updates are always welcome.

You may also like

You may also like these other (unrelated) repos from the same author:

  • coolsites: A collection of cool, useful, and interesting sites around the Internet. There's something for everyone here.
  • termschool-vim-theme: A pleasant green/gray dark theme for vim and gvim (requires 256 color terminals or gvim).
  • mojave-vim-theme: A warm dark theme for Vim and Gvim.
  • netbackup: A backup frontend for many common backup tools (rsync, rdiff-backup, etc). Simplify your backups using similar configuration files, generate log files on common locations, etc.
  • mkvtool: A "swiss-army knife" tool to manipulate, clean, rename MKV movie files and subtitles.
  • bitrot: A simple tool to detect bitrot (silent media corruption) in your media. Particularly useful for flash drives.
  • quotes exporter: A prometheus financial quotes exporter.

More Repositories

1

termschool-vim-theme

A vim theme based on the "codeschool" theme, with lots of tweaks and optimized for 256 color terminals.
Vim Script
54
star
2

snip

A snippet manager for bash (mostly in pure bash)
Shell
24
star
3

termotp

A TOTP code generator for your terminal
Go
21
star
4

netbackup

A frontend for various backup programs (rsync, rdiff-backup, rclone) that simplifies local and remote backups.
Go
21
star
5

gosmart

A Go (golang) library to interface with the Samsung SmartThings API.
Go
17
star
6

clipsync

Share your clipboard across multiple machines.
Go
14
star
7

alpine-subsonic

Docker configuration for the Subsonic Media Streamer using Alpine Linux
Shell
13
star
8

mojave-vim-theme

A dark, desert colors inspired theme for vim optimized for 256-color terminals.
Vim Script
12
star
9

coolsites

A collection of cool, interesting, and useful websites.
10
star
10

smartcollector

SmartThings sensor data collector for prometheus
Go
10
star
11

bitrot

Bitrot scrubber - Scrubs your disks (or array) looking for bitrot (silent disk data corruption.)
Go
10
star
12

quotes-exporter

Quotes exporter for prometheus (Supports stocks, ETFs and funds)
Go
9
star
13

mkvtool

A command-line tool to simplify the manipulation of subtitles and perform common operations in MKV (Matroska) files.
Go
9
star
14

sock

W. Richard Stevens' sock program (cleaned and ported to Linux)
C
6
star
15

iocrypt

Go library to encrypt/decrypt I/O streams (suitable for large data sets)
Go
5
star
16

anagramarama

Anagram generator in Go
Go
2
star
17

godrive

Path based Google Drive library for Go
Go
2
star
18

angel

Angel Network Monitor -- An old (and not supported) simple program to monitor hosts and services.
Perl
2
star
19

shalla2squid

Shalla List to Squid Blacklist Converter
Python
1
star
20

check-trailing-spaces

Github Action to check for trailing whitespaces in text files in a PR.
Shell
1
star
21

testmynet-cli

A command line tool to test your bandwidth using http://testmy.net
Go
1
star
22

qtile-monadstack

An "i3 stacked window" xmonad based layout for qtile
Python
1
star