1

I'm having trouble determining where to add these two commands:

setxkbmap latam

to set the correct keyboard layout, and

xcompmgr -c -C &

to enable transparency.

Before installing SLiM, I used this recommendation, and it worked, but it stopped working afterwards.

I tried adding it to ~/.xinitrc, like shown below:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec setxkbmap latam
exec xcompmgr -c -C &
exec startxfce4

But this seemed to crash it, and it just froze before starting XFCE4 (after logging in).

I also tried using this recommendation from the Arch Wiki, but it didn't seem to do anything.

Any recommendations? Note that I'd like these commands to be the default setting for all users that log into xfce4.

  • Check this article http://wiki.xfce.org/tips, into the **How to customize starting Xfce** section you can find some useful data. Personally I think you should add `setxkbmap latam` and `xcompmgr -c -C` into your `~/.bashrc` – slackmart Jul 15 '13 at 02:50

1 Answers1

3

I think here:

exec setxkbmap latam
exec xcompmgr -c -C &
exec startxfce4

You'd have better luck with:

setxkbmap latam
xcompmgr -c -C &
exec startxfce4

exec replaces the shell that was receiving input, which makes sense for starting a graphical environment (so that it will receive the input), but not much sense for the other two.

Nich Del
  • 146
  • 5