Commit Graph

301 Commits

Author SHA1 Message Date
Andrey Butirsky
883787f2dc Search XDG Base Directories for session files
"SessionDir" config entries are now a lists with default values:
"/usr/local/share/xsessions,/usr/share/xsessions" for [X11] section and
"/usr/local/share/wayland-sessions,/usr/share/wayland-sessions" for
[Wayland] section.
2023-02-04 21:57:30 +01:00
Aleix Pol
3277ce8e0d Allow using org.freedesktop.locale1 to switch keyboard layouts on wayland 2022-11-11 17:09:00 +01:00
NorwayFun
f31a3cd513 po: add Georgian translation
po: add Georgian
2022-09-12 21:22:32 +01:00
NorwayFun
e824830f45 po: add Georgian 2022-09-12 21:22:32 +01:00
Aleix Pol
85cbf3f2cd
Display information and errors from PAM in the greeter (#1486)
It will be necessary sometimes to know what's going on. This should help
us diagnose when pam is telling us something and SDDM just seems to not
work well.

Also include informationMessage on the themes in data/themes

Fixes #1485
2022-01-30 20:30:03 +01:00
firedemon
d9adf877cc Create hsb.ts
This file adds the translation for Upper Sorbian, a West Slavonic minority language endemic to Germany.
2021-10-26 04:32:52 +02:00
Martin Furman
225c735f90 Add support for xcursor size configuration
Users of HiDPI screens may wish to set custom cursor size instead of the one automatically selected by default.
2021-09-18 11:21:11 -07:00
oxalica
37a39d07ce Check to ensure we are in a login shell
When /bin/sh is linked to a shell same as $SHELL, we should re-exec
it to ensure it is a login shell, to have login scripts sourced.
2021-08-12 14:55:31 +02:00
oxalica
7260461ed1 Source files using --login for bash and zsh 2021-08-12 14:55:31 +02:00
Pier Luigi Fiorini
efd7cb3d77 Wayland display server
Introduce a new display server option to run the greeter with.
In the future this will be the default display server.

This patch contains the most important parts to get the greeter running
on Wayland, but it's not possible to select a keyboard layout.

At the moment the Wayland socket is assumed to be "wayland-0" but in a
multi-seat configuration we would have more than one greeter running,
each with a diffent socket and the assumption won't work anymore.

In the future we will figure out how to do, after all at the moment this
is considered enough for most people.

Closes: #440
2021-06-09 09:17:09 +02:00
Pier Luigi Fiorini
9881225a92 X11 display server without root privileges
Introduce an alternative display server option to run the greeter with
the X11 server as an unprivileged user.

Root privileges are required by default, but this will change in the
future.

Greeter output is forwarded to the helper process, instead of saving it
into a separate file like user sessions do.
This means the greeter output is available in the journal with the
daemon and helper logs.

Display start and stop commands are executed as sddm user and this might
break the workflow of our users.
That is the reason why we still run Xorg as root for the greeter by
default.

X11 user session always spawn a new display server without root
privileges.

Closes: #246
2021-04-19 16:41:50 +02:00
Pier Luigi Fiorini
f0b6dec66a Allocate VT for the display
Replace the old crude algorithm to find the next available VT with a
more reliable method using the VT_OPENQRY ioctl.

General.MinimumVT setting is now obsolete and it's no longer used.
2021-04-19 16:41:50 +02:00
mvlvrd
191698e315
Error in elarun theme (#1336)
* session_button for the elarun theme is undefined, raising
this error:
file:///usr/share/sddm/themes/debian-theme/Main.qml:155: ReferenceError: session_button is not defined

session_button was removed in #521
2021-03-14 08:07:38 +01:00
soredake
cf65e99eb8
Add fish /etc/profile and $HOME/.profile sourcing (#1331) 2021-03-09 08:28:11 +01:00
archviking
15ed813db4
Update sv.ts (#1342)
Co-authored-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
2021-02-22 00:02:24 +01:00
KeetKhat
a8dec1638e
Changed "User name" to "Username" for every translations (#1357)
Update translations

Changed "User name" to "username".
2021-02-17 11:33:33 +01:00
Neal Gompa
bc5a18f34c wayland-session: Ensure $SHELL remains correctly set
In some circumstances, the effort of setting the environment
correctly can wind up clobbering the user-specified shell. To
work around this issue, capture the shell setting in a variable
and set it back at the end of environment and profile setup.
2021-01-27 14:52:53 +00:00
Tarek
3c0566fe57 Added Bangladesh flag 2021-01-22 09:09:29 +01:00
Yaşar Çiv
5825c89444 Update tr.ts 2021-01-02 11:21:24 +01:00
archviking
46f08fb8c6 Update nn.ts 2020-12-05 21:00:13 +01:00
archviking
a75f16c138 Update nb.ts 2020-12-03 19:38:04 +01:00
archviking
0ec16ece9b Update nb.ts 2020-12-03 19:38:04 +01:00
KeetKhat
aee337fea3 Changed "User name" to "username"
Changed "User name" to "Username" in the french translation to match TextConstants.qml
2020-11-07 21:21:49 +01:00
welaq
d267f4ea10 Updated Lithuanian translation 2020-11-07 21:12:07 +01:00
Gleb Popov
8b6816a0f1 Fix loading Xsession scripts on FreeBSD: \+ sequence used in expr regexp is a GNU extension.
Use portable way of saying "one or more matches".
2020-11-03 08:34:03 +01:00
Gleb Popov
cc625b996c Xsession script: also try to source /usr/local/etc/xprofile file. 2020-11-03 08:34:03 +01:00
QxQ
0320c77d8a Fixed Caps Lock is 大写锁定 instead of 大小写锁定 2020-10-31 12:26:24 +01:00
Fabian Vogt
5d260e2328 Revert "Adds sourcing of /etc/profile to fish"
This reverts commit f749f1d651.
2020-10-31 07:41:25 +01:00
KeetKhat
98c82da8c1 Update french translations 2020-10-30 07:30:42 +01:00
Coelacanthus
e36f54b400 up(translations): zh_CN && zh_TW 2020-10-12 12:03:39 +01:00
Omer I.S
c67ce74bb8 Update CMakeLists.txt 2020-10-12 12:08:10 +02:00
Omer I.S
04381b5bd2 Add Hebrew translation 2020-10-12 12:08:10 +02:00
dariusz-hub
86ca8ed68d Update pl.ts 2020-05-05 15:12:06 +02:00
Mejans
106526f1a2
Occitan translation
Adds the Occitan language to list.

[ChangeLog][Translations] Add Occitan
2020-04-04 20:00:58 +02:00
makilakixki
0805446ba5
[i18n] Basque translation (#1245)
Add basque translation.
2020-03-29 22:05:34 +02:00
Gleb Popov
13c79f1fd0
Fix Screenshot field in maya theme metadata (#1244) 2020-03-28 08:44:35 +01:00
Shinjo Park
87d4a54b35
Update Korean translations 2020-02-28 05:57:34 +01:00
IISergII
ae2d0b2c44 Updated Russian language (#1211)
Update ru.ts
2019-10-31 14:04:23 +01:00
scootergrisen
7380930f12 Update danish translation (#1208) 2019-10-10 06:33:24 +02:00
Hendrik Lehmbruch
048271e525 Update de.ts 2019-10-10 06:26:41 +02:00
Hendrik Lehmbruch
d8daad1323 Update German translation
Update German translation with the new text constants.
2019-10-07 18:13:54 +02:00
whitequark
eb419e2dc0 Actually use $USERXSESSIONRC in scripts/Xsession 2019-10-01 14:42:35 +02:00
Filip Fila
fa5d8436d0 Mention that theme can still override the global font option in the documentation. 2019-09-09 19:15:28 +02:00
Filip Fila
90b96966f3 Add font option
Users may wish to further their SDDM theming by using a custom font.

In order to facilitate this, this patch adds a config option which allows specifying a font..
2019-09-09 19:15:28 +02:00
WiseLord
d1caaa9f6b Update ru.ts translation 2019-08-02 07:51:06 +02:00
amazingrise
b384d81ebb zh_CN translation complement 2019-06-24 11:55:37 +02:00
Jair López
ef5d0eb19a Replace 'precedent' with 'precedence' in manpage
about file 'sddm.conf'
2019-04-21 22:51:56 +02:00
rehejuhan
120593e2e0 Update et.ts 2018-12-27 09:25:57 +01:00
Carmina16
15bfa94aee Interlingue translation (#1064)
A new Interlingue translation.
2018-09-12 12:03:10 +02:00
James Turnbull
f749f1d651 Adds sourcing of /etc/profile to fish
This ensures the right paths are set by upstream apps that use the
/etc/profile(.d) method for setting paths, for example xdg or snap.

Signed-off-by: James Turnbull <james@lovedthanlost.net>

[ChangeLog][Xsession] Source /etc/profile for fish too

Closes: #879
2018-07-17 16:38:59 +02:00