aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Set our own cursor theme and size internally via GtkSettings.Michael Webster2023-02-062-3/+20
| | | | | | | | The gtk and icon themes already work this way. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/97f9f54b686303dec81918d3056194bff2a3163c
* Add badge for fynedesk.Jacob2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/512c1032bda19884099e00d41dc23627bccee2c1
* Add sway badge.Louis des Landes2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/ad0e52a13d3ed169276acfe27aea5c4e5ea271ae
* Fixed default session for manual user entry.mwileczka2023-02-061-0/+4
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d85d872a84233b125278825e5d64162079b84fc7
* src/arctica-greeter.vala: Apply HiDPI settings after command line has been ↵Mike Gabriel2023-02-061-12/+13
| | | | parsed (so we know if we are in test-mode or not).
* src/menubar.vala: Hide the bigfont feature until it's really available.Mike Gabriel2023-02-061-0/+4
|
* misc src/: completely rework high contrast mode, add stub for big font mode.Mihai Moldovan2023-02-068-35/+574
| | | | | | | | | This is a work-in-progress. The reworked high contrast mode adds support for a configurable high contrast GTK theme and changes a lot of widgets to change their color. The big font mode is a stub currently.
* src/: add util.vala, wrapping a GTK 3 function for use within vala.Mihai Moldovan2023-02-062-1/+30
| | | | | | | Since this function is only needed for and available in GTK 3, add configure checks for GTK 4.0 and higher as well. We will use this function later on.
* src/toggle-box.vala: fix CSS style.Mihai Moldovan2023-02-061-3/+3
| | | | | CSS element ids called "GtkElement" haven't been in use since 2014 and they never had a class called "element".
* misc src/: make ArcticaGreeter a proper vala SingleInstance class.Mihai Moldovan2023-02-069-72/+118
| | | | | This allows us to drop the rather awkward self-referencing static singleton member and use a standard vala/glib feature.
* 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>