Page 1 of 1

[solved] Autostart & Compose Key

Posted: 11. Jul 2010, 21:28
by Tunafish
I just installed SalixOS LXDE on my desktop computer.
Most of the time i'm a Crunchbang user, but as my desktop computer is being used by different people, i prefer something else. On Crunchbang forum i was adviced to try SalixOS.
It seems to work fine, but i just have some questions and i can't find the answers in the forum.

1. The user wasn't added to sudoers file, so i had to do it manually. Not really a problem, but is this common behaviour?

2. I want to set a different screen resolution on startup. I added the xrandr command to rc.local, but this didn't do the trick. How can i do this?

3. I need a compose key (or dead keys), but i can't choose the right keyboard. I need a US-intl, or US with compose key. How do i do this?

Thanks,
Tunafish

Re: Autostart & Compose Key

Posted: 11. Jul 2010, 21:46
by gapan
Tunafish wrote:1. The user wasn't added to sudoers file, so i had to do it manually. Not really a problem, but is this common behaviour?
Yes.
Tunafish wrote:2. I want to set a different screen resolution on startup. I added the xrandr command to rc.local, but this didn't do the trick. How can i do this?
You either create a xorg.conf file with your settings, if you want the settings to be applied systemwide, or you put that xrandr command in your autostarted applications in LXDE. The later will only change the resolution only after you login from gdm.
Tunafish wrote:3. I need a compose key (or dead keys), but i can't choose the right keyboard. I need a US-intl, or US with compose key. How do i do this?
No idea. Which keymap would that be?

Re: Autostart & Compose Key

Posted: 11. Jul 2010, 22:06
by Tunafish
Thanks for your quick answer....

Where can i add autostart entries to LXDE? I can't find it....
EDIT: solved with second method from this thread:
http://wiki.archlinux.org/index.php/LXD ... t_Programs

The keyboard i usually use is US International (AltGr dead keys)...
but could be US with a compose key as well..

Re: Autostart & Compose Key

Posted: 12. Jul 2010, 08:27
by gapan
Try to run:

Code: Select all

setxkbmap -layout us_intl
if that's the keymap you're looking for, then you can either put that in your autostarted applications too, or edit /etc/hal/fdi/policy/10-keymap.fdi and change whatever is inside the

Code: Select all

<merge key="input.xkb.layout" type="string">...</merge>
entry with us_intl to make the setting systemwide.

Is the us-acentos the equivalent keymap for the terminal?

Re: Autostart & Compose Key

Posted: 12. Jul 2010, 14:06
by Tunafish
I'm so stupid (don't say "yes, you are", please :) )

I know the setxkbmap command for me:

Code: Select all

setxkbmap us -option compose:ralt
Thanks for your answer... 3 questions solved!

Re: Autostart & Compose Key

Posted: 6. Oct 2010, 18:13
by lighans
Tunafish wrote:I'm so stupid (don't say "yes, you are", please :) )
Thanks for your 'stupid' question. ;)
It ended my search too solve my problem with us-intl. ;)