我尝试在 Android 上使用 XFCE 和 Termux,桌面图标的行为完全是一团糟。显示屏的大小是动态的(使用手机时有四种可能的配置,在窗口中运行时可能连续变化)。桌面图标在连续的屏幕尺寸变化中以完全随机的方式不断移动,这真是一场灾难。
我很高兴看到 Thunar 能够通过桌面右键菜单的“排列桌面图标”来放置桌面图标。
如何在登录时触发此操作,并在每次显示尺寸改变时自动触发此操作?
我尝试在 Android 上使用 XFCE 和 Termux,桌面图标的行为完全是一团糟。显示屏的大小是动态的(使用手机时有四种可能的配置,在窗口中运行时可能连续变化)。桌面图标在连续的屏幕尺寸变化中以完全随机的方式不断移动,这真是一场灾难。
我很高兴看到 Thunar 能够通过桌面右键菜单的“排列桌面图标”来放置桌面图标。
如何在登录时触发此操作,并在每次显示尺寸改变时自动触发此操作?
如何在 Debian 12 中为 Mousepad 0.5.10 应用自定义样式?我创建了 classic.xml 的副本并修改了该副本的内容,如下所示。但是,如果我运行 Mousepad,则新的配色方案不会在首选项 > 视图 > 配色方案中列出。
$ ls -l /usr/share/gtksourceview-3.0/styles
total 80
-rw-r--r-- 1 root root 5304 14. Sep 2019 classic.xml
-rw-r--r-- 1 root root 7332 14. Sep 2019 cobalt.xml
-rw-r--r-- 1 root root 8637 14. Sep 2019 kate.xml
-rw-r--r-- 1 root root 5310 8. Apr 19:16 my_classic.xml
-rw-r--r-- 1 root root 6498 14. Sep 2019 oblivion.xml
-rw-r--r-- 1 root root 4340 14. Sep 2019 solarized-dark.xml
-rw-r--r-- 1 root root 4265 14. Sep 2019 solarized-light.xml
-rw-r--r-- 1 root root 3441 14. Sep 2019 styles.rng
-rw-r--r-- 1 root root 6214 14. Sep 2019 tango.xml
$ sudo nano /usr/share/gtksourceview-3.0/styles/my_classic.xml
<style-scheme id="my_classic" _name="My-Classic" version="1.0">
<author>GtkSourceView team</author>
<_description>Classic color scheme</_description>
<style name="current-line-number" background="#008A8C"/>
</style-scheme>
当我尝试将窗口放置在屏幕顶部时,当鼠标到达顶部的几个像素内时,窗口会翻转到全屏尺寸,这非常烦人。<左右边缘相同,使窗口为全高。有没有办法禁用这种行为?到目前为止,我已经搜索了“设置”菜单项、网络和 XFCE 文档,但没有成功。
Hibernate 未在 xfce4 中列为注销选项:
XFCE 文档建议检查xfce4-power-manager
,但似乎没有问题:
>xfce4-power-manager --no-deamon --debug
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
我怎样才能使用休眠?这对于这台计算机来说至关重要,因为我似乎没有任何方法可以deep
在挂起时使用睡眠模式,并且在s2idle
这种模式下会消耗 3 W 的功率,这会在几个小时内耗尽整个电池。
命令的完整输出:
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:679] xfpm_xfconf_init(): lock screen TRUE
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for handle-brightness-keys
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-enabled
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-ac-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-ac-off
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for network-manager-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-dpms.c:72] xfpm_dpms_set_timeouts(): Settings dpms: standby=600 suspend=0 off=900
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:929] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:888] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:929] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:888] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:897] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:9479): xfce4-power-manager-WARNING **: 09:49:49.827: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:929] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
TRACE[xfpm-power.c:888] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:929] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o002
TRACE[xfpm-power.c:888] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-dpms.c:72] xfpm_dpms_set_timeouts(): Settings dpms: standby=300 suspend=0 off=600
TRACE[xfpm-dpms.c:347] xfpm_dpms_set_on_battery(): dpms on battery TRUE
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 600
TRACE[xfpm-power.c:209] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 9479>, 'start-time': <uint64 349924>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 600
TRACE[xfpm-manager.c:650] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
** (xfce4-power-manager:9479): WARNING **: 09:49:49.901: No outputs have backlight property
(xfce4-power-manager:9479): xfce4-power-manager-WARNING **: 09:49:49.907: It seems the kernel brightness switch handling value was not restored properly on exit last time, xfce4-power-manager will try to restore it this time.
xfce4-power-manager-Message: 09:49:49.932: Set kernel brightness switch to 0
TRACE[xfpm-backlight.c:269] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 9
TRACE[xfpm-backlight.c:290] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 120
(xfce4-power-manager:9479): xfconf-WARNING **: 09:49:49.937: Failed to set property "xfce4-power-manager::/xfce4-power-manager/brightness-switch": Operation was cancelled
xfce4-power-manager-Message: 09:49:49.961: Set kernel brightness switch to 0
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 2
TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 2
我使用 Debian 测试和 XFCE 作为桌面环境。
我有一个德语键盘,有时会使用^
(抑扬顿挫)。当我按下该键一次时,该符号会显示带有下划线。我必须再次点击它才能删除该下划线。
我认为这是为了获取诸如⁴
等的符号,但我不想要该功能,我从不使用它。但我不知道在哪里可以关闭它。
谁能告诉我如何在 xfce 中关闭它?目前我按了四次该键来显示,^^
但这很烦人!
编辑:根据要求:
oli@DESKTOP-SJIB21T:~$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
使用的键盘型号是“具有 105 个键的通用 PC 键盘”,布局是“使用系统设置”。现在它是“Deutsch (ohne Akzenttasten)”,有了这些设置就可以了。
有没有人有解决方案来防止alt+f2在 Linux Mint Xfce4 中窃取选择?
例如:我有一个 URL 可以粘贴到 URL 栏中(假设我使用过ctrl+c),然后我用打开brave-browser
,alt+f2然后xfrun4
由 触发alt+f2,当我粘贴时ctrl+v,而不是我的 URL 我有例子ve-browser
。
也许有些东西gsettings
或者我需要填写错误报告?
lsb_release -cir
Distributor ID: Linuxmint
Release: 21.1
Codename: vera
在 XFCE 的 windows 设置中,有一个命令叫做Show Desktop
. 它最小化了所有窗口,并且很好地显示了桌面。例如,可以在此处找到更详细的描述。
是否有可用的命令将再次显示所有窗口,即基本上通过切换作为对应部分的命令?
我尝试了很多方法来尝试在运行 LinuxMint 20.3 和 xfce/xfwm4 的 Thinkpad X220 上交换alt
和键。windows
我试过setxkbmap -option altwin:swap_alt_win
了,将以下内容添加到~/.xmodmap
:
remove mod1 = Alt_L
remove mod4 = Super_L
add mod1 = Super_L
add mod4 = Alt_L
并运行xmodmap ~/.xmodmap
我已经浏览了Keyboard > Layout > Change Layout Option
,看看有什么可用的。
FWIW,showkey
报告:
ALT keycode 56
SUPER keycode 125
我也尝试过手动设置~/.xmodmap
:
keycode 56 = Alt_L
keycode 125 = Super_L
remove Mod1 = Alt_L
remove Mod4 = Super_L
add Mod1 = Super_L
add Mod4 = Alt_L
到目前为止,没有什么对我有用,任何正确方向的提示将不胜感激!
我的系统本地时钟已连续几天显示不正确。当我运行timedatectl status
输出是这样的:
➜ timedatectl status
Local time: Sat 2021-12-25 19:16:57 +0330
Universal time: Sat 2021-12-25 15:46:57 UTC
RTC time: Sat 2021-12-25 15:46:57
Time zone: Asia/Tehran (+0330, +0330)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
世界时间和 RTC 时间是正确的,但本地时间的值是不正确的!
运行后本地时间修复sudo ntpd -qg
。
但是当我重新启动系统时,一切都回来了并且出错了......
我怎么解决这个问题 ?
这是我系统的更多信息:我使用 arch+xfce4 的输出timedatectl timesync-status
是:
Server: n/a (ur.ntp.srv)
Poll interval: 0 (min: 32s; max 34min 8s)
Packet count: 0
使用 Linux Mint XFCE 20.2 不久前,我安装了一个 KDE Plasma 桌面来试用它。最终不喜欢它,只是坚持这个。
出于某种原因,当我在 KDE 和 XFCE 之间切换时,我的桌面图标上的文本变成了带有黑色阴影的黑色,我不知道如何将它改回来(它曾经是带有黑色阴影的白色)。我尝试更改主题并编辑 gtk.css 和 colors.css 文件,注销然后重新登录,但什么也没发生。
做什么?