2020-08-11T02:26:59 #kisslinux Does anyone know how to get joysticks working in xorg? I can see they are there in /dev/input/js0 and they work when testing with jstest. However if I try to test with something like sdl-jstest or any other gui application they are not found. I am assuming this is to do with Xorg however not sure what. I tried packaging xf86-input-joystick however 2020-08-11T02:26:59 #kisslinux it did not help 2020-08-11T02:45:42 #kisslinux what udev backend do you use ? eudev or libudev-zero ? 2020-08-11T02:46:09 #kisslinux I use eudev 2020-08-11T02:46:40 #kisslinux perhaps you need xf86-input-evdev 2020-08-11T02:47:02 #kisslinux Is it packaged in any repos? If not I can package it 2020-08-11T02:47:33 #kisslinux it isn't 2020-08-11T02:47:52 #kisslinux I will do so 2020-08-11T02:50:04 #kisslinux Ok I packaged it and installed it restarting xorg rn to test it brb 2020-08-11T02:52:34 #kisslinux That didnt seem to change anything 2020-08-11T02:53:48 #kisslinux see xorg log 2020-08-11T02:55:40 #kisslinux When plugging in the controller it says Adding input device /dev/input/js0 and then says no input driver specified ignoring this device 2020-08-11T03:05:05 #kisslinux Does your joystick have a kernel driver? 2020-08-11T03:05:51 #kisslinux I believe so just a standard xbox one controller arch wiki says it is supported by the kernel. And I have enabled joystick support in my kernel along with all the specific devices I need. 2020-08-11T03:12:35 #kisslinux muevoid: install xf86-input-joystick and copy https://github.com/void-linux/void-packages/blob/master/srcpkgs/xf86-input-joystick/files/50-joystick.conf to /etc/X11/xorg.conf.d/ 2020-08-11T03:14:09 #kisslinux Kk will try right now thank you for the help 2020-08-11T03:19:44 #kisslinux Still no luck but more stuff in log now 2020-08-11T03:24:40 #kisslinux It says that no module joystick however I have it packaged. I believe it is packaged correctly if you would like to check it at my repo github.com/muevoid/kiss-mue 2020-08-11T03:25:16 #kisslinux Then it says falling back to input driver libinput and says failed to create a device for /dev/input/event5 2020-08-11T03:26:19 #kisslinux can you send me full log ? 2020-08-11T03:26:50 #kisslinux Do you have any eudev rules for joysticks? Perhaps your package should be installing them? 2020-08-11T03:27:03 #kisslinux They'd end up somewhere in /etc 2020-08-11T03:27:14 #kisslinux yes I can should I upload it to pastebin or somewhere else? 2020-08-11T03:27:30 #kisslinux Ill look for them dilynm 2020-08-11T03:28:10 #kisslinux whatever 2020-08-11T03:28:17 #kisslinux I dont think so I did not see any in /etc/udev/rules.d/ 2020-08-11T03:29:11 #kisslinux I forgot about termbin. Here: https://termbin.com/qiz0 2020-08-11T03:29:39 #kisslinux If you search for Microsoft you will end up in the region where the errors are thrown 2020-08-11T03:32:23 #kisslinux muevoid: you forgot to add --prefix=/usr 2020-08-11T03:32:25 #kisslinux https://github.com/muevoid/kiss-mue/blob/master/xf86-input-joystick/build#L3 2020-08-11T03:32:52 #kisslinux your files installed to /usr/local :) 2020-08-11T03:33:32 #kisslinux My bad! I really need to read the style guide more 2020-08-11T03:34:33 #kisslinux Ok trying again now 2020-08-11T03:36:52 #kisslinux That fixed all the issues in xorg 2020-08-11T03:36:59 #kisslinux however my test applications still dont find them 2020-08-11T03:37:28 #kisslinux which applications ? 2020-08-11T03:38:29 #kisslinux I am using sdl-jstest to test to see if sdl can recognize joysticks 2020-08-11T03:39:12 #kisslinux I also cannot finding it using a simple raylib program I wrote 2020-08-11T03:39:47 #kisslinux I believe that the config may be making the joystick act like a keyboard 2020-08-11T03:43:19 #kisslinux Yes the joystick is acting like a keyboard 2020-08-11T03:43:24 #kisslinux Mouse* 2020-08-11T03:47:09 #kisslinux https://wiki.archlinux.org/index.php/Gamepad#Disable_joystick_from_controlling_mouse 2020-08-11T03:47:42 #kisslinux Thank you trying it now 2020-08-11T03:49:46 #kisslinux That disabled it controlling the mouse however applications still do not recognize the joystick 2020-08-11T03:56:51 #kisslinux you tried only sdl-jstest, right ? try sdl2-jstest 2020-08-11T03:57:03 #kisslinux Sorry I meant to say sdl2-jstest 2020-08-11T03:57:09 #kisslinux I forgot that there are two versions 2020-08-11T03:57:23 #kisslinux I also tried steam which also did not recognize it 2020-08-11T03:57:49 #kisslinux your joystick is wireless ? 2020-08-11T03:57:54 #kisslinux Wired 2020-08-11T04:00:45 #kisslinux try sdl-jstest 2020-08-11T04:00:56 #kisslinux Ok just let me compile sdl 2020-08-11T04:02:20 #kisslinux sdl-jtest does indeed work 2020-08-11T04:05:31 #kisslinux Any idea why sdl2-jtest wont work 2020-08-11T04:12:53 #kisslinux yes 2020-08-11T04:13:57 #kisslinux sdl2 supports only evdev interface while sdl1 supports joydev and evdev 2020-08-11T04:14:14 #kisslinux Since I have evdev installed is it possible to have xorg use that? 2020-08-11T04:14:52 #kisslinux try to remove 2020-08-11T04:14:53 #kisslinux xf86-input-joystick 2020-08-11T04:14:57 #kisslinux Ok 2020-08-11T04:16:54 #kisslinux Did that still didnt work should I change the Xorg config? 2020-08-11T04:19:36 #kisslinux no need 2020-08-11T04:19:44 #kisslinux add --prefix=/usr 2020-08-11T04:19:46 #kisslinux https://github.com/muevoid/kiss-mue/blob/master/xf86-input-evdev/build#L3 2020-08-11T04:20:21 #kisslinux already did just forgot to push it 2020-08-11T04:30:18 #kisslinux No luck. Tried a few different configs including the original one none of them cause sdl2-jtest to find any joysticks 2020-08-11T04:33:46 #kisslinux probably something is misconfigured in kernel 2020-08-11T04:34:14 #kisslinux Ok 2020-08-11T04:34:21 #kisslinux check CONFIG_JOYSTICK_XPAD 2020-08-11T04:35:01 #kisslinux =y 2020-08-11T04:35:28 #kisslinux CONFIG_INPUT_JOYSTICK also equals y 2020-08-11T04:44:50 #kisslinux that's odd 2020-08-11T04:45:03 #kisslinux Im convinced it is an issue with the config file 2020-08-11T04:45:16 #kisslinux Hold on let me check xorg logs again 2020-08-11T04:45:53 #kisslinux I may have found issue 2020-08-11T04:46:05 #kisslinux This line is of concern to me 2020-08-11T04:46:25 #kisslinux XINPUT: Adding extended input device "Microsoft X-Box One S pad" (type: MOUSE, id 9) 2020-08-11T04:46:30 #kisslinux wouldn't it say Joystick? 2020-08-11T05:01:16 #kisslinux muevoid: run SDL_JOYSTICK_DEVICE=/dev/input/js0 sdl2-jstest 2020-08-11T05:08:23 #kisslinux Kk 2020-08-11T05:09:09 #kisslinux Still no luck :/ 2020-08-11T05:16:00 #kisslinux Think I figured it out with a hacky solution 2020-08-11T05:16:06 #kisslinux https://forums.gentoo.org/viewtopic-t-1063566-start-0.html 2020-08-11T05:16:10 #kisslinux I found solution from here 2020-08-11T05:16:17 #kisslinux Im not sure security implications 2020-08-11T05:16:28 #kisslinux but making the event readable by me allows applications to find it 2020-08-11T05:18:17 #kisslinux Perhaps udev rule was the right way to look towards 2020-08-11T05:27:25 #kisslinux Yep got it working with a udev rule 2020-08-11T05:27:40 #kisslinux I'm going to package this with xf86-input-evdev 2020-08-11T05:30:24 #kisslinux The xorg config is not necessary at all I have found 2020-08-11T05:34:15 #kisslinux nice 2020-08-11T10:12:19 #kisslinux https://k1ss.org/news/20200811a 2020-08-11T10:13:27 #kisslinux * j`ey reads 2020-08-11T10:16:19 #kisslinux sgtm 2020-08-11T10:18:44 #kisslinux ty 2020-08-11T10:20:54 #kisslinux i was thinking if I were to fork, I'd just fork the main repo and rebase my changes, but this seems easier actually 2020-08-11T10:22:32 #kisslinux Yes 2020-08-11T10:22:43 #kisslinux You can also use KISS_HOOK to make changes to build files. 2020-08-11T10:23:20 #kisslinux I do so here for two packages: https://github.com/dylanaraps/bin/blob/master/kh#L12-L36 2020-08-11T10:23:56 #kisslinux yeah, I dont like that approach as much 2020-08-11T10:24:17 #kisslinux although I think KISS_HOOK should be for end user, not "distributors" 2020-08-11T10:24:25 #kisslinux Yes 2020-08-11T10:24:49 #kisslinux I meant from a user perspective here (though all users are kinda developers to some extent) 2020-08-11T10:25:28 #kisslinux Nothing does prevent someone from shipping a KISS_HOOK with their repository though. 2020-08-11T10:31:59 #kisslinux reading the news, 2020-08-11T10:32:06 #kisslinux > the official repositories should not be something special. 2020-08-11T10:32:19 #kisslinux I don't know if we have a difference of what "special" is, but I think the main repo should be something "special" since it defines what KISS Linux is 2020-08-11T10:33:14 #kisslinux or is it the package manager that defines kiss? 2020-08-11T10:34:09 #kisslinux by that logic dpkg et al defines Elementary 2020-08-11T10:34:31 #kisslinux or the package manager also defines Wyvertux 2020-08-11T10:34:33 #kisslinux konimex: Sure, they're still special in that they're "official". 2020-08-11T10:34:54 #kisslinux They should work just like any other repository though. 2020-08-11T10:35:49 #kisslinux maybe 'should not be treated specially' 2020-08-11T10:36:01 #kisslinux in that blog post 2020-08-11T10:36:40 #kisslinux Well.. they aren't special. They're just official. lol 2020-08-11T10:37:56 #kisslinux sorry I meant *shouldn't be treated specially 2020-08-11T10:47:44 #kisslinux I wonder if there's a way to "force" a git config to a certain repo... 2020-08-11T11:07:26 #kisslinux konimex: You also have netbsd which works with pkgsrc and I _think_ you also have to set this up first. 2020-08-11T11:13:29 #kisslinux I have heard of pkgsrc, but I am never familiar with it 2020-08-11T11:15:27 #kisslinux Isn't that open and net bsd ports thing ? 2020-08-11T11:17:01 #kisslinux iirc it comes from NetBSD but also works on Linux? 2020-08-11T11:17:13 #kisslinux This is the netbsd portssystem(package manager) which is super portable 2020-08-11T11:17:15 #kisslinux http://www.netbsd.org/docs/software/packages.html 2020-08-11T11:20:09 #kisslinux dylan: I kinda forgot, it is possible to have an empty source file (and no checksums file) for transitional/metapackages, right? 2020-08-11T11:23:35 #kisslinux Yes 2020-08-11T12:03:53 #kisslinux heya 2020-08-11T12:04:57 #kisslinux aloha! 2020-08-11T12:08:49 #kisslinux o/ 2020-08-11T12:36:32 #kisslinux hello 2020-08-11T12:36:45 #kisslinux hello 2020-08-11T12:37:12 #kisslinux quit 2020-08-11T12:37:16 #kisslinux wut 2020-08-11T12:50:19 #kisslinux ello 2020-08-11T12:50:33 #kisslinux oy 2020-08-11T12:53:53 #kisslinux o/ 2020-08-11T12:55:21 #kisslinux My news post is sitting on zero upvotes. lol 2020-08-11T12:58:08 #kisslinux 1 now 2020-08-11T12:58:50 #kisslinux Somebody wasn't a fan I guess 2020-08-11T12:59:08 #kisslinux They should leave a comment 2020-08-11T13:00:18 #kisslinux is it the same as in #showcase 2020-08-11T13:00:28 #kisslinux if so, it's cute 2020-08-11T13:00:44 #kisslinux dilynm: I pushed a package manager release which fixes your qt5 squabbles :P 2020-08-11T13:01:04 #kisslinux aosync: I mean my /r/kisslinux post, not my /r/unixporn one ;) 2020-08-11T13:06:57 #kisslinux tysm :) 2020-08-11T13:09:41 #kisslinux should probably add a preemptive FAQ section; 'why can't root access x repo' 2020-08-11T13:10:34 #kisslinux Yeah 2020-08-11T13:10:45 #kisslinux Will do 2020-08-11T13:11:45 #kisslinux Gaaahh. I knew that git change was gonna be easy 2020-08-11T13:11:59 #kisslinux I should just think harder about how to do things myself (: 2020-08-11T17:35:53 #kisslinux konimex: for procps-ng, try deleting man-po and testsuite from the SUBDIRS variable in Makefile.in, you won't need man translations or testing, and those are the Makefiles that have non-POSIX stuff in them 2020-08-11T17:36:07 #kisslinux so bmake should work if those dirs aren't used 2020-08-11T17:57:54 #kisslinux Gnumake is the only software which I like gnu extensions. Most of the time, you can replicate gnu extensions via other POSIX utils, but make is not one of them. 2020-08-11T17:59:17 #kisslinux You could go the route of using something like meson or cmake to replace upstream's build process entirely. It /might/ be easier to go this route for /some/ software. 2020-08-11T17:59:27 #kisslinux Depends on the existing build system and how convoluted it is. 2020-08-11T18:00:26 #kisslinux There's also this: https://github.com/cheusov/mk-configure 2020-08-11T18:00:33 #kisslinux > mk-configure is a lightweight replacement for GNU autotools, written in and for bmake 2020-08-11T18:02:13 #kisslinux I hate cmake, but I somewhat like meson. I always use POSIX make extensions, although I wish some gnu extensions were available on POSIX 2020-08-11T18:02:34 #kisslinux mk-configure looks nice, thanks! 2020-08-11T18:02:54 #kisslinux I love cmake 2020-08-11T18:02:59 #kisslinux meson is ok 2020-08-11T18:03:10 #kisslinux python dep :( 2020-08-11T18:03:59 #kisslinux I know 2020-08-11T18:04:07 #kisslinux :( 2020-08-11T18:04:10 #kisslinux cmake is funky too 2020-08-11T18:06:22 #kisslinux yeah it's definitely not perfect, or even great, but of the 3 I find it easiest to work with/understand 2020-08-11T18:08:18 #kisslinux Yeah 2020-08-11T18:08:34 #kisslinux I do like how it can spit out Makefiles or Ninja files 2020-08-11T18:14:48 #kisslinux From a dev perspective yeah cuz the user doesn't have to install ninja but from a user perspective I only need the ninja one lol 2020-08-11T18:14:54 #kisslinux So much faster 2020-08-11T18:26:17 #kisslinux Yup 2020-08-11T18:46:26 #kisslinux https://blog.mozilla.org/blog/2020/08/11/changing-world-changing-mozilla/ 2020-08-11T18:46:33 #kisslinux > Sadly, the changes also include a significant reduction in our workforce by approximately 250 people. 2020-08-11T18:46:41 #kisslinux Mozilla firing 250 people 2020-08-11T18:49:03 #kisslinux 25% of the total 2020-08-11T18:49:53 #kisslinux time to get chromium building on kiss 2020-08-11T18:49:59 #kisslinux Also 2020-08-11T18:50:02 #kisslinux > 2020-08-11T18:50:13 #kisslinux > Mozilla's contract with Google to include Google as the default search provider inside Firefox is set to expire later this year, and the contract has not been renewed. 2020-08-11T18:50:28 #kisslinux Where 90%~ of their revenue comes from 2020-08-11T18:51:23 #kisslinux yikes 2020-08-11T18:51:28 #kisslinux Full internal email: https://blog.mozilla.org/wp-content/uploads/2020/08/Message-to-Employees-Change-in-Difficult-Times.pdf 2020-08-11T18:52:05 #kisslinux meanwhile CEO has multimillion dollar salary 2020-08-11T18:52:11 #kisslinux Oof 2020-08-11T18:52:15 #kisslinux Guess we're doomed 2020-08-11T18:52:26 #kisslinux We can all hop to netsurf now 2020-08-11T18:53:30 #kisslinux well 2020-08-11T18:53:45 #kisslinux the more people that use netsurf, the faster development will become 2020-08-11T19:00:24 #kisslinux Ye 2020-08-11T19:00:31 #kisslinux Btw dylan exciting news 2020-08-11T19:00:58 #kisslinux 9front netsurf port is apparently pretty much usable 2020-08-11T19:02:19 #kisslinux according to the people that port it 2020-08-11T19:02:42 #kisslinux nice 2020-08-11T19:05:33 #kisslinux Do you still use netsurf? 2020-08-11T19:05:46 #kisslinux anyone else here uses netsurf btw? 2020-08-11T19:07:07 #kisslinux I sometimes take it for a spin 2020-08-11T19:15:43 #kisslinux shfm does not show contents of a directory if it starts with a dash ('-h' or '--something'). 2020-08-11T19:16:13 #kisslinux Thanks 2020-08-11T19:16:19 #kisslinux Will fix 2020-08-11T19:19:52 #kisslinux Fixed 2020-08-11T19:19:55 #kisslinux Try latest master :) 2020-08-11T19:35:42 #kisslinux Works. Thank you. 2020-08-11T19:41:02 #kisslinux :) 2020-08-11T19:43:35 #kisslinux I don't really use file managers, but shfm's code is really amazing 2020-08-11T19:43:56 #kisslinux I never thought you could really provide such an interface in sh 2020-08-11T19:44:21 #kisslinux You can do anything in sh smh 2020-08-11T19:45:05 #kisslinux Next thing should be converting bed to POSIX :D 2020-08-11T19:45:10 #kisslinux scrolling is the most painful part 2020-08-11T19:45:26 #kisslinux keeping cursor position when going up the tree is hard also 2020-08-11T19:45:33 #kisslinux That would be really amazing, a shell editor 2020-08-11T19:45:48 #kisslinux you cannot reliably grab the current cursor position in sh 2020-08-11T19:45:57 #kisslinux so I have to track it myself 2020-08-11T19:46:03 #kisslinux ie, log each movement 2020-08-11T19:47:55 #kisslinux I have took some of your code on shfm to create a terminal presentation tool which I am currently working on 2020-08-11T20:00:45 #kisslinux nice 2020-08-11T20:21:32 #kisslinux mozilla fired the servo team: https://twitter.com/SimonSapin/status/1293231187167784960 2020-08-11T20:27:10 #kisslinux rip to a better future firefox 2020-08-11T21:10:18 #kisslinux to be fair, if servo were to be a future for firefox i assume they would care more about getting the layout right than hololens vr whatevers they were doing lately 2020-08-11T21:10:46 #kisslinux still a sad announcement, hope they can find something to work on that is not googlium 2020-08-11T22:39:40 #kisslinux That whole thing has got to be mighty stressful