Перейти до основного вмісту

Публікації

Показано дописи з вересень, 2011

Add keyboard layout with sysconfig.Fedora 14, LXDE.

I have added UA-Ukrainian keyboard layout to /etc/sysconfig/keyboard file. Now it looks like: KEYTABLE="us" MODEL="pc105+inet" LAYOUT="us,ua" KBD_NUMLOCK="yes" OPTIONS="grp:caps_toggle,grp_led:scroll" I am using Gaps Lock key to switch layout and scroll lock led as an indicator. NOTE: you need to restart your X session in order changes to take effect.

Exaile Cyrillic encoding fix

Add just before return statement of /usr/lib/python2.7/site-packages/exaile/xl/trak/trak.py"def get_tag_display(...)" following lines: ------------------------------------------------------------------- try: s = retval.encode('latin1').decode('cp1251') retval = s; except: print "not an cp1251" -------------------------------------------------------------------