lxde/Lubuntu 平台中的快捷键

各种窗口管理器和美化相关
回复
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

lxde/Lubuntu 平台中的快捷键

#1

帖子 TeliuTe » 2010-11-17 13:45

来自:阿泰的菜园

LXDE是支持快捷键的,只是没有明 确的快捷键设置图形管理工具。快捷键是通过openbox来实现的,在 ~/.config/openbox 目录下有一个 lxde-rc.xml 文件,其中有类似如下格式就是设置快捷方式。同时也可以看到系统默认已经设置了快捷方式。

<!-- Keybindings for running applications -->
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>PCManFM</name>
</startupnotify>
<command>pcmanfm</command>
</action>

注释
缩 写字母 键名
C Ctrl 键
A Alt 键
W Window 键

快捷键列表

快捷键 功能说明
C-A-Left 切 换到左面桌面
C-A-Right 切 换到右面桌面
S-A-Left 将窗口 发送到左面桌面,同时也切换到左面桌面
S-A-Right 将 窗口发送到右面桌面,同时也切换到右面桌面
W-F1 切 换到1号桌面
W-F2 切换到2号桌 面
W-d “乒乓”方式显示底桌面
A-F4 关闭窗口
A-space 窗口菜单
A-Tab 下一个窗口
A-S-Tab 上一个窗口
W-e 文件管理器PCManFM
W-r 启动gmrun运行管理器
A-F2 启动gmrun运行管理器
C-Escape 启动菜单
F11 程序全屏显示
A-C-Delete 启动lxtask任务管理器
dgsian
帖子: 1066
注册时间: 2006-06-25 0:58

Re: lxde/Lubuntu 平台中的快捷键

#2

帖子 dgsian » 2011-08-02 6:53

我只想知道如何设置快捷键弹出如图的窗口,这个功能是我最需要的。 :em05
附件
Screenshot-lxsession-logout.png
Lubuntu+Firefox+永中集成Office
dgsian
帖子: 1066
注册时间: 2006-06-25 0:58

Re: lxde/Lubuntu 平台中的快捷键

#3

帖子 dgsian » 2011-08-02 13:01

代码: 全选

<keybind key="A-F1">
    <action name="firefox">
        <command>firefox</command>
    </action>
</keybind>
试了一个命令,按了快捷键后火狐好像没啥反应。 :em06
Lubuntu+Firefox+永中集成Office
dgsian
帖子: 1066
注册时间: 2006-06-25 0:58

Re: lxde/Lubuntu 平台中的快捷键

#4

帖子 dgsian » 2011-08-03 22:05

竟然没人帮拖,真是令人沮丧。 :em05
Lubuntu+Firefox+永中集成Office
wutong
帖子: 345
注册时间: 2007-10-22 16:54

Re: lxde/Lubuntu 平台中的快捷键

#5

帖子 wutong » 2011-08-16 8:23

<keybind key="W-F4">
<action name="lubuntu-logout">
<command>lubuntu-logout</command>
</action>
</keybind>
wutong
帖子: 345
注册时间: 2007-10-22 16:54

Re: lxde/Lubuntu 平台中的快捷键

#6

帖子 wutong » 2011-08-16 8:26

要注销後再回来才起作用,或者
source ~/.config/openbox/lubuntu-rc.xml
大碗茶
帖子: 63
注册时间: 2009-05-05 16:29

Re: lxde/Lubuntu 平台中的快捷键

#7

帖子 大碗茶 » 2013-04-27 12:17

各位大大,我想设置切换笔记本的主屏和外接的屏幕快捷键,要怎么做呢?笔记本上是Lubuntu的·
头像
qagkiss
帖子: 15
注册时间: 2012-10-09 22:17
系统: ubuntu

Re: lxde/Lubuntu 平台中的快捷键

#8

帖子 qagkiss » 2013-12-05 13:40

dgsian 写了:

代码: 全选

<keybind key="A-F1">
    <action name="firefox">
        <command>firefox</command>
    </action>
</keybind>
试了一个命令,按了快捷键后火狐好像没啥反应。 :em06
action name="Execute" 这个是特殊变量 不能改变 他的值
奢侈的滨鹬
帖子: 4
注册时间: 2013-11-07 12:42
系统: lubuntu 13.10

Re: lxde/Lubuntu 平台中的快捷键

#9

帖子 奢侈的滨鹬 » 2013-12-25 21:54

马克一下 刚刚装上撸办图
头像
huangbster
帖子: 187
注册时间: 2012-10-29 11:35
系统: UBUNTU

Re: lxde/Lubuntu 平台中的快捷键

#10

帖子 huangbster » 2014-02-24 16:08

修改完后需要运行生效openbox --reconfigure。
那个注销的程序时:lxde-logout
那个lxtask就改为gnome-system-monitor吧。
补上我自己常用的快捷:
<keybind key="A-C-W">
<action name="Execute">
<command>firefox</command>
</action>
</keybind>
<keybind key="A-C-E">
<action name="Execute">
<command>thunderbird</command>
</action>
</keybind>
<keybind key="A-C-C">
<action name="Execute">
<command>gnome-calculator</command>
</action>
</keybind>
<keybind key="A-C-D">
<action name="Execute">
<command>gnome-dictionary</command>
</action>
</keybind>
zbie
帖子: 1
注册时间: 2014-05-09 10:23

Re: lxde/Lubuntu 平台中的快捷键

#11

帖子 zbie » 2014-05-09 10:27

大碗茶 写了:各位大大,我想设置切换笔记本的主屏和外接的屏幕快捷键,要怎么做呢?笔记本上是Lubuntu的·
装xrandr,
外接xrandr --output VGA1 --auto --output LVDS1 --off
主屏xrandr --output VGA1 --off --output LVDS1 --auto
设置快捷键就可以了
头像
百草谷居士
帖子: 3909
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: lxde/Lubuntu 平台中的快捷键

#12

帖子 百草谷居士 » 2018-08-04 13:10

zbie 写了: 2014-05-09 10:27
大碗茶 写了:各位大大,我想设置切换笔记本的主屏和外接的屏幕快捷键,要怎么做呢?笔记本上是Lubuntu的·
装xrandr,
外接xrandr --output VGA1 --auto --output LVDS1 --off
主屏xrandr --output VGA1 --off --output LVDS1 --auto
设置快捷键就可以了
能不能设置按个快捷键,就把应用程序窗口从这个屏幕转移到另外屏幕?
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
回复