惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
The GitHub Blog
The GitHub Blog
小众软件
小众软件
美团技术团队
博客园 - 司徒正美
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
J
Java Code Geeks
Last Week in AI
Last Week in AI
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
V
V2EX
C
Check Point Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MyScale Blog
MyScale Blog

博客园 - 梦书

HarmonyOS应用开发者高级认证-2025年1月份 2024年年终总结 2024年上半年软件设计师第一批 2023年下半年网络工程师 获取Android设备的所有属性值 2022年架构设计师考试 2022年第2次居家办公 2021年系统分析师考试总结 Android开发手记之第一次运维 Ubuntu上降级chrome Android开发手记之图片base64 2020年信息系统项目管理师案例计算题之我见 2020年信息系统项目管理师上午综合题41-75 2020年信息系统项目管理师上午综合题1-40 Android开发手记之Return code is: 401, ReasonPhrase: Unauthorized. Android开发手记之Could not find tools.jar Android开发手记之compileDebugAidl failed Android开发手记之android.content.res.Resources$NotFoundException: Resource ID #0x7f04005e Android开发手记之duplicate entry: res/drawable/a.xml
Ubuntu 下修改文件和文件夹混合排序的时候-文件夹优先的规则
梦书 · 2025-04-18 · via 博客园 - 梦书

Ubuntu 24.04.2 LTS 版本,很讨厌的一个规则,就是在排序一个文件夹下(一般是Download目录)的文件和文件目录的时候,不管按照名字还是修改时间,文件夹都排在文件之前,即文件夹优先。

可以输入以下的命令查看到底是哪个属性设置导致的:

gsettings get org.gtk.Settings.FileChooser sort-directories-first

gsettings get org.gtk.gtk4.Settings.FileChooser sort-directories-first  // 我的系统是这个返回 true

直接true的属性重新设置成false即可

gsettings set org.gtk.gtk4.Settings.FileChooser sort-directories-first false