aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/settings.vala: make SingleInstance class.Mihai Moldovan2023-02-062-1/+20
| | | | | | | This way, we will be able to use it everywhere, as long as we hold a reference in the main greeter object. We will extend this class with other properties later on.
* src/settings-daemon.vala: Also set rfill MSD plugin to disabled in greeter.Mike Gabriel2022-11-281-0/+1
|
* src/settings-daemon.vala: Use correct MSD schema names.Mike Gabriel2022-11-281-16/+17
|
* src/toggle-box.vala: Port font-family-with-blanks-fix from prompt-box to ↵Mike Gabriel2022-06-271-2/+12
| | | | | | toggle-box. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/34
* session-list: Add badge for IceWM.Mike Gabriel2022-06-271-0/+2
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/35
* src/prompt-box.vala: Use regular expression to split KEY_FONT_NAME into ↵Mike Gabriel2022-06-271-3/+12
| | | | | | | | font_family and font_size. This now also supports font family names containing blanks. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/34
* Fix some typosElyes HAOUAS2022-06-272-2/+2
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* src/Makefile.am: Avoid duplicate double-quotes.Mike Gabriel2022-06-261-4/+4
|
* Fix some typosElyes HAOUAS2021-06-072-2/+2
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* src/main-window.vala: Fix missing parenthesis-close in debug message.Mike Gabriel2021-04-121-1/+1
|
* Fix 'Creation method of abstract class cannot be public.' in GreeterList class.Mike Gabriel2019-12-021-1/+1
|
* src/arctica-greeter.vala: Use set_decorated(false) on main_window, rather ↵Mike Gabriel2019-03-171-1/+1
| | | | than fullscreen(). With fullscreen() Arctica Greeter's main window gets only shown on the primary monitor and one cannot let the login box follow the pointing device to the active monitor anymore.
* Remove mlockall.Mike Gabriel2019-03-171-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protect memory from being paged to disk, as we deal with passwords According to systemd-dev, "mlockall() is generally a bad idea and certainly has no place in a graphical program. A program like this uses lots of memory and it is crucial that this memory can be paged out to relieve memory pressure." With systemd version 239 the ulimit for RLIMIT_MEMLOCK was set to 16 MiB and therefore the mlockall call would fail. This is lucky becasue the subsequent mmap would not fail. With systemd version 240 the RLIMIT_MEMLOCK is now set to 64 MiB and now the mlockall no longer fails. However, it not possible to mmap in all the memory and because that would still exceed the MEMLOCK limit. " See https://bugzilla.redhat.com/show_bug.cgi?id=1662857 & https://github.com/CanonicalLtd/lightdm/issues/55 RLIMIT_MEMLOCK = 64 MiB means, arctica-greeter will most likely fail with 64 bit and will always fail on 32 bit systems. Hence we better disable it. Ported from Unity Greeter / Slick Greeter. https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1815493 https://github.com/linuxmint/slick-greeter/pull/127
* Fix build with vala 0.44Rico Tzschichholz2019-03-061-1/+1
|
* Fix background if image file is not readable.Cobinja2018-11-261-0/+18
| | | | | | | | | | | | | This fixes a bug, where we fell back to the defined background color, if reading an image file failed. If that file was a user background, we didn't fall back to the defined system background before using the color, now we do. Only if that one is not readable either, we fall back to the color. Ported from Slick Greeter: https://github.com/linuxmint/slick-greeter/commit/32f2bb5feebca3377c9fc202e0a6aac6ddb75212.patch
* src/background.vala: Fix for previous commit. Vala needs a bool expression ↵Mike Gabriel2018-09-061-1/+1
| | | | in if-clauses.
* src/background.vala: Fix FTBFS against Vala 0.42. This introduces a slight ↵Mike Gabriel2018-08-221-3/+8
| | | | behaviour change compared to the previous version, but actually in a direction we want it to be.
* Posix.Signal.<SIG>: Provide old-style Posix.SIG<SIG> API calls if built with ↵Mike Gabriel2018-06-213-0/+20
| | | | Vala API version << 0.40. (Fixes FTBFS on Debian 9).
* Use Posix.Signal.* rather than Posix.SIG*. (Vala 0.40 deprecations).Mike Gabriel2018-06-163-5/+5
|
* Add option to show GUI on a specific monitorCobinja2018-06-162-20/+32
| | | | | | | This adds the option "only-on-monitor". Default is "auto", which means "Follow the mouse", like it was without this option. Ported from slick-greeter by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/arctica-greeter.vala: Have MATE's marco WM as window manager for Arctica ↵Mike Gabriel2018-06-161-0/+32
| | | | Greeter. Makes handling windows opened via some of the indicators much more organic.
* src/user-list.vala: Rename gsettings key remote-service-fqdn to ↵Mike Gabriel2018-05-112-2/+5
| | | | remote-service-configure-uri. Support an empty string as value and show a more intelligent message if it's empty.
* Remote Logon configuration support: session name is now "remoteconfigure".Mike Gabriel2018-05-111-2/+2
|
* user-list.vala: fix missing parentheses from previous commitsMike Gabriel2018-05-081-2/+2
|
* src/user-list.vala: Rephrase username field text to "Account ID" (can be ↵Mike Gabriel2018-05-081-1/+1
| | | | email or user name).
* src/user-list.vala: Hide "Set up..." button, if uccsconfigure is a ↵Mike Gabriel2018-05-081-1/+1
| | | | non-supported remote login session.
* src/user-list.vala: Mention X2Go in remote logon help / setup hint.Mike Gabriel2018-05-081-2/+2
|
* src/user-list.vala: Add debugging to remote_login PAM prompt responding.Mike Gabriel2018-05-061-0/+5
|
* src/user-list.vala: Obtain PAM_FREERDP2 prompts from public API in ↵Mike Gabriel2018-05-043-4/+14
| | | | security/pam-freerdp2.h.
* src/user-list.vala: Obtain PAM_X2GO prompts from public API in ↵Mike Gabriel2018-05-043-4/+14
| | | | security/pam.x2go.h.
* src/user-list.vala: Follow-up fix for previous commit.Mike Gabriel2018-05-041-1/+1
|
* Use RLS/pam_x2go.so API v5. The PAM prompt now queries "remote command:", ↵Mike Gabriel2018-05-041-3/+3
| | | | not "x2gosession:".
* main-window: Calculate the really needed screen size properlyBjörn Esser2018-03-161-2/+22
|
* src/arctica-greeter.vala: Trigger UPower activation when greeter starts.Mike Gabriel2018-03-161-0/+13
|
* HiDPI: Do not enable it in test-mode.Mike Gabriel2018-03-161-9/+13
|
* Port HiDPI support from slick-greeter.Mike Gabriel2018-03-162-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Inspired by these slick-greeter commits: commit ffd43c4d425e70bc003b490dcddb8fbae1fffea7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Apr 8 14:13:23 2017 +0100 HiDPI: Allow to force HiDPI support ON or OFF commit 809f1b30a321ae12fdd3ba154791f9ead291acc7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 23:04:50 2017 +0100 HiDPI: Take the screen size in consideration HiDPI shouldn't be activated on large screens where the dpi is OK. commit 851fca4e5508471d6f388edcd0327c3fc5b2b12f Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 18:43:42 2017 +0100 Add HiDPI support Only support 1x and 2x scale ratios for now. Also add a setting so the user can disable HiDPI support.
* src/{user-list.vala,user-prompt-box.vala}: Fix segfault in newly introduced ↵Mike Gabriel2018-03-162-4/+4
| | | | debug message.
* Use Ubuntu logo for Unity session (has no since no longer Ubuntu default)Robert Ancell2018-03-161-0/+1
|
* src/arctica-greeter.vala: Clear the AT_SPI_BUS property on the root window ↵Michael Webster2018-03-121-0/+12
| | | | | | | on exit, so the user session components won't fail to connect. Based on fix for lightdm-gtk-greeter see: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1670933
* greeter: Avoid expensive Python calls when it isn't needed.Ikey Doherty2018-03-121-0/+6
| | | | | | | | | | | | | | On non Debian/Ubuntu systems, the /etc/default/keyboard path does not exist. To prevent expensive Python startup (and hundreds/thousands of stats + follow-up loads) we'll reduce to an initial early stat, i.e. if the non-standard file exists only then will we exectute the helper stub. This is most useful on systems that employ systemd for the X11 keyboard configuration (`00-keyboard.conf` from systemd-localed) so that the X server already has the correct layout upon starting up. This approach also avoids unnecessary xkbcomp calls forcing recompilation of non-cached assets. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
* Fix build with vala 0.39Jeremy Bicha2018-02-271-2/+2
| | | | Inspired by https://github.com/linuxmint/slick-greeter/commit/3959b22a
* White-space cleanup. Removing superfluous EOL white-spaces.Mike Gabriel2017-12-075-13/+13
|
* Revert "a11y: Use HighContrast rather than HighContrastInverse."Mike Gabriel2017-10-301-1/+1
| | | | This reverts commit 6d087e792ebe9f27efeddef9209b7a85698088bf.
* a11y: Use HighContrast rather than HighContrastInverse.Clement Lefebvre2017-10-261-1/+1
| | | | | | | | | | Ported from slick-greeter: commit 591d9aab85c35511a7bc44e8cb2968840941b32c Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Wed Jun 7 21:30:36 2017 +0100 A11y: Fix HighContrast option
* Explicitly set the keyboard layoutMike Gabriel2017-10-263-0/+15
| | | | | | | | | | | | | | | Ported from slick-greeter: Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Jun 10 15:57:49 2017 +0100 Explicitly set the keyboard layout The keyboard layout isn't properly set by default in some case. This affects wireless Logitech keyboards in particular, and it results in the greeter using an American layout instead of the layout chosen during the installation.
* Add support for numlockx.Clement Lefebvre2017-10-262-0/+17
| | | | | | | | | Ported from slick-greeter: From 82d912b8fe98e01c80a59e3c010b1bbb18c859b0 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Tue, 11 Jul 2017 16:57:23 +0200 Subject: [PATCH 1/1] Add support for numlockx
* src/settings.vala: White-space cleanup.Mike Gabriel2017-10-261-1/+1
|
* copyright holdership: Add myself as copyright holder and author to file ↵Mike Gabriel2017-10-2621-3/+60
| | | | headers of files I have worked on.
* src/arctica-greeter.vala: Fix debug message, we use MSD, not USD.Mike Gabriel2017-10-261-1/+1
|
* src/user-list.vala: Add debug message providing info about added users / labels.Mike Gabriel2017-10-251-0/+1
|