三大Linux公司中,规范的,红帽,和SUSE,两个都有独立的Linux社区发行版:Red Hathttps://getfedora.org/“target=”noopener noreferrer nofollow“data component=”externalLink“>Fedora,并使用openSUSE。虽然在这两种情况下,这些发行版都与他们的公司发行版紧密相关,但他们的粉丝和开发者社区对他们的方向有发言权。不过,对于Canonical和Ubuntu Linux只有一个发行版。
当然,有一个Ubuntu社区。历史上,由社区专家乔诺·培根(Jono Bacon),帮助指引了Ubuntu的前进道路。培根六年前离开了Ubuntu,从那时起,这个社区的作用就减弱了。但仍有一个Ubuntu社区委员会,它逐渐变得更加无关紧要。最近,一些Ubuntu开发者认为这还不够好,通过在https://discussion.ubuntu.com/“target=”noopener noreferrer nofollow“data component=”externalLink“>Ubuntu社区讨论该标记shattleworth,Canonical的首席执行官和Ubuntu的创始人,已经“抛弃了社区,对治理的崩溃保持沉默。”
特别是,在他看来,“马克不再认为社区有多大好处,所以他最终不觉得社区是合作伙伴,也不需要征求反馈意见他建议Shuttleworth应该“建立一个拥有商标的适当的Ubuntu基金会,成立一个由大多数Canonical员工担任成员的董事会,并为社区提供一些席位。”。Ubuntu社区委员会出于所有实际目的已经停止运作。过去,它每两周都会在互联网中继聊天(IRC)上讨论Ubuntu的发展方向以及如何改进它。
Shuttleworth最初回应说,虽然他认识到“表达的挫折感”,但他并没有缺席。相反,他“把所有其他的兴趣和顾虑都放在一边去帮助Ubuntu获得了长期可持续发展的地位。“
,这是真的,Shuttleworth一直是Ubuntu的代言人,一直在努力打造Ubuntu在Linux桌面上都很成功。他也一直在努力让Ubuntu成为一个利润更丰厚的大公司https://www.zdnet.com/article/canonical-announces-high-performance-android-services-on-the-cloud/“>云,物联网和Kubernetes。事实上,沙特尔沃思最近说https://www.zdnet.com/article/mark-shuttleworth-on-ubuntu-popularity-and-canonical-proficility/“>Canonical现在是“自给自足”。也就是说,Canonical不再需要他的个人资金来维持公司的运转。
沙特尔沃思还指出,社区委员会由于缺乏兴趣而逐渐消亡。他“不确定如何重新构建一个社区领导功能,使之能够执行真正的、令人满意的工作,这需要奉献精神和判断力,但同时也能为那些付出努力的人带来回报。”
此时,Ubuntu开发人员Walter Lapchynski,自愿帮助重新设置社区委员会并https://discussion.ubuntu.com/t/future-of-ubuntu-community/17593/32“target=”noopener noreferrer nofollow“data component=”externalLink“>进行首次选举
沙特尔沃思接受了他的提议。”我在周末考虑过这个问题https://discussion.ubuntu.com/u/wxl“target=”noopener noreferrer nofollow“data component=”externalLink“>@wxl表示愿意帮助运行流程,让我们继续为CC提名。”他总结道,“再次为丢球道歉。”
拉钦斯基捡起了那个球。他宣布,“本学期我们将填补所有七个席位,任期两年。被提名者必须是Ubuntu的成员,才有资格获得提名。理想情况下,他们应该对Ubuntu社区有广泛的了解,组织良好,天生就是领导者?若要提名某人(包括您自己),请发送您或您的被提名人的姓名并启动板ID到ef=“邮箱:community-council@lists.ubuntu.com“target=”_blank“rel=”noopener noreferrer nofollow“data component=”externalLink“>community-council@lists.ubuntu.com电子邮件地址。提名将在两周内被接受,截止2020年9月29日11:59 UTC。
提名完成后,沙特尔沃思将入围提名名单,并进行实际选举,使用Condorcet互联网投票服务。所有Ubuntu成员都有资格在这次选举中投票。
2020年如何流式传输NFL足球比赛
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);
}
});
}
});