You are not logged in.
Pages: 1
Hi, i was just wondering that if i accidentally delete my libinput.conf file in /usr/share/X11/xorg.d/ i wont be able to use my keyboard or mouse anymore, so i delete ir just for fun and i was unable to regenerate it, couldn't find almost any example in the net and no reinstall of xorg or libinput would replace the file in the folder.
there is a way to regenerate this kind of skeletons? Once y accidentaly delete my 10-nvidia-drm-outputclass.conf and i struggle to get it back.
Many thanks
Last edited by cavernico (2020-12-27 20:12:40)
Offline
That file is part of the xf86-input-libinput package.
$ sudo pacman -Fy
$ CUTF pacman -Fx libinput.conf
extra/xf86-input-libinput 0.30.0-1 (xorg-drivers) [installed]
usr/share/X11/xorg.conf.d/40-libinput.confLast edited by progandy (2020-11-09 21:51:16)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Maybe stop "accidentally" on-purpose deleting random files for fun without knowing what you're doing. Or at least *move* it instead of deleting?
Offline
Maybe stop "accidentally" on-purpose deleting random files for fun without knowing what you're doing. Or at least *move* it instead of deleting?
That is very good advice. If you want to learn by destroying your system, at least do it in a VM.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
well, thanks anyway, this is not a job, its for fun, my job is a farmer, so if i delete a file and challenge myself to re build stuffs is to get knowledge, i also compile my own kernel and mess thing around, now after years of using arch and Gentoo i can help others with their issues. I know that helping me is not your job, is for fun and getting experience in what you like, no worries you don't need to answer my questions, is not urgent at all and i have enough experience to do it my self, and i fix it right away, i just wanted to learn those kind of things. The thing i forget to add is that i always save any conf file before deletion. So my question is basically to learn, not to get my system back to work. Thanks anyway.
Offline
You could just have asked "how to figure which package provides a file?" … or looked into the pacman manpage…
Online
You could just have asked "how to figure which package provides a file?" … or looked into the pacman manpage…
My english is not the best, i speak spanish as my main lang and then french, 3th is english so i may not be clear about my intentions, i know what libinput is, i just wonder what if you delete a .conf file, not necessarily this one, could by anyone, and re write it again, is there a bibliotheque (librairie) out there that keeps the defaults?, in case that i do something stupid like blindly "pacdiff" and replace something thats is important for me.
I'm sorry i wasn't clear and it seems like i like to break thing just to annoy people with stupid questions. I just wanted to know how things works by building by myself that conf file o get back a skeleton to work with.
Offline
Pages: 1