From bd8736132f6e28c022b16be7c31017e516ded81e Mon Sep 17 00:00:00 2001 From: harshau007 Date: Tue, 8 Aug 2023 00:16:04 +0530 Subject: [PATCH 1/5] [ADDED] calamares.desktop --- airootfs/etc/profile.d/calamares.sh | 2 + airootfs/etc/skel/Desktop/calamares.desktop | 247 ++++++++++++++++++++ profiledef.sh | 1 + 3 files changed, 250 insertions(+) create mode 100755 airootfs/etc/profile.d/calamares.sh create mode 100755 airootfs/etc/skel/Desktop/calamares.desktop diff --git a/airootfs/etc/profile.d/calamares.sh b/airootfs/etc/profile.d/calamares.sh new file mode 100755 index 0000000..7055f8c --- /dev/null +++ b/airootfs/etc/profile.d/calamares.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +chmod +755 /airootfs/etc/skel/Desktop/calamares.desktop diff --git a/airootfs/etc/skel/Desktop/calamares.desktop b/airootfs/etc/skel/Desktop/calamares.desktop new file mode 100755 index 0000000..754dd4f --- /dev/null +++ b/airootfs/etc/skel/Desktop/calamares.desktop @@ -0,0 +1,247 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install TCET Linux +GenericName=TCET Linux Installer +Keywords=calamares;system;installer; +TryExec=calamares +Exec=sh -c "pkexec -E calamares -D 8" +Comment=TCET Linux Installer +Icon=tcetlinux-logo +Terminal=false +StartupNotify=true +Categories=Qt;System; +X-AppStream-Ignore=true + +Name[ar]=تثبيت النظام +Icon[ar]=كالامارس +GenericName[ar]=مثبت النظام +Comment[ar]=كالامارس - مثبت النظام +Name[as]=চিছটেম ইনস্তল কৰক +Icon[as]=কেলামাৰেচ +GenericName[as]=চিছটেম ইনস্তলাৰ +Comment[as]=কেলামাৰেচ — চিছটেম​ ইনস্তলাৰ +Name[ast]=Instalar el sistema +Icon[ast]=calamares +GenericName[ast]=Instalador del sistema +Comment[ast]=Calamares — Instalador del sistema +Name[az]=Sistemi Quraşdırmaq +Icon[az]=calamares +GenericName[az]=Sistem Quraşdırıcısı +Comment[az]=Calamares Sistem Quraşdırıcısı +Name[az_AZ]=Sistemi quraşdırmaq +Icon[az_AZ]=calamares +GenericName[az_AZ]=Sistem quraşdırcısı +Comment[az_AZ]=Calamares — Sistem Quraşdırıcısı +Name[be]=Усталяваць сістэму +Icon[be]=calamares +GenericName[be]=Усталёўшчык сістэмы +Comment[be]=Calamares — усталёўшчык сістэмы +Name[bg]=Инсталирай системата +Icon[bg]=calamares +GenericName[bg]=Системен инсталатор +Comment[bg]=„Calamares“ – Системен инсталатор +Name[bn]=সিস্টেম ইনস্টল করুন +Icon[bn]=ক্যালামারেস +GenericName[bn]=সিস্টেম ইনস্টলার +Comment[bn]=ক্যালামারেস - সিস্টেম ইনস্টলার +Name[ca]=Instal·la el sistema +Icon[ca]=calamares +GenericName[ca]=Instal·lador de sistema +Comment[ca]=Calamares — Instal·lador de sistema +Name[cs_CZ]=Nainstalovat systém +Icon[cs_CZ]=calamares +GenericName[cs_CZ]=Instalátor systému +Comment[cs_CZ]=Calamares – instalátor operačních systémů +Name[da]=Installér system +Icon[da]=calamares +GenericName[da]=Systeminstallationsprogram +Comment[da]=Calamares — Systeminstallationsprogram +Name[de]=System installieren +Icon[de]=calamares +GenericName[de]=Installation des Betriebssystems +Comment[de]=Calamares - Installation des Betriebssystems +Name[el]=Εγκατάσταση συστήματος +Icon[el]=calamares +GenericName[el]=Εγκατάσταση συστήματος +Comment[el]=Calamares — Εγκατάσταση συστήματος +Name[en_GB]=Install System +Icon[en_GB]=calamares +GenericName[en_GB]=System Installer +Comment[en_GB]=Calamares — System Installer +Name[eo]=Instali Sistemo +Icon[eo]=calamares +GenericName[eo]=Sistema Instalilo +Comment[eo]=Calamares — Sistema Instalilo +Name[es]=Instalar el sistema +Icon[es]=calamares +GenericName[es]=Instalador del sistema +Comment[es]=Calamares — Instalador del sistema +Name[es_MX]=Instalar el Sistema +Icon[es_MX]=calamares +GenericName[es_MX]=Instalador del sistema +Comment[es_MX]=Calamares - Instalador del sistema +Name[es_PR]=Instalar el sistema +Name[et]=Paigalda süsteem +Icon[et]=calamares +GenericName[et]=Süsteemipaigaldaja +Comment[et]=Calamares — süsteemipaigaldaja +Name[eu]=Sistema instalatu +Icon[eu]=calamares +GenericName[eu]=Sistema instalatzailea +Comment[eu]=Calamares - sistema instalatzailea +Name[fa]=نصب سامانه +Icon[fa]=کالامارس +GenericName[fa]=نصب‌کننده سامانه +Comment[fa]=کالامارس — نصب‌کننده سامانه +Name[fi_FI]=Asenna järjestelmä +Icon[fi_FI]=calamares +GenericName[fi_FI]=Järjestelmän asennusohjelma +Comment[fi_FI]=Calamares — Järjestelmän asentaja +Name[fr]=Installer le système +Icon[fr]=calamares +GenericName[fr]=Installateur système +Comment[fr]=Calamares - Installateur système +Name[fur]=Instale il sisteme +Icon[fur]=calamares +GenericName[fur]=Program di instalazion dal sisteme +Comment[fur]=Calamares — Program di instalazion dal sisteme +Name[gl]=Instalación do Sistema +Icon[gl]=calamares +GenericName[gl]=Instalador de sistemas +Comment[gl]=Calamares — Instalador de sistemas +Name[he]=התקנת מערכת +Icon[he]=calamares +GenericName[he]=אשף התקנה +Comment[he]=Calamares - אשף התקנה +Name[hi]=सिस्टम इंस्टॉल करें +Icon[hi]=calamares +GenericName[hi]=सिस्टम इंस्टॉलर +Comment[hi]=Calamares — सिस्टम इंस्टॉलर +Name[hr]=Instaliraj sustav +Icon[hr]=calamares +GenericName[hr]=Instalacija sustava +Comment[hr]=Calamares — Instalacija sustava +Name[hu]=Rendszer telepítése +Icon[hu]=calamares +GenericName[hu]=Rendszertelepítő +Comment[hu]=Calamares – Rendszertelepítő +Name[id]=Instal Sistem +Icon[id]=calamares +GenericName[id]=Pemasang +Comment[id]=Calamares — Pemasang Sistem +Name[ie]=Installar li sistema +Icon[ie]=calamares +GenericName[ie]=Installator del sistema +Comment[ie]=Calamares — Installator del sistema +Name[is]=Setja upp kerfið +Icon[is]=calamares +GenericName[is]=Kerfis uppsetning +Comment[is]=Calamares — Kerfis uppsetning +Name[it_IT]=Installa il sistema +Icon[it_IT]=calamares +GenericName[it_IT]=Programma d'installazione del sistema +Comment[it_IT]=Calamares — Programma d'installazione del sistema +Name[ja]=システムをインストール +Icon[ja]=calamares +GenericName[ja]=システムインストーラー +Comment[ja]=Calamares — システムインストーラー +Name[ko]=시스템 설치 +Icon[ko]=깔라마레스 +GenericName[ko]=시스템 설치 관리자 +Comment[ko]=깔라마레스 — 시스템 설치 관리자 +Name[lt]=Įdiegti Sistemą +Icon[lt]=calamares +GenericName[lt]=Sistemos diegimas į kompiuterį +Comment[lt]=Calamares — Sistemos diegimo programa +Name[mk]=Инсталирај го системот +Icon[mk]=calamares +GenericName[mk]=Системен Инсталер +Comment[mk]=Calamares - Системен Инсталер +Name[ml]=സിസ്റ്റം ഇൻസ്റ്റാൾ ചെയ്യുക +Icon[ml]=കലാമാരേസ് +GenericName[ml]=സിസ്റ്റം ഇൻസ്റ്റാളർ +Comment[ml]=കലാമാരേസ് - സിസ്റ്റം ഇൻസ്റ്റാളർ +Name[nb]=Installer System +Icon[nb]=calamares +GenericName[nb]=Systeminstallatør +Comment[nb]=Calamares-systeminstallatør +Name[ne_NP]= सिस्टम इन्स्टल गर्नुहोस् +Icon[ne_NP]=Calamares +GenericName[ne_NP]=सिस्टम इन्स्टलर +Comment[ne_NP]=Calamares - सिस्टम इन्स्टलर +Name[nl]=Installeer systeem +Icon[nl]=calamares +GenericName[nl]=Installatieprogramma +Comment[nl]=Calamares — Installatieprogramma +Name[pl]=Zainstaluj system +Icon[pl]=calamares +GenericName[pl]=Instalator systemu +Comment[pl]=Calamares — Instalator systemu +Name[pt_BR]=Sistema de Instalação +Icon[pt_BR]=calamares +GenericName[pt_BR]=Instalador de Sistema +Comment[pt_BR]=Calamares — Instalador de Sistema +Name[pt_PT]=Instalar Sistema +Icon[pt_PT]=calamares +GenericName[pt_PT]=Instalador de Sistema +Comment[pt_PT]=Instalador de Sistema - Calamares +Name[ro]=Instalează sistemul +Icon[ro]=calamares +GenericName[ro]=Instalator de sistem +Comment[ro]=Calamares — Instalator de sistem +Name[ru]=Установить систему +Icon[ru]=calamares +GenericName[ru]=Установщик системы +Comment[ru]=Calamares - Установщик системы +Name[si]=පද්ධතිය ස්ථාපනය කරන්න +Icon[si]=කැලමරේස් +GenericName[si]=පද්ධති ස්ථාපකය +Comment[si]=Calamares - පද්ධති ස්ථාපකය +Name[sk]=Inštalovať systém +Icon[sk]=calamares +GenericName[sk]=Inštalátor systému +Comment[sk]=Calamares — Inštalátor systému +Name[sl]=Namesti sistem +Name[sq]=Instalo Sistemin +Icon[sq]=calamares +GenericName[sq]=Instalues Sistemi +Comment[sq]=Calamares — Instalues Sistemi +Name[sr]=Инсталирај систем +Icon[sr]=calamares +GenericName[sr]=Инсталатер система +Comment[sr]=Каламарес — инсталатер система +Name[sr@latin]=Instaliraj sistem +Name[sv]=Installera system +Icon[sv]=calamares +GenericName[sv]=Systeminstallerare +Comment[sv]=Calamares — Systeminstallerare +Name[tg]=Насбкунии низом +Icon[tg]=calamares +GenericName[tg]=Насбкунандаи низомӣ +Comment[tg]=Calamares — Насбкунандаи низомӣ +Name[th]=ติดตั้งระบบ +Name[tr_TR]=Sistemi Yükle +Icon[tr_TR]=calamares +GenericName[tr_TR]=Sistem Yükleyici +Comment[tr_TR]=Calamares — Sistem Yükleyici +Name[uk]=Встановити Систему +Icon[uk]=calamares +GenericName[uk]=Встановлювач системи +Comment[uk]=Calamares - Встановлювач системи +Name[uz]=O'rnatish +Icon[uz]=calamares +GenericName[uz]=Sistema o'rnatuvchisi +Comment[uz]=Calamares — Sistema o'rnatuvchisi +Name[vi]=Cài đặt hệ thống +Icon[vi]=calamares +GenericName[vi]=Bộ cài đặt hệ thống +Comment[vi]=Calamares — Bộ cài đặt hệ thống +Name[zh_CN]=安装系统 +Icon[zh_CN]=calamares +GenericName[zh_CN]=系统安装程序 +Comment[zh_CN]=Calamares — 系统安装程序 +Name[zh_TW]=安裝系統 +Icon[zh_TW]=calamares +GenericName[zh_TW]=系統安裝程式 +Comment[zh_TW]=Calamares ── 系統安裝程式 diff --git a/profiledef.sh b/profiledef.sh index 5cc124f..72af23a 100644 --- a/profiledef.sh +++ b/profiledef.sh @@ -18,6 +18,7 @@ airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' file_permissions=( ["/etc/shadow"]="0:0:400" ["/etc/skel/set_once_xfce4.sh"]="0:0:755" + ["/etc/skel/Desktop/calamares.desktop"]="0:0:755" ["/root"]="0:0:750" ["/root/.automated_script.sh"]="0:0:755" ["/usr/local/bin/choose-mirror"]="0:0:755" From 8dcda6bff1bd06abb08276d773f96fba9cdcae02 Mon Sep 17 00:00:00 2001 From: Akash6222 Date: Tue, 8 Aug 2023 21:48:26 +0530 Subject: [PATCH 2/5] added script to make calamares.desktop as trusted on Desktop --- airootfs/etc/skel/Desktop/calamares.desktop | 247 -------------------- airootfs/etc/skel/set_once_xfce4.sh | 8 + profiledef.sh | 1 - 3 files changed, 8 insertions(+), 248 deletions(-) delete mode 100755 airootfs/etc/skel/Desktop/calamares.desktop diff --git a/airootfs/etc/skel/Desktop/calamares.desktop b/airootfs/etc/skel/Desktop/calamares.desktop deleted file mode 100755 index 754dd4f..0000000 --- a/airootfs/etc/skel/Desktop/calamares.desktop +++ /dev/null @@ -1,247 +0,0 @@ -[Desktop Entry] -Type=Application -Version=1.0 -Name=Install TCET Linux -GenericName=TCET Linux Installer -Keywords=calamares;system;installer; -TryExec=calamares -Exec=sh -c "pkexec -E calamares -D 8" -Comment=TCET Linux Installer -Icon=tcetlinux-logo -Terminal=false -StartupNotify=true -Categories=Qt;System; -X-AppStream-Ignore=true - -Name[ar]=تثبيت النظام -Icon[ar]=كالامارس -GenericName[ar]=مثبت النظام -Comment[ar]=كالامارس - مثبت النظام -Name[as]=চিছটেম ইনস্তল কৰক -Icon[as]=কেলামাৰেচ -GenericName[as]=চিছটেম ইনস্তলাৰ -Comment[as]=কেলামাৰেচ — চিছটেম​ ইনস্তলাৰ -Name[ast]=Instalar el sistema -Icon[ast]=calamares -GenericName[ast]=Instalador del sistema -Comment[ast]=Calamares — Instalador del sistema -Name[az]=Sistemi Quraşdırmaq -Icon[az]=calamares -GenericName[az]=Sistem Quraşdırıcısı -Comment[az]=Calamares Sistem Quraşdırıcısı -Name[az_AZ]=Sistemi quraşdırmaq -Icon[az_AZ]=calamares -GenericName[az_AZ]=Sistem quraşdırcısı -Comment[az_AZ]=Calamares — Sistem Quraşdırıcısı -Name[be]=Усталяваць сістэму -Icon[be]=calamares -GenericName[be]=Усталёўшчык сістэмы -Comment[be]=Calamares — усталёўшчык сістэмы -Name[bg]=Инсталирай системата -Icon[bg]=calamares -GenericName[bg]=Системен инсталатор -Comment[bg]=„Calamares“ – Системен инсталатор -Name[bn]=সিস্টেম ইনস্টল করুন -Icon[bn]=ক্যালামারেস -GenericName[bn]=সিস্টেম ইনস্টলার -Comment[bn]=ক্যালামারেস - সিস্টেম ইনস্টলার -Name[ca]=Instal·la el sistema -Icon[ca]=calamares -GenericName[ca]=Instal·lador de sistema -Comment[ca]=Calamares — Instal·lador de sistema -Name[cs_CZ]=Nainstalovat systém -Icon[cs_CZ]=calamares -GenericName[cs_CZ]=Instalátor systému -Comment[cs_CZ]=Calamares – instalátor operačních systémů -Name[da]=Installér system -Icon[da]=calamares -GenericName[da]=Systeminstallationsprogram -Comment[da]=Calamares — Systeminstallationsprogram -Name[de]=System installieren -Icon[de]=calamares -GenericName[de]=Installation des Betriebssystems -Comment[de]=Calamares - Installation des Betriebssystems -Name[el]=Εγκατάσταση συστήματος -Icon[el]=calamares -GenericName[el]=Εγκατάσταση συστήματος -Comment[el]=Calamares — Εγκατάσταση συστήματος -Name[en_GB]=Install System -Icon[en_GB]=calamares -GenericName[en_GB]=System Installer -Comment[en_GB]=Calamares — System Installer -Name[eo]=Instali Sistemo -Icon[eo]=calamares -GenericName[eo]=Sistema Instalilo -Comment[eo]=Calamares — Sistema Instalilo -Name[es]=Instalar el sistema -Icon[es]=calamares -GenericName[es]=Instalador del sistema -Comment[es]=Calamares — Instalador del sistema -Name[es_MX]=Instalar el Sistema -Icon[es_MX]=calamares -GenericName[es_MX]=Instalador del sistema -Comment[es_MX]=Calamares - Instalador del sistema -Name[es_PR]=Instalar el sistema -Name[et]=Paigalda süsteem -Icon[et]=calamares -GenericName[et]=Süsteemipaigaldaja -Comment[et]=Calamares — süsteemipaigaldaja -Name[eu]=Sistema instalatu -Icon[eu]=calamares -GenericName[eu]=Sistema instalatzailea -Comment[eu]=Calamares - sistema instalatzailea -Name[fa]=نصب سامانه -Icon[fa]=کالامارس -GenericName[fa]=نصب‌کننده سامانه -Comment[fa]=کالامارس — نصب‌کننده سامانه -Name[fi_FI]=Asenna järjestelmä -Icon[fi_FI]=calamares -GenericName[fi_FI]=Järjestelmän asennusohjelma -Comment[fi_FI]=Calamares — Järjestelmän asentaja -Name[fr]=Installer le système -Icon[fr]=calamares -GenericName[fr]=Installateur système -Comment[fr]=Calamares - Installateur système -Name[fur]=Instale il sisteme -Icon[fur]=calamares -GenericName[fur]=Program di instalazion dal sisteme -Comment[fur]=Calamares — Program di instalazion dal sisteme -Name[gl]=Instalación do Sistema -Icon[gl]=calamares -GenericName[gl]=Instalador de sistemas -Comment[gl]=Calamares — Instalador de sistemas -Name[he]=התקנת מערכת -Icon[he]=calamares -GenericName[he]=אשף התקנה -Comment[he]=Calamares - אשף התקנה -Name[hi]=सिस्टम इंस्टॉल करें -Icon[hi]=calamares -GenericName[hi]=सिस्टम इंस्टॉलर -Comment[hi]=Calamares — सिस्टम इंस्टॉलर -Name[hr]=Instaliraj sustav -Icon[hr]=calamares -GenericName[hr]=Instalacija sustava -Comment[hr]=Calamares — Instalacija sustava -Name[hu]=Rendszer telepítése -Icon[hu]=calamares -GenericName[hu]=Rendszertelepítő -Comment[hu]=Calamares – Rendszertelepítő -Name[id]=Instal Sistem -Icon[id]=calamares -GenericName[id]=Pemasang -Comment[id]=Calamares — Pemasang Sistem -Name[ie]=Installar li sistema -Icon[ie]=calamares -GenericName[ie]=Installator del sistema -Comment[ie]=Calamares — Installator del sistema -Name[is]=Setja upp kerfið -Icon[is]=calamares -GenericName[is]=Kerfis uppsetning -Comment[is]=Calamares — Kerfis uppsetning -Name[it_IT]=Installa il sistema -Icon[it_IT]=calamares -GenericName[it_IT]=Programma d'installazione del sistema -Comment[it_IT]=Calamares — Programma d'installazione del sistema -Name[ja]=システムをインストール -Icon[ja]=calamares -GenericName[ja]=システムインストーラー -Comment[ja]=Calamares — システムインストーラー -Name[ko]=시스템 설치 -Icon[ko]=깔라마레스 -GenericName[ko]=시스템 설치 관리자 -Comment[ko]=깔라마레스 — 시스템 설치 관리자 -Name[lt]=Įdiegti Sistemą -Icon[lt]=calamares -GenericName[lt]=Sistemos diegimas į kompiuterį -Comment[lt]=Calamares — Sistemos diegimo programa -Name[mk]=Инсталирај го системот -Icon[mk]=calamares -GenericName[mk]=Системен Инсталер -Comment[mk]=Calamares - Системен Инсталер -Name[ml]=സിസ്റ്റം ഇൻസ്റ്റാൾ ചെയ്യുക -Icon[ml]=കലാമാരേസ് -GenericName[ml]=സിസ്റ്റം ഇൻസ്റ്റാളർ -Comment[ml]=കലാമാരേസ് - സിസ്റ്റം ഇൻസ്റ്റാളർ -Name[nb]=Installer System -Icon[nb]=calamares -GenericName[nb]=Systeminstallatør -Comment[nb]=Calamares-systeminstallatør -Name[ne_NP]= सिस्टम इन्स्टल गर्नुहोस् -Icon[ne_NP]=Calamares -GenericName[ne_NP]=सिस्टम इन्स्टलर -Comment[ne_NP]=Calamares - सिस्टम इन्स्टलर -Name[nl]=Installeer systeem -Icon[nl]=calamares -GenericName[nl]=Installatieprogramma -Comment[nl]=Calamares — Installatieprogramma -Name[pl]=Zainstaluj system -Icon[pl]=calamares -GenericName[pl]=Instalator systemu -Comment[pl]=Calamares — Instalator systemu -Name[pt_BR]=Sistema de Instalação -Icon[pt_BR]=calamares -GenericName[pt_BR]=Instalador de Sistema -Comment[pt_BR]=Calamares — Instalador de Sistema -Name[pt_PT]=Instalar Sistema -Icon[pt_PT]=calamares -GenericName[pt_PT]=Instalador de Sistema -Comment[pt_PT]=Instalador de Sistema - Calamares -Name[ro]=Instalează sistemul -Icon[ro]=calamares -GenericName[ro]=Instalator de sistem -Comment[ro]=Calamares — Instalator de sistem -Name[ru]=Установить систему -Icon[ru]=calamares -GenericName[ru]=Установщик системы -Comment[ru]=Calamares - Установщик системы -Name[si]=පද්ධතිය ස්ථාපනය කරන්න -Icon[si]=කැලමරේස් -GenericName[si]=පද්ධති ස්ථාපකය -Comment[si]=Calamares - පද්ධති ස්ථාපකය -Name[sk]=Inštalovať systém -Icon[sk]=calamares -GenericName[sk]=Inštalátor systému -Comment[sk]=Calamares — Inštalátor systému -Name[sl]=Namesti sistem -Name[sq]=Instalo Sistemin -Icon[sq]=calamares -GenericName[sq]=Instalues Sistemi -Comment[sq]=Calamares — Instalues Sistemi -Name[sr]=Инсталирај систем -Icon[sr]=calamares -GenericName[sr]=Инсталатер система -Comment[sr]=Каламарес — инсталатер система -Name[sr@latin]=Instaliraj sistem -Name[sv]=Installera system -Icon[sv]=calamares -GenericName[sv]=Systeminstallerare -Comment[sv]=Calamares — Systeminstallerare -Name[tg]=Насбкунии низом -Icon[tg]=calamares -GenericName[tg]=Насбкунандаи низомӣ -Comment[tg]=Calamares — Насбкунандаи низомӣ -Name[th]=ติดตั้งระบบ -Name[tr_TR]=Sistemi Yükle -Icon[tr_TR]=calamares -GenericName[tr_TR]=Sistem Yükleyici -Comment[tr_TR]=Calamares — Sistem Yükleyici -Name[uk]=Встановити Систему -Icon[uk]=calamares -GenericName[uk]=Встановлювач системи -Comment[uk]=Calamares - Встановлювач системи -Name[uz]=O'rnatish -Icon[uz]=calamares -GenericName[uz]=Sistema o'rnatuvchisi -Comment[uz]=Calamares — Sistema o'rnatuvchisi -Name[vi]=Cài đặt hệ thống -Icon[vi]=calamares -GenericName[vi]=Bộ cài đặt hệ thống -Comment[vi]=Calamares — Bộ cài đặt hệ thống -Name[zh_CN]=安装系统 -Icon[zh_CN]=calamares -GenericName[zh_CN]=系统安装程序 -Comment[zh_CN]=Calamares — 系统安装程序 -Name[zh_TW]=安裝系統 -Icon[zh_TW]=calamares -GenericName[zh_TW]=系統安裝程式 -Comment[zh_TW]=Calamares ── 系統安裝程式 diff --git a/airootfs/etc/skel/set_once_xfce4.sh b/airootfs/etc/skel/set_once_xfce4.sh index 5c72123..3ee8ca9 100755 --- a/airootfs/etc/skel/set_once_xfce4.sh +++ b/airootfs/etc/skel/set_once_xfce4.sh @@ -1,3 +1,11 @@ #!/bin/sh + +# For xed line count dbus-launch dconf load / < ~/xed.dconf + +# For setting calamares.desktop as trusted +for f in ~/Desktop/calamares.desktop; do chmod +x "$f"; gio set -t string "$f" metadata::xfce-exe-checksum "$(sha256sum "$f" | awk '{print $1}')"; done + +# Removing script and set_once_xfce4.desktop rm ~/xed.dconf ~/.config/autostart/set_once_xfce4.desktop ~/set_once_xfce4.sh + diff --git a/profiledef.sh b/profiledef.sh index 72af23a..5cc124f 100644 --- a/profiledef.sh +++ b/profiledef.sh @@ -18,7 +18,6 @@ airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' file_permissions=( ["/etc/shadow"]="0:0:400" ["/etc/skel/set_once_xfce4.sh"]="0:0:755" - ["/etc/skel/Desktop/calamares.desktop"]="0:0:755" ["/root"]="0:0:750" ["/root/.automated_script.sh"]="0:0:755" ["/usr/local/bin/choose-mirror"]="0:0:755" From 1dc111f2510c838b68150563a921b506a0fdbc6c Mon Sep 17 00:00:00 2001 From: Akash6222 Date: Tue, 8 Aug 2023 21:53:45 +0530 Subject: [PATCH 3/5] added calamares_desktop in packages --- packages.x86_64 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages.x86_64 b/packages.x86_64 index f9c8316..827156d 100644 --- a/packages.x86_64 +++ b/packages.x86_64 @@ -268,3 +268,6 @@ tcet-linux-welcome # Task Manager glances + +# Calamares Desktop +calamares_desktop From a9b3371a272704558191ca01aeb63c6fafd625fa Mon Sep 17 00:00:00 2001 From: harshau007 Date: Tue, 8 Aug 2023 23:38:49 +0530 Subject: [PATCH 4/5] [DELETED] profile.d --- airootfs/etc/profile.d/calamares.sh | 2 -- airootfs/root/custom-scripts/post_build_script.sh | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) delete mode 100755 airootfs/etc/profile.d/calamares.sh create mode 100755 airootfs/root/custom-scripts/post_build_script.sh diff --git a/airootfs/etc/profile.d/calamares.sh b/airootfs/etc/profile.d/calamares.sh deleted file mode 100755 index 7055f8c..0000000 --- a/airootfs/etc/profile.d/calamares.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -chmod +755 /airootfs/etc/skel/Desktop/calamares.desktop diff --git a/airootfs/root/custom-scripts/post_build_script.sh b/airootfs/root/custom-scripts/post_build_script.sh new file mode 100755 index 0000000..818c377 --- /dev/null +++ b/airootfs/root/custom-scripts/post_build_script.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Path to calamares.desktop in the ISO's root +CALAMARES_DESKTOP="/etc/skel/Desktop/calamares.desktop" + +# Make calamares.desktop executable +chmod +x "$CALAMARES_DESKTOP" From a121cb5a903b8a51803c4396301447efa423f0ca Mon Sep 17 00:00:00 2001 From: harshau007 Date: Tue, 8 Aug 2023 23:43:06 +0530 Subject: [PATCH 5/5] [DELETED] custom_scripts --- airootfs/root/custom-scripts/post_build_script.sh | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 airootfs/root/custom-scripts/post_build_script.sh diff --git a/airootfs/root/custom-scripts/post_build_script.sh b/airootfs/root/custom-scripts/post_build_script.sh deleted file mode 100755 index 818c377..0000000 --- a/airootfs/root/custom-scripts/post_build_script.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# Path to calamares.desktop in the ISO's root -CALAMARES_DESKTOP="/etc/skel/Desktop/calamares.desktop" - -# Make calamares.desktop executable -chmod +x "$CALAMARES_DESKTOP"