ubuntu设置显示应用程序

按住win键,可以搜索到想要的应用程序

或者是点击屏幕左下角的9个点图标,在应用程序列表中能看到这个的程序

设置android studio

在/usr/share/applications目录里,创建文件android-studio.desktop,内容如下:

bash 复制代码
[Desktop Entry]
Encoding=UTF-8
Name=Android Studio
GenericName=Android IDE
Exec=/home/gs/02_android/android-studio/android-studio_2022.3.1.19/bin/studio.sh
Icon=/home/gs/02_android/android-studio/android-studio_2022.3.1.19/bin/studio.png
Terminal=false
Type=Application
Categories=Application;Development;IDE

设置IntelliJ IDEA

/usr/share/applications目录里,创建文件idea.desktop,内容如下:

bash 复制代码
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=IntelliJ IDEA
GenericName=Java IDE
Comment=IntelliJ IDEA is a code-centric IDE focused on developer    productivity. The editor deeply understands your code and knows its way around the codebase, makes great suggestions right when you need them, and is always ready to help you shape your code.
Exec=/usr/local/idea-1803/bin/idea.sh
Icon=/usr/local/idea-1803/bin/idea.png
Terminal=false
Type=Application
Categories=Development;IDE

关键字说明:

Name :快捷方式的名字。

Type :程序类型。

Exec :要执行的程序。

Icon :执行程序的图标。

Categories :快捷方式显示的位置。

Terminal :是否使用终端。

相关推荐
June`几秒前
IO模型全解析:从阻塞到异步(高并发的reactor模型)
linux·服务器·网络·c++
ASS-ASH7 分钟前
快速处理虚拟机磁盘扩容问题
linux·数据库·vmware·虚拟机·磁盘扩容
AI_56787 分钟前
零基础学Linux:21天从“命令小白”到独立部署服务器
linux·服务器·人工智能·github
江湖有缘8 分钟前
Fenrus + Docker 实战:构建简洁高效的浏览器新标签页
运维·docker·容器
乾元9 分钟前
如何把 CCIE / HCIE 的实验案例改造成 AI 驱动的工程项目——从“实验室能力”到“可交付系统”的完整迁移路径
大数据·运维·网络·人工智能·深度学习·安全·机器学习
不染尘.9 分钟前
Linux基本概述
linux·windows·centos·ssh
lpfasd12311 分钟前
宝塔面板(BT Panel)集成雷池 SafeLine WAF(社区版)
运维
weixin_4462608512 分钟前
XPipe: 轻松访问你的服务器基础设施 [特殊字符]
运维·服务器
TTGGGFF13 分钟前
GLM-4V-9B 视觉多模态模型本地部署教程【保姆级教程】
linux·运维·服务器·图文对话
r***013813 分钟前
Nginx代理到https地址忽略证书验证配置
运维·nginx·https