mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update
This commit is contained in:
parent
482b52e007
commit
c7c12edc93
@ -146,68 +146,119 @@ systemctl enable --now pve-ha-lrm pve-ha-crm corosync
|
|||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center">
|
||||||
<StepNumber number={4} />
|
<StepNumber number={4} />
|
||||||
Install and Configure Fastfetch
|
Install and Configure Fastfetch
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<p className="mb-4">
|
<p className="mb-4">
|
||||||
This option installs and configures Fastfetch, a system information tool that displays system specs and a custom
|
This option silently installs and configures Fastfetch, a system information tool that displays system specs and a
|
||||||
logo at login.
|
custom logo at login.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p className="mb-4"><strong>What it does:</strong></p>
|
<p className="mb-4">
|
||||||
|
<strong>What it does:</strong>
|
||||||
|
</p>
|
||||||
<ul className="list-disc pl-5 mb-4">
|
<ul className="list-disc pl-5 mb-4">
|
||||||
<li>Downloads and installs Fastfetch</li>
|
<li>Silently downloads and installs the latest version of Fastfetch</li>
|
||||||
<li>
|
<li>
|
||||||
Allows you to choose a custom logo (<strong>ProxMenux, Proxmox, Helper-Scripts, Home-Labs-Club, Proxmology</strong>, or a custom one)
|
Allows you to choose a custom logo (
|
||||||
|
<strong>ProxMenux, Proxmox, Helper-Scripts, Home-Labs-Club, Proxmology</strong>, or a custom one)
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Configures Fastfetch to display <em>"System optimised by ProxMenux"</em>
|
||||||
</li>
|
</li>
|
||||||
<li>Configures Fastfetch to display <em>"System optimised by ProxMenux"</em></li>
|
|
||||||
<li>Sets up Fastfetch to run automatically at console login</li>
|
<li>Sets up Fastfetch to run automatically at console login</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div className="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 mb-4">
|
<div className="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 mb-4">
|
||||||
<p className="font-semibold">Important:</p>
|
<p className="font-semibold">Important:</p>
|
||||||
<p>
|
<p>
|
||||||
If you connect to Proxmox via SSH, you should select the <strong>Proxmox</strong> logo or create a custom one using <code>jp2a</code> or <code>img2txt</code>.
|
If you connect to Proxmox via SSH, you should select the <strong>Proxmox</strong> logo or create a custom one
|
||||||
The other logos are generated using <code>chafa</code> and may not display correctly in a standard SSH session.
|
using <code>jp2a</code> or <code>img2txt</code>. The other logos are generated using <code>chafa</code> and may
|
||||||
|
not display correctly in a standard SSH session.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="mb-4"><strong>Example Logos:</strong></p>
|
<div className="bg-blue-100 border-l-4 border-blue-500 text-blue-700 p-4 mb-4">
|
||||||
|
<p className="font-semibold">Custom Logos:</p>
|
||||||
|
<p>
|
||||||
|
To use a custom logo, place your ASCII art text file in: <code>/usr/local/share/fastfetch/logos/</code>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
You can create custom logos using tools like <code>chafa</code>, <code>jp2a</code>, or <code>img2txt</code>. For
|
||||||
|
best results:
|
||||||
|
</p>
|
||||||
|
<ul className="list-disc pl-5 mt-2">
|
||||||
|
<li>Keep the logo height to 35 lines or less to maintain proportions and fit in the terminal</li>
|
||||||
|
<li>
|
||||||
|
Use <code>chafa</code> for color logos (may not display correctly in SSH sessions)
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Use <code>jp2a</code> or <code>img2txt</code> for SSH-compatible logos
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p className="mb-4">
|
||||||
|
<strong>Example Logos:</strong>
|
||||||
|
</p>
|
||||||
|
|
||||||
<div className="grid grid-cols-2 md:grid-cols-3 gap-4">
|
<div className="grid grid-cols-2 md:grid-cols-3 gap-4">
|
||||||
<div>
|
<div>
|
||||||
<p className="font-semibold text-center">ProxMenux</p>
|
<p className="font-semibold text-center">ProxMenux</p>
|
||||||
<img src="https://macrimi.github.io/ProxMenux/fastfetch/proxmenux.png" alt="ProxMenux Logo" className="rounded shadow-lg" />
|
<img
|
||||||
|
src="https://macrimi.github.io/ProxMenux/fastfetch/proxmenux.png"
|
||||||
|
alt="ProxMenux Logo"
|
||||||
|
className="rounded shadow-lg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="font-semibold text-center">Proxmox</p>
|
<p className="font-semibold text-center">Proxmox</p>
|
||||||
<img src="https://macrimi.github.io/ProxMenux/fastfetch/proxmox.png" alt="Proxmox Logo" className="rounded shadow-lg" />
|
<img
|
||||||
|
src="https://macrimi.github.io/ProxMenux/fastfetch/proxmox.png"
|
||||||
|
alt="Proxmox Logo"
|
||||||
|
className="rounded shadow-lg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="font-semibold text-center">Helper-Scripts</p>
|
<p className="font-semibold text-center">Helper-Scripts</p>
|
||||||
<img src="https://macrimi.github.io/ProxMenux/fastfetch/helper-scripts.png" alt="Helper-Scripts Logo" className="rounded shadow-lg" />
|
<img
|
||||||
|
src="https://macrimi.github.io/ProxMenux/fastfetch/helper-scripts.png"
|
||||||
|
alt="Helper-Scripts Logo"
|
||||||
|
className="rounded shadow-lg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="font-semibold text-center">Home-Labs-Club</p>
|
<p className="font-semibold text-center">Home-Labs-Club</p>
|
||||||
<img src="https://macrimi.github.io/ProxMenux/fastfetch/home-labs-club.png" alt="Home-Labs-Club Logo" className="rounded shadow-lg" />
|
<img
|
||||||
|
src="https://macrimi.github.io/ProxMenux/fastfetch/home-labs-club.png"
|
||||||
|
alt="Home-Labs-Club Logo"
|
||||||
|
className="rounded shadow-lg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p className="font-semibold text-center">Proxmology</p>
|
<p className="font-semibold text-center">Proxmology</p>
|
||||||
<img src="https://macrimi.github.io/ProxMenux/fastfetch/proxmology.png" alt="Proxmology Logo" className="rounded shadow-lg" />
|
<img
|
||||||
|
src="https://macrimi.github.io/ProxMenux/fastfetch/proxmology.png"
|
||||||
|
alt="Proxmology Logo"
|
||||||
|
className="rounded shadow-lg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="text-lg mb-2 mt-8">This adjustment automates the following commands:</p>
|
<p className="text-lg mb-2 mt-8">This adjustment automates and silently executes the following process:</p>
|
||||||
<CopyableCode
|
<CopyableCode
|
||||||
code={`
|
code={`
|
||||||
# Install Fastfetch
|
# Silently download and install the latest version of Fastfetch
|
||||||
wget -qO /usr/local/bin/fastfetch "https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64"
|
FASTFETCH_URL=$(curl -s https://api.github.com/repos/fastfetch-cli/fastfetch/releases/latest | grep "browser_download_url.*fastfetch-linux-amd64.deb" | cut -d '"' -f 4)
|
||||||
chmod +x /usr/local/bin/fastfetch
|
wget -q -O /tmp/fastfetch.deb "$FASTFETCH_URL"
|
||||||
|
dpkg -i /tmp/fastfetch.deb > /dev/null 2>&1
|
||||||
|
apt-get install -f -y > /dev/null 2>&1
|
||||||
|
|
||||||
# Configure Fastfetch (logo selection and custom message are interactive)
|
# Configure Fastfetch (logo selection remains interactive)
|
||||||
fastfetch --gen-config
|
# The configuration is done through a series of jq commands
|
||||||
|
|
||||||
# Set Fastfetch to run at login
|
# Set Fastfetch to run at login
|
||||||
echo "clear && fastfetch" >> ~/.bashrc
|
echo "clear && fastfetch" >> ~/.bashrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user