Skip to content

Commit 7ef1a97

Browse files
committed
Fix default thing, rename it to TriTri, and fix perms
1 parent ab9bffd commit 7ef1a97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+205
-205
lines changed

Trixie/config/hooks/live/9002-perms.live

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,22 @@ chown -R root:root /etc || true
1212

1313
# --- /usr/share/pixmaps/ ---
1414
# Make all images and subdirs readable and executable by all users
15-
find /usr/share/pixmaps -type d -exec chmod 755 {} \; || true
16-
find /usr/share/pixmaps -type f -exec chmod 644 {} \; || true
15+
chmod -R 755 /usr/share/pixmaps || true
1716

1817
# --- /usr/share/plasma/desktoptheme/Ocean/ ---
1918
# Ensure proper ownership and permissions for Plasma desktop theme
2019
if [ -d /usr/share/plasma/desktoptheme/Ocean ]; then
21-
chown -R root:root /usr/share/plasma/desktoptheme/Ocean || true
22-
find /usr/share/plasma/desktoptheme/Ocean -type d -exec chmod 755 {} \; || true
23-
find /usr/share/plasma/desktoptheme/Ocean -type f -exec chmod 644 {} \; || true
20+
chown -R root:root /usr/share/plasma/ || true
21+
chmod -R 755 /usr/share/plasma/|| true
2422
else
2523
# Ensure parent directories exist and are properly owned
26-
mkdir -p /usr/share/plasma/desktoptheme/Ocean
27-
chown -R root:root /usr/share/plasma /usr/share/plasma/desktoptheme /usr/share/plasma/desktoptheme/Ocean
28-
chmod 755 /usr/share/plasma /usr/share/plasma/desktoptheme /usr/share/plasma/desktoptheme/Ocean
24+
chown -R root:root /usr/share/plasma
25+
chmod -R 755 /usr/share/plasma
2926
fi
3027

3128
# --- /etc/ general directories and files ---
32-
# Directories readable by all, writable only by root
33-
find /etc -type d -exec chmod 755 {} \; || true
34-
# Regular config files readable by all, writable only by root
35-
find /etc -type f -exec chmod 644 {} \; || true
29+
# Everything readable by all, writable only by root
30+
chmod -R 755 /etc || true
3631

3732
# --- Sensitive files: tighten permissions ---
3833
chmod 600 /etc/shadow /etc/gshadow 2>/dev/null || true
@@ -44,8 +39,7 @@ chmod 600 /etc/securetty 2>/dev/null || true
4439
# Default user template files should be readable by all
4540
if [ -d /etc/skel ]; then
4641
chown -R root:root /etc/skel
47-
find /etc/skel -type d -exec chmod 755 {} \;
48-
find /etc/skel -type f -exec chmod 644 {} \;
42+
chmod -R 755 /etc/skel
4943
fi
5044

5145
# --- /etc/hostname ---
@@ -62,13 +56,6 @@ if [ -f /etc/os-release ]; then
6256
chmod 644 /etc/os-release
6357
fi
6458

65-
# --- /etc/os-release ---
66-
# System identification file, should be world-readable
67-
if [ -f /etc/os-release ]; then
68-
chown root:root /etc/os-release
69-
chmod 644 /etc/os-release
70-
fi
71-
7259
# --- /etc/xdg/kdeglobals ---
7360
# Ensure directory and file exist with proper permissions
7461
touch /etc/xdg/kdeglobals
@@ -78,4 +65,3 @@ chmod 644 /etc/xdg/kdeglobals
7865

7966
echo "[Hook] Permission adjustments complete."
8067

81-
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[General]
2+
ColorScheme=TriTri
3+
LookAndFeelPackage=TriTri
4+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Theme]
2+
LookAndFeelPackage=TriOs
3+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
etc/kdg/kdeglobals

Trixie/config/includes.chroot/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc

Lines changed: 0 additions & 156 deletions
This file was deleted.

Trixie/config/includes.chroot/etc/xdg/kdeglobals

Lines changed: 0 additions & 9 deletions
This file was deleted.

Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/Ocean/metadata.desktop

Lines changed: 0 additions & 16 deletions
This file was deleted.

Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/Ocean/colors renamed to Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/TriTri/colors

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ ForegroundPositive=39,174,96
131131
ForegroundVisited=120,120,120
132132

133133
[General]
134-
ColorScheme=Ocean
135-
Name=Ocean
134+
ColorScheme=TriTri
135+
Name=TriTri
136136
shadeSortColumn=true
137137

138138
[KDE]

Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/Ocean/dialogs/background.svg renamed to Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/TriTri/dialogs/background.svg

File renamed without changes.

Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/Ocean/icons/audio.svg renamed to Trixie/config/includes.chroot/usr/share/plasma/desktoptheme/TriTri/icons/audio.svg

File renamed without changes.

0 commit comments

Comments
 (0)