You are not logged in.

#1 2020-11-09 21:07:43

cavernico
Member
Registered: 2019-07-18
Posts: 9

[SOLVED] libinput.conf

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

#2 2020-11-09 21:50:14

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] libinput.conf

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.conf

Last edited by progandy (2020-11-09 21:51:16)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2020-11-09 21:50:37

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] libinput.conf

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

#4 2020-11-09 21:53:15

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] libinput.conf

twelveeighty wrote:

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

#5 2020-12-27 21:43:14

cavernico
Member
Registered: 2019-07-18
Posts: 9

Re: [SOLVED] libinput.conf

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

#6 2020-12-27 22:15:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,658

Re: [SOLVED] libinput.conf

You could just have asked "how to figure which package provides a file?" … or looked into the pacman manpage…

Online

#7 2020-12-28 15:45:08

cavernico
Member
Registered: 2019-07-18
Posts: 9

Re: [SOLVED] libinput.conf

seth wrote:

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

Board footer

Powered by FluxBB