Openbox Window Manager를 선택해서, 내 PC에 login 했다. touchpad 설정이 잘 작동하지 않았다. 그래서 Google에 물었는데, AI를 통한 답변이 왔다.
질문:
why in openbox window manager, it does not have effect xfce mouse / touchpad setting and/or gnome mouse / touchpad setting ?
--
답변:
OpenBox, as a window manager, primarily handles window management and doesn't directly control or override mouse/touchpad settings. XFCE and GNOME, being full-fledged desktop environments, manage those settings at a lower level. If you're experiencing issues where your XFCE or GNOME mouse/touchpad settings aren't applying in OpenBox, it's likely due to a conflict in settings or a configuration issue specific to your environment.
https://unix.stackexchange.com/questions/686588/gnomes-touchpad-and-mouse-settings-completely-changed-after-installing-xfce4-on
(메롱)https://support.microsoft.com/en-us/windows/fix-touchpad-problems-in-windows-30b498e5-0caa-9740-2b21-336ea75ee756#:~:text=If%20a%20touchpad%20isn't,be%20done%20using%20Device%20Manager.
https://en.wikipedia.org/wiki/Xfce#:~:text=Xfce%20or%20XFCE%20(pronounced%20as,Olivier%20Fourdan
https://forums.bunsenlabs.org/viewtopic.php?id=7419
--
Here's a more detailed explanation:
OpenBox and Mouse/Touchpad Settings:
OpenBox is a window manager, meaning it's responsible for drawing windows, managing window placement, and handling user input for window operations (like moving, resizing, and closing).
OpenBox itself doesn't directly control the way the mouse or touchpad behaves in the system.
OpenBox uses the underlying X server and the desktop environment's settings for mouse/touchpad behavior.
XFCE/GNOME and Mouse/Touchpad Settings:
XFCE and GNOME are desktop environments that provide a full desktop experience.
They manage various aspects of the desktop, including the appearance, window management, and, importantly, settings for mouse/touchpad behavior.
These settings are stored within the desktop environment's configuration files (e.g., dconf for GNOME).
Potential Causes and Solutions:
1. Conflict in Settings:
If you've made changes to your mouse/touchpad settings in XFCE or GNOME, but you're not seeing those changes in OpenBox, it could be that another configuration is overriding your changes.
Check your Xorg configuration files (/etc/X11/xorg.conf.d/) for any conflicting settings related to your mouse/touchpad.
Also, review any other configuration files that might be affecting your mouse/touchpad behavior.
2. Driver Issues:
If you're using a specific driver for your mouse/touchpad (e.g., Synaptics), it could be interfering with the way OpenBox receives input.
Make sure you have the correct drivers installed for your mouse/touchpad device.
3. Missing/Incorrect Configuration:
If you're using a custom configuration file for your mouse/touchpad, ensure it's set up correctly and that it's being loaded by the system.
You can try using the default Xorg configuration for your mouse/touchpad to see if that resolves the issue.
4. Overriding Settings:
Some applications might have their own internal mouse/touchpad settings that override the system-wide settings.
Check if any of your applications have settings that are conflicting with the ones you've made in your desktop environment.
Troubleshooting Steps:
Create a New User Account: This will help you determine if the problem is with your user account or a system-wide issue.
Reset Your Desktop Environment Settings: You can reset your XFCE or GNOME settings to their defaults to see if that resolves the problem.
Check Your Xorg Configuration: Inspect your Xorg configuration files for any conflicting settings.
Update Your Drivers: Ensure you have the latest drivers for your mouse/touchpad.
Try a Different Window Manager: If the issue persists, you might want to try another window manager to see if the problem is specific to OpenBox.
---
실제로는 별 성과가 없는 설명이었다. 대신에,
/etc/xdg/ 라는 directory가 관심이 생겼는데, 그 이유는
/etc/X11/xorg.conf.d/ 라는 곳에는 아무런 (파일 / 설정)이 들어있지 않았고,
/etc/X11/ 이라는 위치에는
/etc/X11/openbox 라는 파일이, ../xdg/openbox 를 가리키는 symbolic link였으며, 이것은
/etc/xdg/openbox/ 라는 directory를 가리키는 것이었다.
이 속에는 아래와 같은 파일들이 들어 있었다.
---
drwxr-xr-x 2 root root 4096 Apr 7 19:40 LXDE
-rwxr-xr-x 1 root root 492 Jan 30 2022 autostart
-rwxr-xr-x 1 root root 379 Jan 30 2022 environment
-rw-r--r-- 1 root root 1056 Mar 16 2020 menu.xml
-rw-r--r-- 1 root root 24189 Jan 30 2022 rc.xml
---
참고로, /etc/xdg/ 위치에는 아래와 같은 내용이 있었다.
---
# ls -l /etc/xdg/
total 72
drwxr-xr-x 2 root root 4096 Apr 7 19:30 Thunar
drwxr-xr-x 2 root root 4096 Apr 7 19:38 Xwayland-session.d
drwxr-xr-x 2 root root 4096 Apr 7 19:40 autostart
-rw-r--r-- 1 root root 44 Jul 12 2023 kcm-about-distrorc
-rw-r--r-- 1 root root 44 Jul 12 2023 kickoffrc
drwxr-xr-x 2 root root 4096 Apr 7 19:29 libfm
drwxr-xr-x 2 root root 4096 Apr 7 19:36 lxlauncher
drwxr-xr-x 5 root root 4096 Apr 7 19:25 lxpanel
drwxr-xr-x 3 root root 4096 Apr 7 19:25 lxsession
drwxr-xr-x 2 root root 4096 Apr 7 19:40 menus
drwxr-xr-x 3 root root 4096 Apr 7 19:38 openbox
drwxr-xr-x 4 root root 4096 Apr 7 19:25 pcmanfm
drwxr-xr-x 3 root root 4096 Apr 7 19:16 plasma-workspace
drwxr-xr-x 2 root root 4096 Apr 7 19:02 systemd
drwxr-xr-x 2 root root 4096 Apr 7 19:29 tumbler
-rw-r--r-- 1 root root 414 Sep 26 2022 user-dirs.conf
-rw-r--r-- 1 root root 418 Sep 26 2022 user-dirs.defaults
drwxr-xr-x 5 root root 4096 Apr 7 19:38 xfce4
---
그래서, 구글에 물어봤더니, AI가 대답했다.
질문:
the folder use by what ? /etc/xdg in debian linux
( 거의 터무니 없는 엉터리 영어 질문이다. 그런데, 나름 쓸모 있는 답변이 나왔다. )
답변:
The /etc/xdg directory in Debian Linux is used for system-wide XDG (Freedesktop.org) Base Directory Specification configuration files. It provides default settings for various XDG directories, which are used by many applications to locate user-specific data like configuration files and user-created directories.
Key points about /etc/xdg:
System-wide defaults:
This directory contains files that provide system-wide default settings for XDG directories.
Example files:
Common files in /etc/xdg include user-dirs.conf and mimeapps.list, which manage user directories and application associations, respectively.
Overrides and user-specific settings:
Users can override the system-wide settings by creating their own XDG directories in their home directory, typically in ~/.config/.
Purpose:
The XDG Base Directory Specification aims to provide a standardized way for applications to locate configuration files and user data, promoting better interoperability between different applications and desktop environments.
-
x.org 의 XDG 관련 내용을 잘 찾아봐야겠다는 생각이 들었다.
-
거의 직접적인 hint는 없이, 이전에 사용자 설정을 뒤져본 경험에 의해, ~/.config/ 폴더를 찾아갔다. 거기에는,
~/.config/openbox/
라는 folder _가 있었고, lxde-rc.xml 파일과 rc.xml 파일이 있어서, less 프로그램으로 그 내용을 보니, rc.xml 파일에는,
--
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
--
라는 다소 황당한 내용이 있었다. 여기가 바로 그 $HOME/.config/openbox/
인데? 아마도, openbox window manager 기본 설치 과정에서 설치되는 어디인가의 default 설정을 복사해 오는 과정에서 이 부분을 지우지 않은 것 같다. 하지만, 이 파일이 애초에 어디에 있던 것이 여기로 복사되어 왔는지는 모르겠다.
내용은 다소 길었다. 마우스 설정에 대한 것도 있긴 있었지만, 마땅히 touchpad에 관련된 것은 전혀 없었다. 그 점은 lxde-rc.xml 파일도 마찬가지였고, 이것도 내용은 달랐지만, <!-- Do not edit this file ... Copy the file to $HOME/.config/openbox/ instead. --> 이라는 다소 황당한 comment 는 마찬가지로 있었다. 역시 복사/변경 과정에서 그대로 남겨 놓은 듯하다. 이제 xorg 설정 파일을 더 뒤져봐야 할 것 같다.
-
-
-