Red Hat的社区Linux发行版Fedora一直受到开源和Linux开发人员的欢迎,但是这个最新版本,软呢帽34似乎有些特别。正如Fedora项目负责人Matthew Miller在推特上所说,“F34的测试版是有史以来最受欢迎的测试版之一,在我的统计数据中显示的系统是普通系统的两倍。”
为什么?尼克·杰拉斯https://rancher.com/“target=”\u blank“rel=”noopener noreferrer nofollow“data component=”externalLink“>Rancher软件工程师认为这是因为“我从未见过项目处于更好的状态,我想GTK 4.0图形工具箱。在漂亮的新外观下,这个更新还修复了许多问题,并消除了许多粗糙点。如果您想拥有另一个桌面,还可以使用https://spins.fedoraproject.org/kde/download/index.html“target=”\u blank“rel=”noopener noreferrer nofollow“data component=”externalLink“>最新KDE Plasma桌面,Xfce 4.16,肉桂色等。您可以命名您最喜欢的Linux桌面界面,Fedora几乎肯定会把它交给你的。
在那些明亮闪亮的脸下,你会发现Wayland显示服务器。不幸的是,就像所有使用Wayland来取代旧的X.org显示服务器的Linux发行版一样,它不能很好地与NVIDIA图形一起工作和运行。PipeWire,以及音频和视频服务器,用于音频。这将替换Audacity,流行的音频程序,您可能需要做一点调整,使其正常工作,但它还不能与流行的Linux Mint,适用于需要日常工作桌面Linux的用户。Fedora是为开发人员和勇敢、冒险的Linux用户准备的。它也是Red Hat Enterprise Linux(RHEL)。
说到程序员,他们会很乐意使用Btrfs。我发现它比https://opensource.com/article/17/5/introduction-ext4-filesystem“target=”\u blank“rel=”noopener noreferrer nofollow“data component=”externalLink“>ext4,也许是最流行的Linux桌面文件系统。这次不同的是,它现在默认使用Btrfs透明压缩。
除了节省大量存储空间(通常从20%到40%)之外,Red Hat还声称这可以延长SSD和其他闪存介质的使用寿命ssd等具有内置的有限生存期,具体取决于给定驱动器的写入次数。大多数用户永远不会达到这个极限,正常使用大约十年。但是开发人员,例如每天编译Linux内核的开发人员,可能会在PC通常的使用寿命结束之前达到这一点。对他们来说,透明压缩可能有助于保持他们的计算机运行,直到他们需要用更新、更快的机器替换它。
当然,像往常一样,Fedora还有许多其他版本。有一个Fedora物联网。你说出工作的名字,可能就有一顶软呢帽。
想亲眼看看吗? 下载Fedora,查看Red Hat Enterprise Linux 8.4到达并将Linux带到计算机边缘
明尼苏达大学响应Linux安全补丁请求
a, .nav-item > a, .dropdown-menu a');
allLinks.forEach(link => {
let href = link.getAttribute('href');
if (!href || href === '#' || href === 'javascript:;') return;
// 4. 提取菜单中的核心路径
// 例如 /articles.html -> articles
let cleanHref = href.replace(/^\/|\/$/g, '').replace(/\.(html|php)$/, '').toLowerCase();
let isMatch = false;
// 5. 精确匹配逻辑
if (cleanHref === 'index') {
// 只有当前是首页时,才高亮首页
if (cleanPath === 'index') isMatch = true;
} else {
// 如果当前路径完全等于菜单路径 (如 /articles 匹配 /articles)
// 或者当前路径以 "菜单路径/" 开头 (如 /articles/154 匹配 /articles)
// 或者当前路径包含 "菜单路径." (防某些带点号的特殊情况)
if (cleanPath === cleanHref || cleanPath.startsWith(cleanHref + '/')) {
isMatch = true;
}
}
// 6. 如果匹配成功,加上高亮
if (isMatch) {
link.classList.add('active');
// 如果匹配的是下拉菜单里的子项,顺便把它的父级分类也高亮
const parentNavItem = link.closest('.nav-item');
if (parentNavItem && !parentNavItem.classList.contains('active')) {
const parentLink = parentNavItem.querySelector('a');
if (parentLink) parentLink.classList.add('active');
}
}
});
})();
// ================= 移动端菜单逻辑 =================
const toggle = document.getElementById("menuToggle");
const nav = document.getElementById("navLinks");
// 1. 汉堡按钮:切换主菜单显示/隐藏
if (toggle && nav) {
toggle.addEventListener("click", function (e) {
e.stopPropagation();
const expanded = this.getAttribute("aria-expanded") === "true";
this.setAttribute("aria-expanded", String(!expanded));
nav.classList.toggle("active");
});
}
// 2. 处理下拉子菜单的展开/折叠
if (window.innerWidth <= 768) {
const navItems = document.querySelectorAll(".nav-item");
navItems.forEach((item) => {
const titleLink = item.querySelector("a");
const dropdownMenu = item.querySelector(".dropdown-menu");
const arrowIcon = item.querySelector(".arrow-icon");
if (titleLink && dropdownMenu) {
titleLink.addEventListener("click", function (e) {
e.preventDefault(); // 阻止链接跳转
e.stopPropagation();
// 手风琴效果:收起其他已展开的菜单
navItems.forEach((otherItem) => {
if (otherItem !== item) {
const otherMenu = otherItem.querySelector(".dropdown-menu");
const otherArrow = otherItem.querySelector(".arrow-icon");
if (otherMenu) otherMenu.classList.remove("active");
if (otherArrow) otherArrow.style.transform = "rotate(0)";
}
});
// 切换当前菜单
dropdownMenu.classList.toggle("active");
if (arrowIcon) {
arrowIcon.style.transform = dropdownMenu.classList.contains(
"active",
)
? "rotate(180deg)"
: "rotate(0)";
}
});
}
});
}
// 3. 点击普通菜单项后,自动关闭整个主菜单
if (nav) {
nav.querySelectorAll("a").forEach(function (link) {
if (!link.querySelector(".arrow-icon")) {
link.addEventListener("click", function () {
nav.classList.remove("active");
if (toggle) toggle.setAttribute("aria-expanded", "false");
});
}
});
}
// ================= 返回顶部逻辑 =================
(function () {
const backToTop = document.getElementById("backToTop");
window.addEventListener("scroll", function () {
if (window.scrollY > 300) {
backToTop.classList.add("show");
} else {
backToTop.classList.remove("show");
}
});
backToTop.addEventListener("click", function () {
window.scrollTo({ top: 0, behavior: "smooth" });
});
})();
// 多语言
document.addEventListener("DOMContentLoaded", function() {
let path = window.location.pathname;
let isEn = path.startsWith('/en/');
if (isEn) {
document.cookie = "my_lang=en; path=/; max-age=" + (30 * 24 * 3600);
} else {
document.cookie = "my_lang=zh; path=/; max-age=" + (30 * 24 * 3600);
}
// 【2. 首页记忆】如果访问的是首页(没带 en),但记忆是英文,前端自动跳去英文首页
if (!isEn && (path === '/' || path === '/index.html')) {
if (document.cookie.includes('my_lang=en')) {
window.location.replace('/en' + path);
return;
}
}
// 【3. 菜单不掉线】如果是英文页面,自动给菜单链接加上 /en/
if (isEn) {
document.querySelectorAll('a').forEach(function(link) {
let href = link.getAttribute('href');
// 站内链接,且没带 /en/
if (href && href.startsWith('/') && !href.startsWith('/en/') && !href.startsWith('http')) {
link.setAttribute('href', '/en' + href);
}
});
}
});