Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-10-06 07:34:48

mlauronen
Member
Registered: 2025-08-28
Posts: 7
LinuxChrome 137.0

Keyboard configurations

Where is the correct location to configure the following settings in XFCE4 on Debian 13?

xset r rate 400 50
setxkbmap -option caps:swapescape
xset s off

I have tried using Application Settings → Session and Startup → Application Autostart, .Xresources, and .xprofile, but none of them worked. .bashrc works, but then I always have to open a terminal before the settings take effect.

Offline

#2 2025-10-06 10:53:43

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 962
LinuxFirefox 143.0

Re: Keyboard configurations

The easiest way would likely place the lines into a script then call the script at startup.

#!/bin/sh

#description#

xset r rate 400 50 &
setxkbmap -option caps:swapescape &
xset s off &

Name it and call it at startup.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#3 2025-10-06 11:28:36

mlauronen
Member
Registered: 2025-08-28
Posts: 7
LinuxChrome 137.0

Re: Keyboard configurations

eriefisher wrote:

The easiest way would likely place the lines into a script then call the script at startup.
Name it and call it at startup.

Thx for the reply. What place do you actually mean by "startup"?

Offline

#4 2025-10-06 12:17:05

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 962
LinuxFirefox 143.0

Re: Keyboard configurations

Settings → Session and Startup → Application Autostart,


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#5 2025-10-06 15:30:47

mlauronen
Member
Registered: 2025-08-28
Posts: 7
LinuxChrome 137.0

Re: Keyboard configurations

eriefisher wrote:

Settings → Session and Startup → Application Autostart,

As I mentioned in my initial post, I have already tried that approach. The system appears to overwrite settings when they are applied at that stage.

So the question is where should I put them if none of the following methods doesn't work:

  • Application Autostart

  • .Xresources

  • .xprofile

Given that using .bashrc (which works) is an impractical workaround. Maybe I just have to debug the startup process to identify the correct location for these configurations.

Last edited by mlauronen (2025-10-06 15:36:57)

Offline

#6 2025-10-10 10:07:22

mlauronen
Member
Registered: 2025-08-28
Posts: 7
LinuxChrome 137.0

Re: Keyboard configurations

Application Autostart was the solution, but I had to change the script's permissions to 750.

Thank you

Last edited by mlauronen (2025-10-10 10:14:43)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 531.74 KiB (Peak: 532.37 KiB) ]