Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rebuild image, support upstream changes to desktop image #27

Open
wants to merge 61 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
1fef6ed
Create sddm.conf
Maxwelldoug Jul 9, 2024
3ff7c2d
Removed sddm.conf (default apparently fine) and added a new debug pac…
MaxMacNeill-UNB Jul 9, 2024
f851c7a
Set recipe to reference debug module
MaxMacNeill-UNB Jul 9, 2024
533344f
Attempting to fix theme so I can actually debug (workaround, do not k…
MaxMacNeill-UNB Jul 9, 2024
34bf50a
removed debug module as it did not work
MaxMacNeill-UNB Jul 9, 2024
d5ebf07
Swap hardlinked desktop-base for manual compile?
MaxMacNeill-UNB Jul 9, 2024
da91bcc
Created a symlink to avoid a regression in removing the active-theme …
MaxMacNeill-UNB Jul 9, 2024
e073b81
Revert "Created a symlink to avoid a regression in removing the activ…
MaxMacNeill-UNB Jul 9, 2024
fee0f40
Revert "Swap hardlinked desktop-base for manual compile?"
MaxMacNeill-UNB Jul 9, 2024
5903016
Create dev-build.yml
Maxwelldoug Jul 10, 2024
b86f984
Another attempt at including a theme that does not rely on Debian's d…
MaxMacNeill-UNB Jul 10, 2024
b222237
Added Xephyr to the Plasma dependencies as it is for some reason not …
MaxMacNeill-UNB Jul 10, 2024
5a9ce56
Cancel removal of sudo to make plasma not uninstall itself
MaxMacNeill-UNB Jul 10, 2024
6538a27
Maybe adding plasma-workspace will help?
MaxMacNeill-UNB Jul 10, 2024
7c253da
Add ark and konsole, konsole to have a terminal and ark to provide fi…
Maxwelldoug Jul 10, 2024
c598175
Update dev-build.yml
Maxwelldoug Jul 10, 2024
2c58670
Merge pull request #1 from Maxwelldoug/dev
Maxwelldoug Jul 10, 2024
c2bb5ef
Configure Blackbox and set Konsole.desktop to hidden to allow the cor…
Maxwelldoug Jul 11, 2024
53f6719
Made blackbox use the terminal instead of the laser game. Oops.
Maxwelldoug Jul 11, 2024
e268e9c
Replaced Konsole.desktop include with scripted override
Maxwelldoug Jul 11, 2024
96677dd
More agressive hiding of konsole.desktop
Maxwelldoug Jul 11, 2024
cb79de5
Put the hiding options in the correct [box] to make this actually work
Maxwelldoug Jul 11, 2024
4108414
Clobbered the desktop entries for Discover, configured gnome-software…
MaxMacNeill-UNB Jul 11, 2024
449c2a6
Include vanilla's VSO and rollback autorun scripts (No executable cha…
MaxMacNeill-UNB Jul 11, 2024
74f6b41
Fix a mistaken duplicate rm in 997 (should have been etc/xdg/autostar…
MaxMacNeill-UNB Jul 11, 2024
689c66e
Added a vanilla logo to sddm
MaxMacNeill-UNB Jul 11, 2024
745f04a
Added flatpak plugin to gnome-software
MaxMacNeill-UNB Jul 11, 2024
8749de9
move sddm themes into /etc so they can be installed.
MaxMacNeill-UNB Jul 11, 2024
7e8f275
copy sddm faces into etc so they exist and can be used
MaxMacNeill-UNB Jul 11, 2024
6bb7766
Fix build failure due to faces not existing
MaxMacNeill-UNB Jul 11, 2024
00350cd
set abroot rollback notifier policy and rules in polkit
MaxMacNeill-UNB Jul 11, 2024
cec72ed
Set default plasma theme to match sddm
MaxMacNeill-UNB Jul 11, 2024
a574e26
changed how the default plasma theme is changed to apply to existing …
MaxMacNeill-UNB Jul 11, 2024
72ddbbd
added Dracula color scheme
MaxMacNeill-UNB Jul 11, 2024
9ce298f
add Dracula window decorations and global theme metadata.
MaxMacNeill-UNB Jul 11, 2024
32a4242
set kde default theme, maybe
MaxMacNeill-UNB Jul 11, 2024
90ad0f1
set default icons to breeze-dark for visibility
MaxMacNeill-UNB Jul 11, 2024
4e04ef9
Removed desktop-base hardlink as the theme that referenced it no long…
MaxMacNeill-UNB Jul 11, 2024
414678e
Create a symlink from /usr to /etc to make sddm theme installation work
MaxMacNeill-UNB Jul 11, 2024
9a5f3ca
fixed a missing -r on rm. Oops.
MaxMacNeill-UNB Jul 12, 2024
d1e99f6
attempt to fix kscreenlocker by applying setuid to inux_chkpwd
MaxMacNeill-UNB Jul 12, 2024
428880a
upgrades FsGuard to be compatible with core-image
taukakao Jul 12, 2024
ac76c02
Merge pull request #2 from taukakao/fix-boot-fsguard
Maxwelldoug Jul 12, 2024
76699f0
merge dev-build into vib-build
Maxwelldoug Jul 12, 2024
a590bb8
Cleanup leftover workaround
Maxwelldoug Jul 12, 2024
25133f7
Adjustment to recipe for new syntax
Maxwelldoug Jul 12, 2024
37033b5
Update system-operator from desktop
Maxwelldoug Jul 12, 2024
cd6cc96
removed line referencing /usr/bin/reset-vso (which we don't have.)
Maxwelldoug Jul 12, 2024
852679a
bring 00 modules up to date with upstream desktop
Maxwelldoug Jul 13, 2024
a42796f
Updated fswarn module
Maxwelldoug Jul 13, 2024
f98eb29
Merge branch 'main' of github.com:Maxwelldoug/kattleya-image into dev
MaxMacNeill-UNB Jul 13, 2024
e372570
Merge pull request #3 from Maxwelldoug/dev
Maxwelldoug Jul 13, 2024
33b1e57
Update vib-build.yml
Maxwelldoug Jul 13, 2024
6c656c7
Update vib-build.yml
Maxwelldoug Jul 13, 2024
2b29af6
Actually remove discover instead of just the desktop entry for stabil…
MaxMacNeill-UNB Jul 13, 2024
2b54764
actually remove plasma-discover (may be reverted if it breaks everyth…
MaxMacNeill-UNB Jul 13, 2024
3325565
Fixed discover being installed (and thus removed the line that uninst…
MaxMacNeill-UNB Jul 13, 2024
b883ccd
Merge pull request #4 from Maxwelldoug/dev
Maxwelldoug Jul 13, 2024
865fbbd
get rid of discover. Or, try to.
MaxMacNeill-UNB Jul 13, 2024
884209d
Merge pull request #5 from Maxwelldoug/dev
Maxwelldoug Jul 13, 2024
15cefba
Update README.md
Maxwelldoug Dec 19, 2024
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
13 changes: 7 additions & 6 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name: Vib Build
on:
push:
branches:
- 'main'
- "main"
- "dev"
tags:
- '*'
- "*"
workflow_dispatch:
pull_request:

Expand Down Expand Up @@ -49,14 +50,14 @@ jobs:
run: |
REPO_OWNER_LOWERCASE="$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')"
echo "REPO_OWNER_LOWERCASE=$REPO_OWNER_LOWERCASE" >> "$GITHUB_ENV"
echo "IMAGE_NAME=ghcr.io/$REPO_OWNER_LOWERCASE/plasma" >> "$GITHUB_ENV"
echo "IMAGE_URL=ghcr.io/$REPO_OWNER_LOWERCASE/plasma" >> "$GITHUB_ENV"

- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
with:
images: |
${{ env. IMAGE_NAME }}
${{ env. IMAGE_URL }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand Down Expand Up @@ -92,8 +93,8 @@ jobs:
- name: Attest pushed image
uses: actions/attest-build-provenance@v1
id: attest
if: github.repository == 'Vanilla-Kattleya/plasma-image' && github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' }}
with:
subject-name: ${{ env.IMAGE_NAME }}
subject-name: ${{ env.IMAGE_URL }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# **THIS IMAGE IS OUT OF DATE. THE UP TO DATE IMAGE IS LOCATED AT https://github.com/Kanola-Images/Kanola**

# Kattleya Plasma Image

Containerfile for building Kattleya, an unofficial Vanilla OS Plasma image.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import QtQuick 2.2

import org.kde.plasma.core 2.0 as PlasmaCore

import QtQuick.Controls.Styles 1.4 as QQCS
import QtQuick.Controls 1.3 as QQC

QQCS.MenuStyle {
frame: Rectangle {
color: "#21232D"
border.color: "#232831"
border.width: 1
}
itemDelegate.label: QQC.Label {
height: contentHeight * 2
verticalAlignment: Text.AlignVCenter
color: config.highlight_color
font.pointSize: config.fontSize
font.family: config.font
text: styleData.text
}
itemDelegate.background: Rectangle {
visible: styleData.selected
color: config.selected_color
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import QtQuick 2.2

import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents

import QtQuick.Controls 1.3 as QQC

PlasmaComponents.ToolButton {
id: keyboardButton

property int currentIndex: -1

text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Keyboard Layout: %1", instantiator.objectAt(currentIndex).shortName)
implicitWidth: minimumWidth
font.pointSize: config.fontSize

visible: menu.items.length > 1

Component.onCompleted: currentIndex = Qt.binding(function() {return keyboard.currentLayout});

menu: QQC.Menu {
id: keyboardMenu
style: DropdownMenuStyle {}
Instantiator {
id: instantiator
model: keyboard.layouts
onObjectAdded: keyboardMenu.insertItem(index, object)
onObjectRemoved: keyboardMenu.removeItem( object )
delegate: QQC.MenuItem {
text: modelData.longName
property string shortName: modelData.shortName
onTriggered: {
keyboard.currentLayout = model.index
}
}
}
}
}
137 changes: 137 additions & 0 deletions includes.container/etc/kattleya-theming/sddm/themes/Dracula/Login.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
import "components"

import QtQuick 2.2
import QtQuick.Layouts 1.2
import QtQuick.Controls 2.4
import QtQuick.Controls.Styles 1.4

import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents

SessionManagementScreen {
id: root
property Item mainPasswordBox: passwordBox

property bool showUsernamePrompt: !showUserList

property string lastUserName
property bool loginScreenUiVisible: false

//the y position that should be ensured visible when the on screen keyboard is visible
property int visibleBoundary: mapFromItem(loginButton, 0, 0).y
onHeightChanged: visibleBoundary = mapFromItem(loginButton, 0, 0).y + loginButton.height + units.smallSpacing

signal loginRequest(string username, string password)

onShowUsernamePromptChanged: {
if (!showUsernamePrompt) {
lastUserName = ""
}
}

/*
* Login has been requested with the following username and password
* If username field is visible, it will be taken from that, otherwise from the "name" property of the currentIndex
*/
function startLogin() {
var username = showUsernamePrompt ? userNameInput.text : userList.selectedUser
var password = passwordBox.text

//this is partly because it looks nicer
//but more importantly it works round a Qt bug that can trigger if the app is closed with a TextField focused
//DAVE REPORT THE FRICKING THING AND PUT A LINK
loginButton.forceActiveFocus();
loginRequest(username, password);
}

Input {
id: userNameInput
Layout.fillWidth: true
Layout.topMargin: 10
Layout.bottomMargin: 10
text: lastUserName
visible: showUsernamePrompt
focus: showUsernamePrompt && !lastUserName //if there's a username prompt it gets focus first, otherwise password does
placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Username")

onAccepted:
if (root.loginScreenUiVisible) {
passwordBox.forceActiveFocus()
}
}

Input {
id: passwordBox
placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Password")
focus: !showUsernamePrompt || lastUserName
echoMode: TextInput.Password

Layout.fillWidth: true

onAccepted: {
if (root.loginScreenUiVisible) {
startLogin();
}
}

Keys.onEscapePressed: {
mainStack.currentItem.forceActiveFocus();
}

//if empty and left or right is pressed change selection in user switch
//this cannot be in keys.onLeftPressed as then it doesn't reach the password box
Keys.onPressed: {
if (event.key == Qt.Key_Left && !text) {
userList.decrementCurrentIndex();
event.accepted = true
}
if (event.key == Qt.Key_Right && !text) {
userList.incrementCurrentIndex();
event.accepted = true
}
}

Connections {
target: sddm
onLoginFailed: {
passwordBox.selectAll()
passwordBox.forceActiveFocus()
}
}
}
Button {
id: loginButton
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Log In")
enabled: passwordBox.text != ""

Layout.topMargin: 10
Layout.bottomMargin: 10
Layout.preferredWidth: 150
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter

font.pointSize: config.fontSize
font.family: config.font

contentItem: Text {
text: loginButton.text
font: loginButton.font
opacity: enabled ? 1.0 : 0.3
color: config.highlight_color
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}

background: Rectangle {
id: buttonBackground
width: parent.width
height: 30
radius: width / 2
color: "#9B79CC"
opacity: enabled ? 1.0 : 0.3
}

onClicked: startLogin();
}

}
Loading
Loading