Add keyboard switching with Shift + Alt in Ubuntu 13.10

For some time now the version 13.10 of the Ubuntu operating system has various bugs affecting Greeks .
These bugs have to do with the new device pointer he uses Ubuntu, indicator-keyboard.

ubuntu-logo14

The biggest problem at this time is the error launchpad bug #1226962, when using the Greek keyboard layout, many of the shortcuts like ctrl + c (copy), ctrl + v (paste), etc. are not working.
This error is serious enough and could reasonably prevent many users from installing the new version of Ubuntu.
Another new feature of Ubuntu 13.10 is that the indicator-keyboard now uses its keyboard shortcuts i bus to change layout (super + space, shift + super + space), which are inconvenient to use.

Below we will see a way (first published kolk4.wordpress.com) to return to Ubuntu 13.10 the familiar feature so far, where switching devices will be made by the classic combination of alt + shift keys and some other popular variants of (ctrl + shift and Caps Lock). In this way, we are also unaffected by the problem with the operation of keyboard combinations when using the Greek device. In addition to the way our friend describes, we will give the exact terminal commands for those who are not familiar with Ubuntu.

To change the layout, we will use the classic setxkbmap instead of the i-bus that it uses.
To do this, we will write a small script with a command that will enable keyboard switching via setxkbmap. Copy the content of one of the following three scripts depending on which keyboard shortcut is most convenient for you and save it in a new document in you.

Use the file name as the file name greekxkblayout

.

Switch keyboard layout with alt + shift:

#! / Bin / bash
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led: us, el

Switch keyboard layout with ctrl + shift:

#! / Bin / bash
setxkbmap -option grp: switch, grp: ctrl_shift_toggle, grp_led: scroll us, el

Switching keyboard layout with Caps Lock:

#! / Bin / bash
setxkbmap -option grp: switch, grp: caps_toggle, grp_led: scroll us, el

In the case of the computer we use the storage is the folder /usr/local/bin/ και ονομάσαμε το script: greekxkblayout.

Για να μεταφέρετε το αρχείο από την επιφάνεια εργασίας στο φάκελο που θα χρησιμοποιήσουμε χρησιμοποιήστε την εντολή αλλάζοντας το κομ που έχουμε μαρκάρει με bold για τα δικά σας στοιχεία:

Selection_004
Μετά, κάντε το εκτελέσιμο δίνοντας την εντολή στο τερματικό:

Selection_003
Αν αποθηκεύσετε το δικό σας script κάπου μέσα στον προσωπικό σας φάκελο, τότε στην εντολή δεν χρειάζεται το sudo.
Από την αναζήτηση του υπολογιστή μας ψάχνουμε για startup applications και ανοίγουμε τα προγράμματα εκκίνησης του Ubuntu.
stratup app iguru.gr
Κλικ στο"Προσθήκη" ή στο "Add”, ανάλογα με το ποια είναι η γλώσσα συστήματος που χρησιμοποιούμε.

Selection_002
Θα δούμε το παραπάνω παράθυρο. Από εδώ, πατώντας πάνω στο κουμπί" Περιήγηση", εντοπίζουμε το script μας και το προσθέτουμε στις υπηρεσίες εκκίνησης. Αν θέλουμε, μπορούμε να ορίσουμε και κάποιον τίτλο, κάποιο εικονίδιο, ή κάποιο επεξηγηματικό σχόλιο στα αντίστοιχα πεδία. Έτσι, από την επόμενη εκκίνηση, το σύστημά μας θα αλλάζει διάταξη πληκτρολογίου με τον συνδυασμό πληκτρολογίου της προτίμησής μας και θα μπορούμε να χρησιμοποιήσουμε το Ubuntu 13.10 όπως και πριν.
Σημειώστε ότι το σύστημα σας θα χρειαστεί επανεκκίνηση ώστε να "δει" τις ρυθμίσεις

iGuRu.gr The Best Technology Site in Greecefgns

κάθε δημοσίευση, άμεσα στο inbox σας

Προστεθείτε στους 2.087 εγγεγραμμένους.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).