# gentoo-scripts **Repository Path**: fpemud/gentoo-scripts ## Basic Information - **Project Name**: gentoo-scripts - **Description**: Gentoo scripts for Fpemud OS. - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2022-03-25 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README sysman - System manager for Fpemud OS ==================== Usage: see "sysman -h" Priviledge module: * there's only one admin (root) for the whole system * only users in wheel group can su to root, they can su to root without authentication * any user can su to other user (except root), with authentication * all files in a user home directory should use the user (and its sub user) as owner/group (using sticky bit?) * all files in a service should user the service user (and its sub user) as owner/group (using sticky bit?) * for fuse mounts, their allow_* should not conflict with mode (755 etc.) of the mountpoint, specfically, they should all use at least allow_root * root has no keyring * all kinds of keyrings are unlocked using authentication info when a user logins (or being su), re-locked after logout (or exit su) Directory structure: "dispatch-conf.conf" must contain the following content: /etc/dispatch-conf.conf ... # Directory to archive replaced configs archive-dir=${EPREFIX}/var/lib/portage/config-archive ... Notes: Only root can run this tool. Using option --keep to keep the working directory, for debugging purpose. The content of user's keyring will be lost after "reset-user-password" User should be disabled first when doing any write operations such as "reset-user-password". /etc/winpr/SAM is used by net-misc/freerdp. /var/lib/samba/private/passdb.tdb is used by net-fs/samba. In fact, the login keyring is created when the user logins the first time by pam_gnome_keyring. The following commands are deprecated: /bin/passwd, /sbin/useradd, /sbin/usermod, /sbin/userdel /sbin/groupadd, /sbin/groupmod, /sbin/groupdel, /sbin/groupmems https://rog-forum.asus.com/t5/zenith-extreme-x399-e/x399-e-gaming-with-256gb-8x32gb-ram/td-p/903321 Most Unix signals have no equivalent in Telnet telnet can't send a command to server to execute, can't pass return code of a command https://status.anye.xyz/ /var/cache/gentoo-linux: it mirrors part of files structure of https://distfiles.gentoo.org/ this dir is operated by multiple system applications. *. games-mud/tintin 2026/5/12 *. 修改kitty代码,强制single-instance,作为bugfix的一部分 2026/5/12 即如果工具需要启动单独的kitty进程,就应该指定独立的instance-group,和chrome独立进程应该指定独立的user-data-dir一样 *. 做kitty wrapper,缺省listen_on到/usr/run/的unix-socket,并且socket文件包含instance-group 2026/5/12 缺省--allow_remote_control=socket-only 命令行可以覆盖该缺省配置 *. 对于mcp,在skill中要求判断mcp命令存在才会使用 2026/5/12 可以在nanobot启动时判断一次,如果启动时mcp命令不存在,那就把skill排除掉 tool类的skill可以都这么处理(即tool+mcp的1类型) 对于mcp,skill中包含mcp的所有tool的描述,这样对于不存在mcp,反正skill被排除掉了不浪费。而且也和tool类skill一致了,都细化到tool 这些mcp的skill可以作为一个公共大包,不需要跟mcp放在一起,也不依赖mcp。反正多余的skill能排除掉不浪费。 SIGUSR1可以重新刷新skill 为系统中的tool加一些skill,skill也不用依赖包,也是检查tool的exe文件是否存在即可 *. 用agent-skills-cli加入sysman检查/opt/skills,类似检查desktop 2026/5/12 *. 在partner中用show skill和show mcp,能查看内置的和系统的和自定的 2026/5/12 *. blender-mcp,和gimp-mcp一样 2026/5/12 *. 恢复partner *. the-ord,恢复成能启动 2026/5/12 *. partner,使用litellm作为provider,配置回minmax的modal,让litellm永远重试,退避,解决所有健壮性问题 *. partner,直接使用系统安装的所有/opt/skill,支持skill黑名单,支持tool黑名单(已支持), *. 增加websocket channel直接输入输出音频流、视音频流的能力,而且要能同时传递,同时传递文本消息。 the-ord只使用音频流。partner cli只使用文本消息。 partner收到音频流后,用vad拆分,做whisper-cpp语音识别,送给llm(后续转文字要继续往后改) *. 将tool和mcp分开处理 *. mcp有3种(tool一定由mcp管理生命周期): 1. 由agent按需启动,agent管理生命周期,(不能和tool一起处理!),因为mcp的生命周期比tool长(必须用skill发现,skill内容应该和mcp接口返回的描述一致,否则就得启动mcp调用接口获取描述,太慢而且重复,反正也得有个index文件,sysman checker可以检查) 2. 生命周期不由agent管理,忽有忽无(mcp有能力主动用私有协议向agent注册) 3. 生命周期不由agent管理,忽有忽无(必须用skill发现,每次都尝试确认该mcp是否还在) 4. 那种人和agent合作的app,其自身就不应该作为mcp,就应该弄一个bridge mcp,bridge mcp由agent按需启动,bridge mcp中检测app如果没启动则由agent启动,有启动则直接复用,按规则自动关闭app(比如长时间不用,或agent开的tab都关了且没有其他tab) *. https://github.com/fwartner/home-assistant-wakewords-collection中的所有模型 2026/5/11 *. gemma4的破解版dataset,加入in-focus,下载 2026/5/8(白天) *. openwakeword解决,或者长按键盘,能用语音问答交互,包括语音回答问题 https://github.com/dscripka/openWakeWord 2026/5/7 https://github.com/aguscruiz/voiceorb https://github.com/metasidd/Orb https://smoothui.dev/docs/components/siri-orb *. 把我的个人信息加入,整理几个文件 *. 实现反射功能 *. test-video问题解决 *. 同步天气信息到本地、限号信息 *. 让LLM问问题: You are a highly interactive assistant designed to facilitate in-depth discussions and generate insightful solutions. Your goal is to help the user by deeply understanding their queries. When presented with a vague or unclear question, you are programmed to ask for clarifications. Specifically, you should ask about any terms, concepts, or aspects of the question that are not clear to you, before attempting to generate a complete answer. This will help in creating a more engaging and useful dialogue. In case of detailed and clear questions, aim to provide comprehensive and insightful answers, leveraging your extensive knowledge base. if you have any questions ask them, otherwise do X *. 把数据分解成若干领域,用json表示。先后台问LLM需要哪些领域数据,然后在后台问真实问题,带上数据作为prompt *. 给出prompt,让LLM标出有哪些需要更新,然后人工更新 *. 姓名,身份证,车牌号,住址,对天气的要求,行驶证驾驶证信息 *. skill应该用自带的、/usr/libexec/skill中的、 /var/skill中的、.config/skill中的。确保skill是受控的,因为partner是针对自己的电脑,权限要求严格。 *. 参考https://github.com/OthersideAI/self-operating-computer *. 重要架构提升:https://blog.mikegchambers.com/posts/async-agentic-tools/ *. privacy-filter放在mirror里