Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
linuxmint/cinnamon-control-center,
linuxmint/cinnamon-desktop,
linuxmint/cinnamon-menus,
linuxmint/cinnamon-screensaver,
linuxmint/cinnamon-session,
linuxmint/cinnamon-settings-daemon,
linuxmint/cinnamon-translations,
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/pattern-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pattern Check

on:
pull_request_target:
branches: [ master ]

permissions:
pull-requests: write

jobs:
pattern-check:
name: Pattern Check
runs-on: ubuntu-latest

steps:
- name: Checkout github-actions
uses: actions/checkout@v6
with:
repository: linuxmint/github-actions
path: _github-actions

- name: Pattern Check
uses: ./_github-actions/pattern-checker
with:
github_token: ${{ github.token }}
2 changes: 1 addition & 1 deletion cinnamon.session.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Cinnamon Session]
Name=Cinnamon
RequiredComponents=cinnamon;org.cinnamon.ScreenSaver;nemo-autostart;@REQUIRED@cinnamon-killer-daemon;
RequiredComponents=cinnamon;nemo-autostart;@REQUIRED@cinnamon-killer-daemon;
DesktopName=X-Cinnamon


2 changes: 1 addition & 1 deletion cinnamon2d.session.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Cinnamon Session]
Name=Cinnamon (Software Rendering)
RequiredComponents=cinnamon2d;org.cinnamon.ScreenSaver;nemo-autostart;@REQUIRED@cinnamon-killer-daemon;
RequiredComponents=cinnamon2d;nemo-autostart;@REQUIRED@cinnamon-killer-daemon;
DesktopName=X-Cinnamon


2 changes: 2 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ gnome.compile_resources(
install: true,
install_dir: pkgdatadir
)

subdir('pam')
29 changes: 18 additions & 11 deletions data/org.cinnamon.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,6 @@
</description>
</key>

<key type="b" name="enable-edge-flip">
<default>false</default>
<summary>Whether edge flip is enabled</summary>
</key>

<key type="i" name="edge-flip-delay">
<default>1000</default>
<summary>Duration of the delay before switching the workspace</summary>
<description>Duration of the delay (in milliseconds)</description>
</key>

<key type="b" name="cinnamon-settings-advanced">
<default>false</default>
<summary>Whether advanced mode is enabled in cinnamon-settings</summary>
Expand Down Expand Up @@ -532,6 +521,24 @@
<description>If true, the pointer will be set to the center of the new monitor when using pointer next/previous shortcuts.</description>
</key>

<key type="b" name="internal-screensaver-enabled">
<default>true</default>
<summary>Use internal screensaver implementation. Requires cinnamon restart if changed.</summary>
<description>If true, use Cinnamon's internal screensaver for locking instead of the external cinnamon-screensaver daemon.</description>
</key>

<key type="b" name="session-locked-state">
<default>false</default>
<summary>Whether the session is currently locked</summary>
<description>Persists the screensaver locked state so it can be restored after a Cinnamon restart. This key is managed internally and should not be modified manually.</description>
</key>

<key type="b" name="debug-screensaver">
<default>false</default>
<summary>Enable screensaver debug logging</summary>
<description>If true, enables verbose debug logging for the screensaver, unlock dialog, and backup-locker.</description>
</key>

<child name="theme" schema="org.cinnamon.theme"/>
<child name="recorder" schema="org.cinnamon.recorder"/>
<child name="keyboard" schema="org.cinnamon.keyboard"/>
Expand Down
16 changes: 16 additions & 0 deletions data/pam/cinnamon.pam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#%PAM-1.0

# Fedora & Arch
-auth sufficient pam_selinux_permit.so
auth include system-auth
-auth optional pam_gnome_keyring.so
account include system-auth
password include system-auth
session include system-auth

# SuSE/Novell
#auth include common-auth
#auth optional pam_gnome_keyring.so
#account include common-account
#password include common-password
#session include common-session
2 changes: 2 additions & 0 deletions data/pam/cinnamon.pam.debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@include common-auth
auth optional pam_gnome_keyring.so
18 changes: 18 additions & 0 deletions data/pam/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pamdir = get_option('pam_prefix')
if pamdir == ''
pamdir = sysconfdir
endif

if get_option('use_debian_pam')
install_data(
'cinnamon.pam.debian',
rename: 'cinnamon',
install_dir: join_paths(pamdir, 'pam.d')
)
else
install_data(
'cinnamon.pam',
rename: 'cinnamon',
install_dir: join_paths(pamdir, 'pam.d')
)
endif
1 change: 1 addition & 0 deletions data/services/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
service_files = [
'org.cinnamon.BackupLocker.service',
'org.cinnamon.CalendarServer.service',
'org.Cinnamon.HotplugSniffer.service',
'org.Cinnamon.Melange.service',
Expand Down
3 changes: 3 additions & 0 deletions data/services/org.cinnamon.BackupLocker.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[D-BUS Service]
Name=org.cinnamon.BackupLocker
Exec=@libexecdir@/cinnamon-backup-locker
8 changes: 4 additions & 4 deletions data/theme/add-workspace-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions data/theme/add-workspace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions data/theme/checkbox-off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions data/theme/checkbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions data/theme/cinnamon-sass/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// global colors
$bg_color: #242424;
$base_color: #303030;
$bg_color: #242428;
$base_color: #303034;
$fg_color: white;

$panel_bg: #1a1a1a;
$panel_bg: #1a1a1f;

// colored elements
$error_color: #e4705b;
Expand All @@ -27,16 +27,16 @@ $large_icon_color: transparentize($fg_color, 0.6);
$light_text_color: mix($fg_color, $bg_color, 65%);

// used for button, entries and highlighted items
$light_bg_color: #393939;
$light_base_color: #444444;
$lighter_bg_color: #454545;
$lightest_bg_color: #656565;
$light_bg_color: #39393c;
$light_base_color: #444448;
$lighter_bg_color: #454549;
$lightest_bg_color: #656569;

// link colors
$link_color: #1c71d8;

// borders
$borders_color: #333333;
$borders_color: #333337;

// shadows
$shadow_color: rgba(0, 0, 0, 0.5);
Expand Down
2 changes: 2 additions & 0 deletions data/theme/cinnamon-sass/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
@import 'widgets/alttab';
@import 'widgets/applets';
@import 'widgets/base';
@import 'widgets/buttons';
@import 'widgets/calendar';
@import 'widgets/desklet';
@import 'widgets/dialogs';
@import 'widgets/screensaver';
@import 'widgets/expo';
@import 'widgets/ibus-popup';
@import 'widgets/keyboard';
Expand Down
22 changes: 21 additions & 1 deletion data/theme/cinnamon-sass/widgets/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,26 @@
-pie-background-color: rgba(140, 140, 140, 0.6);
}

// placeholder

.placeholder {
spacing: 8px;
padding: $base_padding * 2;

.placeholder-icon { color: $insensitive_fg_color; }
.placeholder-label {
@extend %title_3;
text-align: center;
color: $insensitive_fg_color;
padding-top: 8px;
}

.placeholder-description {
color: $insensitive_fg_color;
text-align: center;
}
}

// ripples

.ripple-pointer-location {
Expand Down Expand Up @@ -80,7 +100,7 @@ StScrollBar {

StBin#trough {
background-color: transparentize($base_color, 0.9);
border_radius: $base_border_radius;
border-radius: $base_border_radius;
}

StButton#vhandle,
Expand Down
21 changes: 21 additions & 0 deletions data/theme/cinnamon-sass/widgets/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.button {
@extend %button;

min-height: 22px;

&.flat { @extend %flat_button; }
}

.icon-button {
@extend %button;

border-radius: 9999px;
padding: $base_padding;
min-height: 16px;

StIcon {
icon-size: 16px;
}

&.flat { @extend %flat_button; }
}
2 changes: 1 addition & 1 deletion data/theme/cinnamon-sass/widgets/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

.dialog-list-title {
color: $warning_color;
background-color: tranparentize($warning_color, 0.9);
background-color: transparentize($warning_color, 0.9);
padding: $base_padding * 1.5;
border-radius: $base_border_radius;
margin: $base_margin 0;
Expand Down
5 changes: 5 additions & 0 deletions data/theme/cinnamon-sass/widgets/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ $menuitem_border_radius: $base_border_radius * 1;
color: $insensitive_fg_color;
background: none;
}

.check-box,
.radiobutton {
StBoxLayout { spacing: 0; }
}
}

// Used in the battery applet for the status
Expand Down
Loading
Loading