You are not logged in.

#1 2008-12-21 01:43:27

Rokurosv
Member
Registered: 2008-12-21
Posts: 24

Small issues with LXDE and Firefox

I'm using LXDE as my default DE cause I like lightweight stuff and GTK based apps too. I installed it with pacman with lxde and installed gamin and obconf. But I'm having some minor issues right now

While in the terminal before starting X I can use the normal layout of my keyboard, which is spanish, but when I startx into LXDE I get change to the US keyboard, where should I change the config so I can use the spanish layout in LXDE?

Also, the Firefox fonts seem a little weird, any way I can improve them?

Thanks for your time

Offline

#2 2008-12-21 11:54:01

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Small issues with LXDE and Firefox

Rokurosv wrote:

I'm using LXDE as my default DE cause I like lightweight stuff and GTK based apps too. I installed it with pacman with lxde and installed gamin and obconf. But I'm having some minor issues right now

While in the terminal before starting X I can use the normal layout of my keyboard, which is spanish, but when I startx into LXDE I get change to the US keyboard, where should I change the config so I can use the spanish layout in LXDE?

Also, the Firefox fonts seem a little weird, any way I can improve them?

Thanks for your time

* The keyboard layout issue :
Since the update to Xorg 7.4 , layouts are controlled by hal . You can add a hal policy file (fdi) to use your own settings .

If you switch between es and us layouts , you should have something lik that in '/etc/hal/fdi/policy/10-keymap.fdi'

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">es,us</merge>
       <merge key="input.xkb.options" type="string">grp:alt_shift_toggle</merge>
    </match>
  </device>
</deviceinfo>

----------------------------------------------
* The fonts issue :
You should add Xft font settings in ~/.Xdefaults or ~/.Xresources and then add this line to ~/.xinitrc (before exec startlxde)

xrdb $HOME/.Xdefault

My Xft settings in ~/.Xdefaults

Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintslight

Last edited by Nezmer (2008-12-21 11:57:13)


English is not my native language .

Offline

#3 2008-12-21 13:59:00

Rokurosv
Member
Registered: 2008-12-21
Posts: 24

Re: Small issues with LXDE and Firefox

Thanks for the help, I did a little search on the wiki and voila
http://wiki.archlinux.org/index.php/Con … youts_in_X
guess I should've dig deeper. My fonts look nice now, thanks man

Offline

Board footer

Powered by FluxBB