Add Scribus, Continue Plasma guide, Minor content changes

This commit is contained in:
linesofcodes committed 2026-11-09 17:08:06 +07:00
1 parent 0132ceb835
commit 55be62c2a9
38 files changed
+3502 -2490

No files matched your search

+11 -11
View File
@@ -9,23 +9,23 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.3.13",
"@astrojs/solid-js": "^5.1.3",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.17.0",
"fuse.js": "^7.1.0",
"@astrojs/mdx": "^7.0.8",
"@astrojs/solid-js": "^7.1.2",
"@tailwindcss/vite": "^4.3.5",
"astro": "^7.4.7",
"fuse.js": "^7.5.0",
"party-js": "^2.2.0",
"qrcode-generator": "^2.0.4",
"sharp": "^0.34.5",
"solid-js": "^1.9.11",
"tailwindcss": "^4.1.18"
"solid-js": "^1.9.18",
"tailwindcss": "^4.3.5"
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
"packageManager": "pnpm@12.18.0",
"devDependencies": {
"@types/node": "^25.1.0",
"@types/node": "^25.9.9",
"typescript": "^5.9.3",
"typescript-plugin-toml": "^0.5.0",
"vite-plugin-toml": "^0.8.7",
"wrangler": "^4.61.1"
"vite-plugin-toml": "^0.8.8",
"wrangler": "^4.158.0"
}
}
+2753 -1880
View File
File diff suppressed because it is too large. Load diff
+4
View File
@@ -1,3 +1,7 @@
allowBuilds:
esbuild: true
sharp: true
workerd: true
onlyBuiltDependencies:
- '@tailwindcss/oxide'
- esbuild
Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 KiB

+1 -1
View File
@@ -23,7 +23,7 @@ const fuseOptions: IFuseOptions<Task> = {
const AppList: Component<{ lang: string }> = ({ lang }) => {
const [currentPlaceholder, setCurrentPlaceholder] = createSignal("");
const [searchQuery, setSearchQuery] = createSignal("");
const [flathub, setFlathub] = createSignal(false);
const [flathub, setFlathub] = createSignal(true);
const fuse = new Fuse(appData.tasks as Task[], fuseOptions);
const searchResults = createMemo(() => {
if (searchQuery().trim() === "") {
+2 -1
View File
@@ -1,4 +1,5 @@
import { defineCollection, z } from "astro:content";
import { defineCollection } from "astro:content";
import { z } from "astro/zod";
import { glob, file } from "astro/loaders";
+19
View File
@@ -40,6 +40,15 @@ name = "Inkscape (Vector)"
url = "https://inkscape.org/"
flathub = "https://flathub.org/en/apps/org.inkscape.Inkscape"
[[tasks]]
name = "Desktop Publishing"
key = "publishing"
[[tasks.apps]]
name = "Scribus"
url = "https://www.scribus.net/"
flathub = "https://flathub.org/en/apps/net.scribus.Scribus"
[[tasks]]
name = "Gaming"
key = "gaming"
@@ -58,6 +67,11 @@ name = "Lutris"
url = "https://lutris.net/"
flathub = "https://flathub.org/en/apps/net.lutris.Lutris"
[[tasks.apps]]
name = "Heroic"
url = "https://heroicgameslauncher.com/"
flathub = "https://flathub.org/en/apps/com.heroicgameslauncher.hgl"
[[tasks]]
name = "Music Production"
key = "music"
@@ -94,6 +108,11 @@ name = "LibreOffice"
url = "https://www.libreoffice.org/"
flathub = "https://flathub.org/en/apps/org.libreoffice.LibreOffice"
[[tasks.apps]]
name = "OnlyOffice"
url = "https://onlyoffice.com/"
flathub = "https://flathub.org/en/apps/org.onlyoffice.desktopeditors"
[[tasks.apps]]
name = "Calligra"
url = "https://calligra.org/"
+2 -2
View File
@@ -5,7 +5,7 @@ title: Choose your flavor
import { Picture } from "astro:assets";
import ChoiceList from "@/components/ChoiceList.astro";
import fedoraWorkstation from "@/assets/imgs/Fedora/fedora42_workstation.png";
import fedoraPlasma from "@/assets/imgs/Fedora/fedora43_kdeplasma.png";
import fedoraPlasma from "@/assets/imgs/Fedora/fedora44_kdeplasma.png";
Choose a desktop environment, pick whatever you like based on
appearance. KDE Plasma (Right) may be more familiar for Windows users.
@@ -28,7 +28,7 @@ appearance. KDE Plasma (Right) may be more familiar for Windows users.
src={fedoraPlasma}
formats={["avif"]}
width="1280"
alt="Fedora KDE Plasma Desktop 43"
alt="Fedora KDE Plasma Desktop 44"
/>
<figcaption>Fedora KDE Plasma Desktop</figcaption>
</figure>
+2 -2
View File
@@ -4,13 +4,13 @@ title: Fedora KDE Plasma Desktop
import { Picture } from "astro:assets";
import ChoiceList from "@/components/ChoiceList.astro";
import fedoraPlasma from "@/assets/imgs/Fedora/fedora43_kdeplasma.png";
import fedoraPlasma from "@/assets/imgs/Fedora/fedora44_kdeplasma.png";
<Picture
src={fedoraPlasma}
formats={["avif"]}
width="1280"
alt="Fedora KDE Plasma Desktop 43"
alt="Fedora KDE Plasma Desktop 44"
/>
<ChoiceList>
+1 -1
View File
@@ -16,7 +16,7 @@ import writeOptions from "@/assets/imgs/Fedora/FedoraMediaWriter/WriteOptions.pn
/>
</div>
Select the latest version available (as of writing, is version 43) and make
Select the latest version available (as of writing, is version 45) and make
sure you're choosing the right device in the USB Drive dropdown.
Optionally, check "Delete download after writing" if you'd like to save space
@@ -0,0 +1,5 @@
---
title: Sharing is caring
continueTo: distro/fedora/plasma/install/11
aliasOf: distro/fedora/workstation/install/11
---
@@ -0,0 +1,5 @@
---
title: Resize it!
continueTo: distro/fedora/plasma/install/12
aliasOf: distro/fedora/workstation/install/12
---
@@ -0,0 +1,5 @@
---
title: Reclaim Territory
continueTo: distro/fedora/plasma/install/13
aliasOf: distro/fedora/workstation/install/13
---
@@ -0,0 +1,5 @@
---
title: Disk Encryption
continueTo: distro/fedora/plasma/install/14
aliasOf: distro/fedora/workstation/install/14
---
@@ -0,0 +1,5 @@
---
title: Review and Install
continueTo: distro/fedora/plasma/install/15
aliasOf: distro/fedora/workstation/install/15
---
@@ -0,0 +1,5 @@
---
title: Installing...
continueTo: distro/fedora/plasma/install/16
aliasOf: distro/fedora/workstation/install/16
---
@@ -0,0 +1,5 @@
---
title: You slayed it
continueTo: distro/fedora/plasma/install/17
aliasOf: distro/fedora/workstation/install/17
---
@@ -0,0 +1,20 @@
---
title: Your journey begins anew
continueTo: distro/fedora/plasma/afterinstall/0
---
import { Picture } from "astro:assets";
import ChoiceList from "@/components/ChoiceList.astro";
import restart from "@/assets/imgs/Fedora/Plasma/Install/ApplicationLauncher.png";
<div class="flex justify-center">
<Picture
src={restart}
formats={["avif"]}
alt="Application launcher"
class="max-h-[50vh] w-auto"
/>
</div>
After pressing the "Exit to live desktop" button, Bring up the Application Launcher by
pressing the Meta (a.k.a Windows) key, then press Restart.
@@ -0,0 +1,17 @@
---
title: Install
continueTo: distro/fedora/plasma/install/9/
---
import { Picture } from "astro:assets";
import ChoiceList from "@/components/ChoiceList.astro";
import language from "@/assets/imgs/Fedora/Plasma/Install/InstallLanguage.png";
<Picture
src={language}
formats={["avif"]}
alt="Language selection menu"
width="1280"
/>
Select your preferred language and click Next.
@@ -0,0 +1,33 @@
---
title: Installation Method
continueTo: distro/fedora/plasma/install/10/
---
import { Picture } from "astro:assets";
import ChoiceList from "@/components/ChoiceList.astro";
import installMethod from "@/assets/imgs/Fedora/Plasma/Install/InstallationMethod_Cropped.png";
<div class="relative">
<Picture
src={installMethod}
formats={["avif"]}
alt="Installation method page"
/>
<div class="absolute bottom-1/4 max-w-7/8 left-1/16 translate-y-1/2 bg-white/50 text-black rounded p-4">
"Share disk with other operating system" - Share disk space, have more than one OS on your machine
"Use entire disk" - Wipe the entire thing and install Fedora
We won't talk about the third option in the picture because it's advanced&trade;
</div>
</div>
<ChoiceList>
<a href="/en/distro/fedora/plasma/install/10/" class="button">
I choose to share
</a>
<a href="/en/distro/fedora/plasma/install/13/" class="button">
Use the entire thang
</a>
</ChoiceList>
+1 -1
View File
@@ -16,7 +16,7 @@ import writeOptions from "@/assets/imgs/Fedora/FedoraMediaWriter/WriteOptions.pn
/>
</div>
Select the latest version available (as of writing, is version 43) and make
Select the latest version available (as of writing, is version 45) and make
sure you're choosing the right device in the USB Drive dropdown.
Optionally, check "Delete download after writing" if you'd like to save space
@@ -12,7 +12,7 @@ import diskEncryption from "@/assets/imgs/Fedora/Install/DiskEncryptionUnchecked
formats={["avif"]}
alt="Disk encryption page"
/>
<div class="absolute bottom-1/4 max-w-7/8 left-1/16 translate-y-1/2 bg-white/50 text-black rounded p-4">
<div class="absolute bottom-1/4 left-1/16 translate-y-1/2 bg-white/50 text-black rounded p-4">
You can optionally encrypt your disk. If you wish to encrypt, Check the
checkbox and enter the required information. If not, Just go ahead and
press "Next".
@@ -13,8 +13,9 @@ import reviewAndInstall from "@/assets/imgs/Fedora/Install/ReviewAndInstall_Crop
formats={["avif"]}
alt="Review and Installation page"
/>
<div class="absolute bottom-1/4 left-1/2 -translate-x-1/2 translate-y-1/2 bg-white/50 text-black rounded p-4">
Review what the installer is going to do, and press "Install"!
<div class="absolute bottom-1/4 w-full translate-y-1/2 bg-white/50 text-black rounded p-4">
Review what the installer is going to do, and press "Install"!<br/>
<i>Please note, your details won't match what's in the screenshot</i>
</div>
</div>
@@ -15,4 +15,4 @@ import installing from "@/assets/imgs/Fedora/Install/Installing_Cropped.png";
Patiently wait. Eat some snacks, listen to some music, find something else to do.
This process should take around 5-10 minutes or longer depending on your
hardware speed and internet connection.
hardware speed.
+1
View File
@@ -7,6 +7,7 @@ todo = "I need to do..."
modeling = "3D Modeling"
animation = "Animation"
drawing = "Drawing"
publishing = "Desktop Publishing"
gaming = "Gaming"
music = "Music Production"
note = "Note Taking"
+1
View File
@@ -7,6 +7,7 @@ todo = "ฉันต้อง..."
modeling = "โมเดล 3D"
animation = "แอนิเมชั่น"
drawing = "วาดรูป"
publishing = "ซอฟต์แวร์จัดพิมพ์"
gaming = "เล่นเกม"
music = "ทำเพลง"
note = "จดบันทึก (โน้ต)"
+41 -39
View File
@@ -8,15 +8,15 @@ import { getCollection, render } from "astro:content";
import { getRelativeLocaleUrl } from "astro:i18n";
export const getStaticPaths = (async () => {
const docs = await getCollection("distroGuide");
const docs = await getCollection("distroGuide");
return docs.map((doc) => {
const [lang, ...slug] = doc.id.split("/");
return {
params: { lang, id: slug.join("/") || undefined },
props: { doc },
};
});
return docs.map((doc) => {
const [lang, ...slug] = doc.id.split("/");
return {
params: { lang, id: slug.join("/") || undefined },
props: { doc },
};
});
}) satisfies GetStaticPaths;
const { lang } = Astro.params;
@@ -25,15 +25,17 @@ const { doc } = Astro.props;
let contentDoc: CollectionEntry<"commonPages" | "distroGuide"> = doc;
const commonPrefix = "common/";
if (doc.data.aliasOf && doc.data.aliasOf.startsWith(commonPrefix)) {
const entry = await getEntry(
"commonPages",
`${lang}/${doc.data.aliasOf.substring(commonPrefix.length)}`
);
const distroPrefix = "distro/";
if (doc.data.aliasOf) {
const isCommon = doc.data.aliasOf.startsWith(commonPrefix);
const entry = await getEntry(
isCommon ? "commonPages" : "distroGuide",
`${lang}/${doc.data.aliasOf.substring(isCommon ? commonPrefix.length : distroPrefix.length)}`,
);
if (entry !== undefined) {
contentDoc = entry;
}
if (entry !== undefined) {
contentDoc = entry;
}
}
const strings = await getEntry("strings", lang);
@@ -42,28 +44,28 @@ const { Content } = await render(contentDoc);
---
<TransitionLayout
title={doc.data.title + " - Move to Linux"}
description={doc.data.description}
title={doc.data.title + " - Move to Linux"}
description={doc.data.description}
>
<main class="fill-screen-center" transition:animate="fade">
<div class="p-4 lg:max-w-[50vw] text-center flex flex-col gap-4">
<h1 class="text-5xl font-bold">{doc.data.title}</h1>
<Content />
{
doc.data.continueTo === undefined ? null : (
<ChoiceList>
<a
href={getRelativeLocaleUrl(
lang,
doc.data.continueTo
)}
class="button"
>
{strings?.data.continue ?? "Continue"}
</a>
</ChoiceList>
)
}
</div>
</main>
<main class="fill-screen-center" transition:animate="fade">
<div class="p-4 lg:max-w-[50vw] text-center flex flex-col gap-4">
<h1 class="text-5xl font-bold">{doc.data.title}</h1>
<Content />
{
doc.data.continueTo === undefined ? null : (
<ChoiceList>
<a
href={getRelativeLocaleUrl(
lang,
doc.data.continueTo,
)}
class="button"
>
{strings?.data.continue ?? "Continue"}
</a>
</ChoiceList>
)
}
</div>
</main>
</TransitionLayout>
+33 -33
View File
@@ -5,22 +5,22 @@ import type { GetStaticPaths, GetStaticPathsItem } from "astro";
import { getCollection } from "astro:content";
export const getStaticPaths = (async () => {
const questions = await getCollection("distroQuiz");
const questions = await getCollection("distroQuiz");
return questions
.map((langDoc) => {
return langDoc.data.dialogs.reduce((prev, curr, index) => {
const page: GetStaticPathsItem = {
params: {
lang: langDoc.id,
index,
},
props: curr,
};
return [...prev, page];
}, [] as GetStaticPathsItem[]);
})
.flat();
return questions
.map((langDoc) => {
return langDoc.data.dialogs.reduce((prev, curr, index) => {
const page: GetStaticPathsItem = {
params: {
lang: langDoc.id,
index: index.toString(),
},
props: curr,
};
return [...prev, page];
}, [] as GetStaticPathsItem[]);
})
.flat();
}) satisfies GetStaticPaths;
const { lang, index } = Astro.params;
@@ -28,25 +28,25 @@ const { title, content, choices } = Astro.props;
---
<TransitionLayout>
<main class="fill-screen-center" transition:animate="slide">
<div class="p-4 lg:max-w-[50vw] text-center flex flex-col gap-4">
<h1 class="text-5xl font-bold">{title}</h1>
<p set:html={content} />
<div
class="grid grid-flow-col auto-cols-fr gap-2"
set:html={getChoices(
choices as Choice[],
"distroquiz",
(index as number).toString(),
lang as string
)}
/>
</div>
</main>
<main class="fill-screen-center" transition:animate="slide">
<div class="p-4 lg:max-w-[50vw] text-center flex flex-col gap-4">
<h1 class="text-5xl font-bold">{title}</h1>
<p set:html={content} />
<div
class="grid grid-flow-col auto-cols-fr gap-2"
set:html={getChoices(
choices as Choice[],
"distroquiz",
(index as number).toString(),
lang as string,
)}
/>
</div>
</main>
</TransitionLayout>
<style>
body {
overflow: hidden;
}
body {
overflow: hidden;
}
</style>
+134 -134
View File
@@ -4,143 +4,143 @@ import BasicLayout from "@/layouts/BasicLayout.astro";
---
<BasicLayout title="Linux Applications">
<main class="my-8 mx-16">
<section id="appList">
<h1>I need to do ..., Does Linux have an app for it?</h1>
<p>
Below is a short list of common tasks and native Linux apps that
can be used for it.
</p>
<div class="mb-4">
<span class="text-amber-600 dark:text-yellow-400">Warning:</span
> This is not and can never be a 100% complete list.
</div>
<AppList lang="en" client:load />
</section>
<section id="compatQuestions" class="mt-4">
<h1>Software Compatibility</h1>
<p>A short section about software compatibility in Linux.</p>
<details>
<summary
>Does web applications work? (Canva, Google Docs, Notion,
etc.)</summary
>
<p>
These apps are the least concerning and if you use these
apps, you'll do just fine.
</p>
</details>
<details>
<summary>Does Adobe apps work?</summary>
<p>
It is known to not work very well, however, you can try if
you wish.
</p>
</details>
<details>
<summary
>Can I run Windows apps/games that aren't native on Linux?</summary
>
<p>
It is possible, however, not everything will work perfectly.
See the
<a href="https://appdb.winehq.org/"
>Wine Application Database</a
> for regular applications and
<a href="https://www.protondb.com/">ProtonDB</a> for Steam games.
</p>
</details>
</section>
<section id="buzzwords" class="mt-4">
<h1>Buzzwords Explained</h1>
<p>
Here are some words that you will encounter in the (Linux)
software world. You don't have to remember all of this, but you
can refer back to this site if you want a short definition.
</p>
<dl>
<dt>package</dt>
<dd>
Imagine a box which contains software files. You could
install a package, Which would mean copying the files inside
it onto your system.
</dd>
<dt>package manager</dt>
<dd>
A software that helps you manage packages. It is specific to
each Linux distribution and thus each distribution may have
different package formats.
</dd>
<dt>system package</dt>
<dd>
A package that is installed on your system. Also commonly
referred to as one of the ways to distribute software on
Linux, in that context, the word would mean creating a
package for a system.
</dd>
<dt>package repository</dt>
<dd>
If a package is a box, then a package repository is a
warehouse.
</dd>
<dt>binary</dt>
<dd>
A file that is already compiled and ready to run. Also known
as an "executable".
</dd>
<dt>AppImage</dt>
<dd>
A software distribution format. It is a single file that you
can download and run on any Linux distribution with minimal
reliance on the system. Specifically, it only requires FUSE
(Filesystem in Userspace) to be installed, and that's it.
The file extension of this format is <code>.AppImage</code>
</dd>
<dt>Flatpak</dt>
<dd>
A software distribution format. When an application is
packaged this way, the application will be ran inside a
sandbox to ensure security, and it will also have minimal
reliance on system packages. This is becoming the most
popular way to distribute software as it is distro-neutral.
The most popular Flatpak repository (and thus is recognized
as the central repository) is <a
href="https://flathub.org/"
target="_blank"
rel="noopener">Flathub</a
>.
</dd>
<dt>Wine</dt>
<dd>
Wine is originally an acronym for "Wine Is Not an Emulator",
and it is a compatibility layer (<strong>not</strong> an emulator)
capable of running Windows applications. A simple way of explaining
what it does would be that it translates Windows language into
Linux language on-the-fly, minimizing the performance overhead
other methods such as virtual machines and emulators may introduce.
(Just for correctness, Wine is not limited to Linux, it can also
work on other Unix-like systems such as FreeBSD and macOS)
</dd>
<dt>Proton</dt>
<dd>
A compatibility layer built on Wine by Valve, made for
running games.
</dd>
<dt>DXVK</dt>
<dd>A software which translates DirectX into Vulkan.</dd>
</dl>
</section>
</main>
<main class="my-8 mx-16">
<section id="appList">
<h1>I need to do ..., Does Linux have an app for it?</h1>
<p>
Below is a short list of common tasks and native Linux apps that
can be used for it.
</p>
<div class="mb-4">
<span class="text-amber-600 dark:text-yellow-400">Warning:</span
> This is not and can never be a 100% complete list.
</div>
<AppList lang="en" client:load />
</section>
<section id="compatQuestions" class="mt-4">
<h1>Software Compatibility</h1>
<p>A short section about software compatibility in Linux.</p>
<details>
<summary
>Does web applications work? (Canva, Google Docs, Notion,
etc.)</summary
>
<p>
These apps are the least concerning and if you use these
apps, you'll do just fine.
</p>
</details>
<details>
<summary>Does Adobe apps work?</summary>
<p>
It is known to not work very well, however, you can try if
you wish.
</p>
</details>
<details>
<summary
>Can I run Windows apps/games that aren't native on Linux?</summary
>
<p>
It is possible, however, not everything will work perfectly.
See the{" "}
<a href="https://appdb.winehq.org/"
>Wine Application Database</a
> for regular applications and{" "}
<a href="https://www.protondb.com/">ProtonDB</a> for Steam games.
</p>
</details>
</section>
<section id="buzzwords" class="mt-4">
<h1>Buzzwords Explained</h1>
<p>
Here are some words that you will encounter in the (Linux)
software world. You don't have to remember all of this, but you
can refer back to this site if you want a short definition.
</p>
<dl>
<dt>package</dt>
<dd>
Imagine a box which contains software files. You could
install a package, Which would mean copying the files inside
it onto your system.
</dd>
<dt>package manager</dt>
<dd>
A software that helps you manage packages. It is specific to
each Linux distribution and thus each distribution may have
different package formats.
</dd>
<dt>system package</dt>
<dd>
A package that is installed on your system. Also commonly
referred to as one of the ways to distribute software on
Linux, in that context, the word would mean creating a
package for a system.
</dd>
<dt>package repository</dt>
<dd>
If a package is a box, then a package repository is a
warehouse.
</dd>
<dt>binary</dt>
<dd>
A file that is already compiled and ready to run. Also known
as an "executable".
</dd>
<dt>AppImage</dt>
<dd>
A software distribution format. It is a single file that you
can download and run on any Linux distribution with minimal
reliance on the system. Specifically, it only requires FUSE
(Filesystem in Userspace) to be installed, and that's it.
The file extension of this format is <code>.AppImage</code>
</dd>
<dt>Flatpak</dt>
<dd>
A software distribution format. When an application is
packaged this way, the application will be ran inside a
sandbox to ensure security, and it will also have minimal
reliance on system packages. This is becoming the most
popular way to distribute software as it is distro-neutral.
The most popular Flatpak repository (and thus is recognized
as the central repository) is <a
href="https://flathub.org/"
target="_blank"
rel="noopener">Flathub</a
>.
</dd>
<dt>Wine</dt>
<dd>
Wine is originally an acronym for "Wine Is Not an Emulator",
and it is a compatibility layer (<strong>not</strong> an emulator)
capable of running Windows applications. A simple way of explaining
what it does would be that it translates Windows language into
Linux language on-the-fly, minimizing the performance overhead
other methods such as virtual machines and emulators may introduce.
(Just for correctness, Wine is not limited to Linux, it can also
work on other Unix-like systems such as FreeBSD and macOS)
</dd>
<dt>Proton</dt>
<dd>
A compatibility layer built on Wine by Valve, made for
running games.
</dd>
<dt>DXVK</dt>
<dd>A software which translates DirectX into Vulkan.</dd>
</dl>
</section>
</main>
</BasicLayout>
<style>
@reference "@/styles/global.css";
@reference "@/styles/global.css";
h1 {
@apply text-4xl font-bold mb-4;
}
h1 {
@apply text-4xl font-bold mb-4;
}
p {
@apply my-2;
}
p {
@apply my-2;
}
</style>
+118 -118
View File
@@ -6,128 +6,128 @@ const startLink = getRelativeLocaleUrl("en", "start");
---
<BasicLayout>
<header
class="min-h-[60vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
>
<h1
class="text-5xl font-bold bg-linear-to-r from-amber-700 to-amber-900 dark:from-amber-400 dark:to-amber-600 bg-clip-text text-transparent"
>
Move to Linux
</h1>
<p>This website aims to help you learn and setup Linux.</p>
<div class="text-center">
<a href="#what">What</a>
&bull;
<a href="#why">Why</a>
&bull;
<a href={startLink} class="font-bold">Just start!</a><br />
<a href="/en/apps">Apps & Compatibility</a>
</div>
</header>
<main>
<section id="what" class="border-t-2 border-amber-900">
<h2 class="text-blue-900 dark:text-blue-200">What is Linux?</h2>
<p>
Linux is a <i>family</i> of operating systems with the same core.
The said "core" is also called the kernel.
</p>
</section>
<section id="why">
<h2 class="mb-2 text-violet-900 dark:text-violet-200">
Why move to Linux?
</h2>
<div class="grid grid-cols-2 gap-4 lg:max-w-[50vw]">
<div class="card">
<h3>Free</h3>
<p>
Both free of charge, and free as in freedom. Most Linux
distributions are free.
</p>
</div>
<div class="card">
<h3>Efficient</h3>
<p>Revive your old machine, make existing ones do more.</p>
</div>
<div class="card">
<h3>Be in control</h3>
<p>
Control what is on your machine, customize it to your
liking. The Linux desktop world comes in many flavors.
</p>
</div>
<div class="card">
<h3>Improved Privacy</h3>
<p>
Pick and choose how much you want to share to improve
the software that you use.
</p>
</div>
</div>
</section>
<section id="start">
<h2 class="text-green-900 dark:text-green-200">Convinced?</h2>
<p>Click the button below to start on your Linux journey.</p>
<a href={startLink} class="button mt-4">Start!</a>
</section>
<section id="incorrect">
<h2 class="text-red-900 dark:text-red-300">
Found invalid information?
</h2>
<p class="max-w-[50vw] text-center">
This site is not perfect. If you found any outdated, invalid, or
information which can be possibly misunderstood, send an email
to <a href="mailto:[email protected]"
>[email protected]</a
> (<a
href="https://keys.openpgp.org/vks/v1/by-fingerprint/8A487B532BEF7B324339AC1CFBE9E5E346F3DDE8"
target="_blank"
rel="noopener">PGP Keys Available</a
>)
</p>
</section>
</main>
<footer class="text-center py-4 bg-slate-800 text-white">
<div>
<a href={getRelativeLocaleUrl("en", "contents")}
>Table of Contents</a
>
&bull;
<a href={getRelativeLocaleUrl("en", "privacy")}>Privacy Policy</a>
&bull;
<a
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
target="_blank"
rel="noopener noreferrer"
>
Source code
</a>
</div>
<p>
Made with &hearts; from <a
href="https://github.com/lines-of-codes/"
target="_blank"
rel="noreferrer noopener">lines-of-codes</a
>
</p>
<p class="text-gray-400">
Site licensed under MIT license, Most text content licensed under
CC-BY-SA 4.0
</p>
</footer>
<header
class="min-h-[60vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
>
<h1
class="text-5xl font-bold bg-linear-to-r from-amber-700 to-amber-900 dark:from-amber-400 dark:to-amber-600 bg-clip-text text-transparent"
>
Move to Linux
</h1>
<p>This website aims to help you learn and setup Linux.</p>
<div class="text-center">
<a href="#what">What</a>
{" "}&bull;{" "}
<a href="#why">Why</a>
{" "}&bull;{" "}
<a href={startLink} class="font-bold">Just start!</a><br />
<a href="/en/apps">Apps & Compatibility</a>
</div>
</header>
<main>
<section id="what" class="border-t-2 border-amber-900">
<h2 class="text-blue-900 dark:text-blue-200">What is Linux?</h2>
<p>
Linux is a <i>family</i> of operating systems with the same core.
The said "core" is also called the kernel.
</p>
</section>
<section id="why">
<h2 class="mb-2 text-violet-900 dark:text-violet-200">
Why move to Linux?
</h2>
<div class="grid grid-cols-2 gap-4 lg:max-w-[50vw]">
<div class="card">
<h3>Free</h3>
<p>
Both free of charge, and free as in freedom. Most Linux
distributions are free.
</p>
</div>
<div class="card">
<h3>Efficient</h3>
<p>Revive your old machine, make existing ones do more.</p>
</div>
<div class="card">
<h3>Be in control</h3>
<p>
Control what is on your machine, customize it to your
liking. The Linux desktop world comes in many flavors.
</p>
</div>
<div class="card">
<h3>Improved Privacy</h3>
<p>
Pick and choose how much you want to share to improve
the software that you use.
</p>
</div>
</div>
</section>
<section id="start">
<h2 class="text-green-900 dark:text-green-200">Convinced?</h2>
<p>Click the button below to start on your Linux journey.</p>
<a href={startLink} class="button mt-4">Start!</a>
</section>
<section id="incorrect">
<h2 class="text-red-900 dark:text-red-300">
Found invalid information?
</h2>
<p class="max-w-[50vw] text-center">
This site is not perfect. If you found any outdated, invalid, or
information which can be possibly misunderstood, send an email
to <a href="mailto:[email protected]"
>[email protected]</a
> (<a
href="https://keys.openpgp.org/vks/v1/by-fingerprint/8A487B532BEF7B324339AC1CFBE9E5E346F3DDE8"
target="_blank"
rel="noopener">PGP Keys Available</a
>)
</p>
</section>
</main>
<footer class="text-center py-4 bg-slate-800 text-white">
<div>
<a href={getRelativeLocaleUrl("en", "contents")}
>Table of Contents</a
>
{" "}&bull;{" "}
<a href={getRelativeLocaleUrl("en", "privacy")}>Privacy Policy</a>
{" "}&bull;{" "}
<a
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
target="_blank"
rel="noopener noreferrer"
>
Source code
</a>
</div>
<p>
Made with &hearts; from <a
href="https://github.com/lines-of-codes/"
target="_blank"
rel="noreferrer noopener">lines-of-codes</a
>
</p>
<p class="text-gray-400">
Site licensed under MIT license, Most text content licensed under
CC-BY-SA 4.0
</p>
</footer>
</BasicLayout>
<style>
@reference "@/styles/global.css";
@reference "@/styles/global.css";
h2 {
@apply text-4xl font-bold;
}
h2 {
@apply text-4xl font-bold;
}
h3 {
@apply text-3xl font-semibold;
}
h3 {
@apply text-3xl font-semibold;
}
section {
@apply flex justify-center items-center flex-col p-12;
}
section {
@apply flex justify-center items-center flex-col p-12;
}
</style>
+135 -136
View File
@@ -4,145 +4,144 @@ import BasicLayout from "@/layouts/BasicLayout.astro";
---
<BasicLayout title="แอพลิเคชั่น Linux">
<main class="my-8 mx-16">
<section id="appList">
<h1>
ฉันจำเป็นที่จะต้องทำ... Linux มีแอพลิเคชั่นสำหรับงานนั้นรึเปล่า
</h1>
<p>
ด้านล่างนี้เป็นรายการสั้นๆ ของงานทั่วไปและแอพลิเคชั่น Linux
ที่สามารถใช้ทำงานนั้นได้
</p>
<div class="mb-4">
<span class="text-amber-600 dark:text-yellow-400">คำเตือน:</span
> นี่ไม่ใช่และจะไม่มีทางเป็นรายการที่สมบูรณ์แบบ 100%
</div>
<AppList lang="th" client:load />
</section>
<section id="compatQuestions" class="mt-4">
<h1>ความเข้ากันได้ของซอฟต์แวร์</h1>
<p>ส่วนสั้น ๆ เกี่ยวกับความเข้ากันได้ของซอฟต์แวร์บน Linux</p>
<details>
<summary
>เว็บแอพลิเคชั่นสามารถใช้งานได้รึเปล่า (Canva, Google Docs,
Notion, ฯลฯ)</summary
>
<p>
แอพเหล่านี้มีความน่าเป็นห่วงน้อยที่สุด
ส่วนใหญ่แล้วก็ควรที่จะไม่มีปัญหาแต่อย่างใด
</p>
</details>
<details>
<summary>แอพลิเคชั่น Adobe ใช้งานได้หรือไม่</summary>
<p>
เป็นที่ทราบกันดีว่าอาจใช้งานได้ไม่ดีนัก
แต่คุณก็สามารถลองดูได้ถ้าคุณต้องการ
</p>
</details>
<details>
<summary
>ฉันสามารถใช้แอพหรือเกม Windows ที่ไม่ได้ถูกสร้างมาเพื่อ
Linux ได้หรือไม่</summary
>
<p>
มันเป็นไปได้ แต่ทุกอย่างจะไม่สามารถทำงานได้อย่างสมบูรณ์แบบ
ดูที่<a href="https://appdb.winehq.org/"
>ฐานข้อมูลแอพลิเคชั่น Wine</a
> สำหรับแอพลิเคชั่นทั่วไปและ
<a href="https://www.protondb.com/">ProtonDB</a> สำหรับเกมบน
Steam
</p>
</details>
</section>
<section id="buzzwords" class="mt-4">
<h1>คำศัพท์ที่พบเห็นได้บ่อย</h1>
<p>
นี่คือรายการคำศัพท์ที่คุณอาจพบเจอได้ในโลกแห่งซอฟต์แวร์และ Linux
คุณไม่จำเป็นต้องจำคำศัพท์พวกนี้ทั้งหมด
แต่คุณสามารถย้อนกลับมาอ่านได้หากคุณต้องการความหมายแบบสั้น ๆ
</p>
<dl>
<dt>แพคเกจ (package)</dt>
<dd>
จินตนาการถึงกล่องที่มีไฟล์ซอฟต์แวร์
คุณสามารถติดตั้งแพคเกจได้
ซึ่งจะหมายถึงการคัดลอกไฟล์ที่อยู่ภายในกล่องนั้นไปยังระบบของคุณ
</dd>
<dt>ตัวจัดการแพคเกจ (package manager)</dt>
<dd>
ซอฟต์แวร์ที่ช่วยคุณจัดการแพคเกจ เป็นซอฟต์แวร์เฉพาะที่ Linux
แต่ละเจ้าอาจมีไม่เหมือนกัน ดังนั้น Linux
บางเจ้าจะมีรูปแบบแพคเกจที่แตกต่างกันออกไป
</dd>
<dt>แพคเกจระบบ (system package)</dt>
<dd>
แพคเกจที่ติดตั้งอยู่บนระบบของคุณ
ศัพท์นี้อาจถูกใช้ในการกล่าวถึงว่าเป็นรูปแบบการกระจายซอฟต์แวร์รูปแบบหนึ่ง
ซึ่งในกรณีนั้นศัพท์นี้จะหมายถึงการสร้างแพคเกจสำหรับระบบระบบหนึ่ง
</dd>
<dt>คลังแพคเกจ (package repository)</dt>
<dd>
หากแพคเกจเป็นกล่อง คลังแพคเกจก็คือสถานที่ที่รวบรวมแพคเกจ
</dd>
<dt>ไบนารี (binary)</dt>
<dd>ไฟล์ที่สามารถถูกเรียกใช้ได้และผ่านการ "คอมไพล์" มาแล้ว</dd>
<dt>AppImage</dt>
<dd>
รูปแบบในการเผยแพร่ซอฟต์แวร์
เป็นไฟล์เดี่ยวที่คุณสามารถดาวน์โหลดและเรียกใช้บน Linux
เจ้าใหนก็ได้โดยที่พึ่งพาแพคเกจระบบน้อยที่สุด ซึ่งจริง ๆ แล้ว
AppImage นั้นต้องการเพียงแค่มี FUSE (Filesystem in
Userspace) ติดตั้งอยู่บนระบบ และนามสกุลไฟล์ของรูปแบบนี้คือ <code
>.AppImage</code
>
</dd>
<dt>Flatpak</dt>
<dd>
รูปแบบการเผยแพร่ซอฟต์แวร์
เมื่อแอพลิเคชั่นถูกเผยแพร่ในรูปแบบนี้
แอพลิเคชั่นนั้นจะถูกเรียกใช้ภายในกล่องที่สามารถเข้าถึงระบบได้เท่าที่จำเป็น
(sandbox) เพื่อความปลอดภัย
และจะมีการพึ่งพาแพคเกจระบบให้น้อยที่สุด
การเผยแพร่ซอฟต์แวร์รูปแบบนี้กำลังจะเป็นการเผยแพร่ที่นิยมที่สุดเนื่องจากมันเป็นวิธีเผยแพร่แอพที่จะสามารถมั่นใจได้ว่าแอพลิเคชั่นจะทำงานเหมือนกันบน
Linux ทุกเจ้า คลัง Flatpak ที่โด่งดังที่สุด
(และสามารถถือว่าเป็นคลังส่วนกลางเลยก็ได้) คือ <a
href="https://flathub.org/"
target="_blank"
rel="noopener">Flathub</a
>.
</dd>
<dt>ไวน์ (Wine)</dt>
<dd>
ไวน์ ที่ไม่ใช่เครื่องดื่ม และไม่ใช่อีมูเลเตอร์
แต่เป็นชั้นความเข้ากันได้ที่ช่วยให้ระบบปฏิบัติการ Linux
นั้นสามารถใช้งานแอพลิเคชั่น Windows ได้
การอธิบายการทำงานของมันแบบง่าย ๆ คือ Wine ทำหน้าที่แปลภาษา
Windows ให้เป็นภาษา Linux
โดยการทำเช่นนี้นั้นจะช่วยเพิ่มประสิทธิภาพของแอพลิเคชั่นที่อาจลดลงหากเป็นการใช้อีมูเลเตอร์หรือ
Virtual Machine แทน (เพื่อความถูกต้อง ไวน์นั้นไม่จำกัดสำหรับ
Linux เท่านั้น มันยังสามารถทำงานบนระบบเสมือน Unix อื่น ๆ
เช่น FreeBSD และ macOS ได้ด้วย)
</dd>
<dt>Proton</dt>
<dd>
ชั้นความเข้ากันได้ของซอฟต์แวร์ที่ถูกสร้างขึ้นจาก Wine โดย
Valve ถูกสร้างขึ้นเพื่อการเรียกใช้เกมโดยเฉพาะ
</dd>
<dt>DXVK</dt>
<dd>ซอฟต์แวร์ที่ทำการแปล DirectX เป็น Vulkan</dd>
</dl>
</section>
</main>
<main class="my-8 mx-16">
<section id="appList">
<h1>
ฉันจำเป็นที่จะต้องทำ... Linux มีแอพลิเคชั่นสำหรับงานนั้นรึเปล่า
</h1>
<p>
ด้านล่างนี้เป็นรายการสั้นๆ ของงานทั่วไปและแอพลิเคชั่น Linux
ที่สามารถใช้ทำงานนั้นได้
</p>
<div class="mb-4">
<span class="text-amber-600 dark:text-yellow-400">คำเตือน:</span
> นี่ไม่ใช่และจะไม่มีทางเป็นรายการที่สมบูรณ์แบบ 100%
</div>
<AppList lang="th" client:load />
</section>
<section id="compatQuestions" class="mt-4">
<h1>ความเข้ากันได้ของซอฟต์แวร์</h1>
<p>ส่วนสั้น ๆ เกี่ยวกับความเข้ากันได้ของซอฟต์แวร์บน Linux</p>
<details>
<summary
>เว็บแอพลิเคชั่นสามารถใช้งานได้รึเปล่า (Canva, Google Docs,
Notion, ฯลฯ)</summary
>
<p>
แอพเหล่านี้มีความน่าเป็นห่วงน้อยที่สุด
ส่วนใหญ่แล้วก็ควรที่จะไม่มีปัญหาแต่อย่างใด
</p>
</details>
<details>
<summary>แอพลิเคชั่น Adobe ใช้งานได้หรือไม่</summary>
<p>
เป็นที่ทราบกันดีว่าอาจใช้งานได้ไม่ดีนัก
แต่คุณก็สามารถลองดูได้ถ้าคุณต้องการ
</p>
</details>
<details>
<summary
>ฉันสามารถใช้แอพหรือเกม Windows ที่ไม่ได้ถูกสร้างมาเพื่อ
Linux ได้หรือไม่</summary
>
<p>
มันเป็นไปได้ แต่ทุกอย่างจะไม่สามารถทำงานได้อย่างสมบูรณ์แบบ
ดูที่<a href="https://appdb.winehq.org/"
>ฐานข้อมูลแอพลิเคชั่น Wine</a
> สำหรับแอพลิเคชั่นทั่วไปและ{" "}
<a href="https://www.protondb.com/">ProtonDB</a> สำหรับเกมบน Steam
</p>
</details>
</section>
<section id="buzzwords" class="mt-4">
<h1>คำศัพท์ที่พบเห็นได้บ่อย</h1>
<p>
นี่คือรายการคำศัพท์ที่คุณอาจพบเจอได้ในโลกแห่งซอฟต์แวร์และ Linux
คุณไม่จำเป็นต้องจำคำศัพท์พวกนี้ทั้งหมด
แต่คุณสามารถย้อนกลับมาอ่านได้หากคุณต้องการความหมายแบบสั้น ๆ
</p>
<dl>
<dt>แพคเกจ (package)</dt>
<dd>
จินตนาการถึงกล่องที่มีไฟล์ซอฟต์แวร์
คุณสามารถติดตั้งแพคเกจได้
ซึ่งจะหมายถึงการคัดลอกไฟล์ที่อยู่ภายในกล่องนั้นไปยังระบบของคุณ
</dd>
<dt>ตัวจัดการแพคเกจ (package manager)</dt>
<dd>
ซอฟต์แวร์ที่ช่วยคุณจัดการแพคเกจ เป็นซอฟต์แวร์เฉพาะที่ Linux
แต่ละเจ้าอาจมีไม่เหมือนกัน ดังนั้น Linux
บางเจ้าจะมีรูปแบบแพคเกจที่แตกต่างกันออกไป
</dd>
<dt>แพคเกจระบบ (system package)</dt>
<dd>
แพคเกจที่ติดตั้งอยู่บนระบบของคุณ
ศัพท์นี้อาจถูกใช้ในการกล่าวถึงว่าเป็นรูปแบบการกระจายซอฟต์แวร์รูปแบบหนึ่ง
ซึ่งในกรณีนั้นศัพท์นี้จะหมายถึงการสร้างแพคเกจสำหรับระบบระบบหนึ่ง
</dd>
<dt>คลังแพคเกจ (package repository)</dt>
<dd>
หากแพคเกจเป็นกล่อง คลังแพคเกจก็คือสถานที่ที่รวบรวมแพคเกจ
</dd>
<dt>ไบนารี (binary)</dt>
<dd>ไฟล์ที่สามารถถูกเรียกใช้ได้และผ่านการ "คอมไพล์" มาแล้ว</dd>
<dt>AppImage</dt>
<dd>
รูปแบบในการเผยแพร่ซอฟต์แวร์
เป็นไฟล์เดี่ยวที่คุณสามารถดาวน์โหลดและเรียกใช้บน Linux
เจ้าใหนก็ได้โดยที่พึ่งพาแพคเกจระบบน้อยที่สุด ซึ่งจริง ๆ แล้ว
AppImage นั้นต้องการเพียงแค่มี FUSE (Filesystem in
Userspace) ติดตั้งอยู่บนระบบ และนามสกุลไฟล์ของรูปแบบนี้คือ <code
>.AppImage</code
>
</dd>
<dt>Flatpak</dt>
<dd>
รูปแบบการเผยแพร่ซอฟต์แวร์
เมื่อแอพลิเคชั่นถูกเผยแพร่ในรูปแบบนี้
แอพลิเคชั่นนั้นจะถูกเรียกใช้ภายในกล่องที่สามารถเข้าถึงระบบได้เท่าที่จำเป็น
(sandbox) เพื่อความปลอดภัย
และจะมีการพึ่งพาแพคเกจระบบให้น้อยที่สุด
การเผยแพร่ซอฟต์แวร์รูปแบบนี้กำลังจะเป็นการเผยแพร่ที่นิยมที่สุดเนื่องจากมันเป็นวิธีเผยแพร่แอพที่จะสามารถมั่นใจได้ว่าแอพลิเคชั่นจะทำงานเหมือนกันบน
Linux ทุกเจ้า คลัง Flatpak ที่โด่งดังที่สุด
(และสามารถถือว่าเป็นคลังส่วนกลางเลยก็ได้) คือ <a
href="https://flathub.org/"
target="_blank"
rel="noopener">Flathub</a
>.
</dd>
<dt>ไวน์ (Wine)</dt>
<dd>
ไวน์ ที่ไม่ใช่เครื่องดื่ม และไม่ใช่อีมูเลเตอร์
แต่เป็นชั้นความเข้ากันได้ที่ช่วยให้ระบบปฏิบัติการ Linux
นั้นสามารถใช้งานแอพลิเคชั่น Windows ได้
การอธิบายการทำงานของมันแบบง่าย ๆ คือ Wine ทำหน้าที่แปลภาษา
Windows ให้เป็นภาษา Linux
โดยการทำเช่นนี้นั้นจะช่วยเพิ่มประสิทธิภาพของแอพลิเคชั่นที่อาจลดลงหากเป็นการใช้อีมูเลเตอร์หรือ
Virtual Machine แทน (เพื่อความถูกต้อง ไวน์นั้นไม่จำกัดสำหรับ
Linux เท่านั้น มันยังสามารถทำงานบนระบบเสมือน Unix อื่น ๆ
เช่น FreeBSD และ macOS ได้ด้วย)
</dd>
<dt>Proton</dt>
<dd>
ชั้นความเข้ากันได้ของซอฟต์แวร์ที่ถูกสร้างขึ้นจาก Wine โดย
Valve ถูกสร้างขึ้นเพื่อการเรียกใช้เกมโดยเฉพาะ
</dd>
<dt>DXVK</dt>
<dd>ซอฟต์แวร์ที่ทำการแปล DirectX เป็น Vulkan</dd>
</dl>
</section>
</main>
</BasicLayout>
<style>
@reference "@/styles/global.css";
@reference "@/styles/global.css";
h1 {
@apply text-4xl font-bold mb-4;
}
h1 {
@apply text-4xl font-bold mb-4;
}
p {
@apply my-2;
}
p {
@apply my-2;
}
</style>
+119 -119
View File
@@ -6,130 +6,130 @@ const startLink = getRelativeLocaleUrl("th", "start");
---
<BasicLayout title="ย้ายไป Linux">
<header
class="min-h-[50vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
>
<h1
class="text-5xl leading-14 font-bold bg-gradient-to-r from-amber-700 to-amber-900 dark:from-amber-400 dark:to-amber-600 bg-clip-text text-transparent"
>
ย้ายไป Linux
</h1>
<p>เว็บไซต์นี้จะช่วยให้คุณเรียนรู้และติดตั้ง Linux</p>
<div class="text-center">
<a href="#what">อะไร</a>
&bull;
<a href="#why">ทำไม</a>
&bull;
<a href={startLink} class="font-bold">เริ่มเลยดีกว่า</a><br />
<a href="/th/apps">แอพลิเคชั่นบน Linux</a>
</div>
</header>
<main>
<section id="what" class="border-t-2 border-amber-900">
<h2 class="text-blue-900 dark:text-blue-200">Linux คืออะไร</h2>
<p>
Linux เป็น<i>ครอบครัว</i>ของระบบปฏิบัติการที่มีแกนกลางเดียวกัน
โดยแกนกลางที่ว่า นั้นมีชื่อว่าเคอร์เนล (Kernel)
</p>
</section>
<section id="why">
<h2 class="mb-2 text-violet-900 dark:text-violet-200">
เหตุผลในการย้ายไป Linux
</h2>
<div class="grid grid-cols-2 gap-4 lg:max-w-[50vw]">
<div class="card">
<h3>ฟรี</h3>
<p>ซอฟท์แวร์ฟรีและเสรี สร้างอิสรภาพให้อุปกรณ์ของคุณ</p>
</div>
<div class="card">
<h3>ประสิทธิภาพ</h3>
<p>
ฟื้นคืนชีพอุปกรณ์เก่าของคุณ
และให้อุปกรณ์ปัจจุบันทำได้มากขึ้น
</p>
</div>
<div class="card">
<h3>อยู่ในการควบคุม</h3>
<p>
ควบคุมสิ่งที่อยู่บนอุปกรณ์ของคุณ ปรับแต่งให้ตรงสเป็ค
ให้อุปกรณ์เป็นของคุณอย่างแท้จริง
</p>
</div>
<div class="card">
<h3>ความเป็นส่วนตัว</h3>
<p>
เลือกว่าคุณต้องการที่จะแบ่งปันข้อมูลมากแค่ใหนเพื่อปรับปรุงซอฟท์แวร์ที่คุณใช้
</p>
</div>
</div>
</section>
<section id="start">
<h2 class="text-green-900 dark:text-green-200 mb-2">
หากคุณอยากลองแล้ว...
</h2>
<p>กดปุ่มด้านล่างเพื่อเริ่มต้นการผจญภัยในดินแดนเพนกวินได้เลย</p>
<a href={startLink} class="button mt-4">เริ่มต้นเลย!</a>
</section>
<section id="incorrect">
<h2 class="text-red-900 dark:text-red-300 mb-2">
พบเจอข้อมูลที่ไม่ถูกต้องรึเปล่า
</h2>
<p class="max-w-[50vw] text-center">
เว็บไซต์นี้ไม่สมบูรณ์แบบ หากคุณเจอข้อมูลใดที่ล้าสมัย ไม่ถูกต้อง
หรืออาจถูกเข้าใจผิด โปรดส่งอีเมลไปยัง
<code>linesofcodes at dailitation dot xyz</code> (<a
href="https://keys.openpgp.org/vks/v1/by-fingerprint/8A487B532BEF7B324339AC1CFBE9E5E346F3DDE8"
target="_blank"
rel="noopener">คีย์เข้ารหัส PGP</a
>)
</p>
</section>
</main>
<footer class="text-center py-4 bg-slate-800 text-white">
<div>
<a href={getRelativeLocaleUrl("th", "contents")}>สารบัญ</a>
&bull;
<a href={getRelativeLocaleUrl("th", "privacy")}
>นโยบายความเป็นส่วนตัว</a
>
&bull;
<a
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
target="_blank"
rel="noopener noreferrer"
>
โค้ด
</a>
</div>
<p>
ทำด้วย &hearts; จาก <a
href="https://github.com/lines-of-codes/"
target="_blank">lines-of-codes</a
>
</p>
<p class="text-gray-400">
เว็บไซต์อยู่ภายใต้สัญญาอนุญาต MIT; เนื้อหาข้อความส่วนใหญ่อยู่ภายใต้
CC-BY-SA 4.0
</p>
</footer>
<header
class="min-h-[50vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
>
<h1
class="text-5xl leading-14 font-bold bg-gradient-to-r from-amber-700 to-amber-900 dark:from-amber-400 dark:to-amber-600 bg-clip-text text-transparent"
>
ย้ายไป Linux
</h1>
<p>เว็บไซต์นี้จะช่วยให้คุณเรียนรู้และติดตั้ง Linux</p>
<div class="text-center">
<a href="#what">อะไร</a>
{" "}&bull;{" "}
<a href="#why">ทำไม</a>
{" "}&bull;{" "}
<a href={startLink} class="font-bold">เริ่มเลยดีกว่า</a><br />
<a href="/th/apps">แอพลิเคชั่นบน Linux</a>
</div>
</header>
<main>
<section id="what" class="border-t-2 border-amber-900">
<h2 class="text-blue-900 dark:text-blue-200">Linux คืออะไร</h2>
<p>
Linux เป็น<i>ครอบครัว</i>ของระบบปฏิบัติการที่มีแกนกลางเดียวกัน
โดยแกนกลางที่ว่า นั้นมีชื่อว่าเคอร์เนล (Kernel)
</p>
</section>
<section id="why">
<h2 class="mb-2 text-violet-900 dark:text-violet-200">
เหตุผลในการย้ายไป Linux
</h2>
<div class="grid grid-cols-2 gap-4 lg:max-w-[50vw]">
<div class="card">
<h3>ฟรี</h3>
<p>ซอฟท์แวร์ฟรีและเสรี สร้างอิสรภาพให้อุปกรณ์ของคุณ</p>
</div>
<div class="card">
<h3>ประสิทธิภาพ</h3>
<p>
ฟื้นคืนชีพอุปกรณ์เก่าของคุณ
และให้อุปกรณ์ปัจจุบันทำได้มากขึ้น
</p>
</div>
<div class="card">
<h3>อยู่ในการควบคุม</h3>
<p>
ควบคุมสิ่งที่อยู่บนอุปกรณ์ของคุณ ปรับแต่งให้ตรงสเป็ค
ให้อุปกรณ์เป็นของคุณอย่างแท้จริง
</p>
</div>
<div class="card">
<h3>ความเป็นส่วนตัว</h3>
<p>
เลือกว่าคุณต้องการที่จะแบ่งปันข้อมูลมากแค่ใหนเพื่อปรับปรุงซอฟท์แวร์ที่คุณใช้
</p>
</div>
</div>
</section>
<section id="start">
<h2 class="text-green-900 dark:text-green-200 mb-2">
หากคุณอยากลองแล้ว...
</h2>
<p>กดปุ่มด้านล่างเพื่อเริ่มต้นการผจญภัยในดินแดนเพนกวินได้เลย</p>
<a href={startLink} class="button mt-4">เริ่มต้นเลย!</a>
</section>
<section id="incorrect">
<h2 class="text-red-900 dark:text-red-300 mb-2">
พบเจอข้อมูลที่ไม่ถูกต้องรึเปล่า
</h2>
<p class="max-w-[50vw] text-center">
เว็บไซต์นี้ไม่สมบูรณ์แบบ หากคุณเจอข้อมูลใดที่ล้าสมัย ไม่ถูกต้อง
หรืออาจถูกเข้าใจผิด โปรดส่งอีเมลไปยัง
<code>linesofcodes@dailitation.xyz</code> (<a
href="https://keys.openpgp.org/vks/v1/by-fingerprint/8A487B532BEF7B324339AC1CFBE9E5E346F3DDE8"
target="_blank"
rel="noopener">คีย์เข้ารหัส PGP</a
>)
</p>
</section>
</main>
<footer class="text-center py-4 bg-slate-800 text-white">
<div>
<a href={getRelativeLocaleUrl("th", "contents")}>สารบัญ</a>
{" "}&bull;{" "}
<a href={getRelativeLocaleUrl("th", "privacy")}
>นโยบายความเป็นส่วนตัว</a
>
{" "}&bull;{" "}
<a
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
target="_blank"
rel="noopener noreferrer"
>
โค้ด
</a>
</div>
<p>
ทำด้วย &hearts; จาก <a
href="https://github.com/lines-of-codes/"
target="_blank">lines-of-codes</a
>
</p>
<p class="text-gray-400">
เว็บไซต์อยู่ภายใต้สัญญาอนุญาต MIT; เนื้อหาข้อความส่วนใหญ่อยู่ภายใต้
CC-BY-SA 4.0
</p>
</footer>
</BasicLayout>
<style>
@reference "@/styles/global.css";
@reference "@/styles/global.css";
a:not(.button) {
@apply underline;
}
a:not(.button) {
@apply underline;
}
h2 {
@apply text-4xl font-bold;
}
h2 {
@apply text-4xl font-bold;
}
h3 {
@apply text-3xl font-semibold;
}
h3 {
@apply text-3xl font-semibold;
}
section {
@apply flex justify-center items-center flex-col p-12;
}
section {
@apply flex justify-center items-center flex-col p-12;
}
</style>
+7 -1
View File
@@ -2,6 +2,12 @@
@import "./breeze-icons.css";
@theme {
--color-accent: accentcolor;
--color-accent-light: color-mix(accentcolor, white);
--color-accent-dark: color-mix(accentcolor, black);
}
body {
--font-thai: "IBM Plex Sans Thai", "Noto Sans Thai";
font-family: Inter, var(--font-thai), var(--font-sans);
@@ -13,7 +19,7 @@ body {
}
@utility button {
@apply border border-gray-400 dark:border-gray-600 shadow rounded px-4 py-2 hover:border-sky-500 active:bg-sky-200 dark:active:bg-sky-700 transition-colors;
@apply border border-gray-400 dark:border-gray-600 shadow rounded px-4 py-2 hover:border-accent active:bg-accent-light dark:active:bg-accent-dark transition-colors;
}
a:not(.button) {
+7 -7
View File
@@ -1,9 +1,9 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "movetolinux",
// Update to today's date
"compatibility_date": "2026-01-29",
"assets": {
"directory": "./dist"
}
"$schema": "node_modules/wrangler/config-schema.json",
"name": "movetolinux",
// Update to today's date
"compatibility_date": "2026-11-09",
"assets": {
"directory": "./dist",
},
}