Author Topic: A solution for keyboard layout switching in E17, untill still buggy (SOLVED)  (Read 1633 times)

Offline Old Uncle

  • Full Member
  • ***
  • Posts: 122
  • This is SparTUX!
    • Thanks Texstar for PCLinuxOS!
Hello friends!

Here in this forum, there are couple of topics about keyboard layout switching in E17 desktop.

http://www.pclinuxos.com/forum/index.php/topic,74210.0.html
http://www.pclinuxos.com/forum/index.php/topic,82930.0.html

Unfortunately none of them gives a good answer, about how to solve the keyboard layout switching issue.
A friendly user drhadidy came up with some temporary solutions but none of them was good for me.

The problem is a BUG in E17 Language module.

Quote
when I load and add the Language module, arrow buttons (also Page Up/Down/Home/End) on the keyboard just freeze... I tested another qt/kde version of PCLOS-17 and same is there!

Later I found out that Delete button also stuck.

Yesterday, I remembered some "magical" code which I used some time ago, while I was testing LXDE desktop.

This one:
Code: [Select]
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ge
Where "ge" stands for the Georgian language.
Instead of "ge" you need to put your country code.

Check in Synaptic if you have setxkbmap installed.

It works like a charm!
But there is one obstacle... You need to activate that code every time after reboot.

I can not put it in Autostart applications.
I know that, it is possible to create a .desktop file and put it in Autostart applications.

BUT I don't know how to create a .desktop file with that "magical" code and where to put that file.

If someone will kindly write here a small how-to about that, it will complete the temporary solution, for keyboard layout switching in E17 until it is still buggy!

Regards,

Old Uncle





« Last Edit: December 16, 2010, 10:51:06 AM by Old Uncle »
Dell Vostro 1500, Intel Core 2 Duo T5270, 1.4GHz, 800Mhz
2GB (2x1024MB), DDR2, 667MHz 2 DIMM
128MB NVIDIA GeForce 8400M GS
Fujitsu 120GB 5400RPM SATA
15.4 Wide Screen XGA LCD
PCLinuxOS

Thanks Texstar for PCLinuxOS!

Offline Old Uncle

  • Full Member
  • ***
  • Posts: 122
  • This is SparTUX!
    • Thanks Texstar for PCLinuxOS!
Well...

Today I received a bunch of updates for e17 Desktop, including an update for e_modules...

I updated, restarted, loaded Language module, activated the gadget and... :(

Same result: Same keys freeze in keyboard.

Somebody please  ::)
Quote
If someone will kindly write here a small how-to about that, it will complete the temporary solution, for keyboard layout switching in E17 until it is still buggy!

Old Uncle
Dell Vostro 1500, Intel Core 2 Duo T5270, 1.4GHz, 800Mhz
2GB (2x1024MB), DDR2, 667MHz 2 DIMM
128MB NVIDIA GeForce 8400M GS
Fujitsu 120GB 5400RPM SATA
15.4 Wide Screen XGA LCD
PCLinuxOS

Thanks Texstar for PCLinuxOS!

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Download this .desktop file and put it in ~/.local/share/applications (for one user) or /usr/share/applications (system-wide), then open the e17 settings panel / applications / autostart applications and enable Keyboard-fix-e17.
http://dl.dropbox.com/u/434485/keyboard-fix-e17.desktop

Next time you need a .desktop file just copy one from /usr/share/applications and modify it to your needs. :)
Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

Offline Old Uncle

  • Full Member
  • ***
  • Posts: 122
  • This is SparTUX!
    • Thanks Texstar for PCLinuxOS!
Download this .desktop file and put it in ~/.local/share/applications (for one user) or /usr/share/applications (system-wide), then open the e17 settings panel / applications / autostart applications and enable Keyboard-fix-e17.
http://dl.dropbox.com/u/434485/keyboard-fix-e17.desktop

Next time you need a .desktop file just copy one from /usr/share/applications and modify it to your needs. :)


Great!!!

Thank you very, very much Mr. smurfslover! IT WORKS :)

დიდი მადლობა! < Thank you very much in Georgian :)

Regards,

Old Uncle

So, I'm going to mark this topic as SOLVED!
in case someone else needs to use this file, it needs to be modified a bit: The country code "ge" needs to be changed to appropriate country code.
List of a codes can be found here http://www.theodora.com/country_digraphs.html

Dell Vostro 1500, Intel Core 2 Duo T5270, 1.4GHz, 800Mhz
2GB (2x1024MB), DDR2, 667MHz 2 DIMM
128MB NVIDIA GeForce 8400M GS
Fujitsu 120GB 5400RPM SATA
15.4 Wide Screen XGA LCD
PCLinuxOS

Thanks Texstar for PCLinuxOS!

Offline tanara

  • Jr. Member
  • **
  • Posts: 38
Wow.....Great!!!!!!!
Thanks, All
 :) :) :) :) :)