[solved] Autostart & Compose Key

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
Tunafish
Posts: 4
Joined: 11. Jul 2010, 20:24

[solved] Autostart & Compose Key

Post 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
Last edited by Tunafish on 12. Jul 2010, 14:06, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Autostart & Compose Key

Post 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?
Image
Image
Tunafish
Posts: 4
Joined: 11. Jul 2010, 20:24

Re: Autostart & Compose Key

Post 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..
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Autostart & Compose Key

Post 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?
Image
Image
Tunafish
Posts: 4
Joined: 11. Jul 2010, 20:24

Re: Autostart & Compose Key

Post 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!
lighans
Posts: 23
Joined: 3. Mar 2010, 09:18

Re: Autostart & Compose Key

Post 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. ;)
Post Reply