! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Autostart incompatible with space-named files
Status:
RESOLVED: INVALID
Product:
Xfce4-session
Component:
General

Comments

Description savy0074 2015-11-03 21:44:18 CET
The Autostart functionnality doesn't work with a file name containing a space.

I'm trying to automatically run a little sh script to set my keyboard map (I discovered later that I don't need Autostart to do that, simply change the keyboard layout in settings, but it permitted me to discover this little bug, so it's cool).

my file name was simply the command itself : "setxkbmap fr". My keyboard map was still "us" after a relogin.

I changed my script name to "setxkbmap-fr" and now it works fine.

It's not a big bug, but someone might become fool with it, and "setxkbmap fr" wokrs for kde4.
Comment 1 oystein.alver 2016-01-22 23:59:06 CET
This is fixed by adding "\" before the spaces in the Command field. I.e. "/~/Program files for program/program" does not work but "/~/Program\ files\ for\ program/program" works.

However, this should somehow be default.
Comment 2 Theo Linkspfeifer editbugs 2019-06-15 11:28:51 CEST
Arguments are separated by a space. Example:

Command: setxkbmap fr

In all other cases you have to use quotes or escape the spaces.

Bug #12287

Reported by:
savy0074
Reported on: 2015-11-03
Last modified on: 2019-06-15

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
4.12.0

Attachments

Additional information