Jodo, .bash_profile is only evaluated for bash shell sessions - so settings there won't affect other Gnome or KDE applications. And rc.local is used for system-wide settings; so it is executed as root. setxkbmap configures individual users' settings. So you need to run that command as the user you log in with.
I recommend adding an entry to your Sessions Preferences under System > Settings > Sessions. That will work for Gnome. And there are similar procedures for KDE, XFCE, and others.
Jodo, .bash_profile is only evaluated for bash shell sessions - so settings there won't affect other Gnome or KDE applications. And rc.local is used for system-wide settings; so it is executed as root. setxkbmap configures individual users' settings. So you need to run that command as the user you log in with.
I recommend adding an entry to your Sessions Preferences under System > Settings > Sessions. That will work for Gnome. And there are similar procedures for KDE, XFCE, and others.