Skip to content

u/thevoidzero

In this archive from Feb 2020 to Jun 2023

3
posts
99
comments
1
media
283
score
1 saved before deletion

If you want to learn or have fun, start building things your way. But if you want functionality search for the program, most of the time someone has written it.

Sharing it is also a way to find out if there's another program like it though. So it's working.

Although it's hard to find something that could be used for something other than their intended purpose.

2 points

This is nice. I knew the change detection triggering commands must be a well needed feature yet didn't find a good one for my own usages.

I've made a CLI tool if anyone is interested. I use it for temporary watch though, like while editing text files that needs compilation or something. But could use for OP's use case, like converting any downloaded .docx to pdf.

2 points

A script that monitors ~/Downloads and converts every .docx to .pdf

Can you explain a bit about this script? From what I know, a daemon that watches the file change (new file) in ~/Downloads should be better and instantaneous than crontab job that runs every minute.

1 points

I commented on that pull request, no response. I asked the support when I made the initial ticket about the mic and that's how I got the pull request link, when asked about upstream they (support person) said it'll be done but no idea when. Maybe you can also ask, more people using arch might make them push for it.

1 points

Yeah, good to confirm it. I've tried to see if someone can merge that upstream but I didn't get any response from the authors. The patch is small enough.

Ohh, it looked like a fingerprint sensor but I didn't get anything detected even in pop live boot so I kinda didn't look far enough. Would be nice if it worked though.

1 points

Speakers work out of the box. Audio includes the mic and it doesn't work. Did you try using the mic? From the pull request I linked somewhere in here, it's not in the arch kernel yet.

Also, about the fingerprint sensor in the wiki, does this model have a fingerprint sensor? Coz the specs on the system76 website don't say it has, and when I installed the program (forgot which) it didn't detect anything.

2 points

Yes.

This is what the support people told me when I asked if/when they plan on sending it upstream.

It should be on it's way to upstream though I don't have an ETA for when it would be available at this time.

And my question on that pull request about sending it upstream hasn't been replied by the developers from PopOS side.

I don't know if I should email them, as they should have got one from the pull request comment already. I can try if it's ignored for around a month or so.

1 points

Yeah, it's not there.

https://github.com/torvalds/linux/commit/ca93ccf5202ac89533dfcb60030c483f88272b52

https://github.com/torvalds/linux/commit/8a3298c299d93346e14851e3b66f2e36ab6f6cfa

I did this, and github says it's not in the repo. I think I did the same with archlinux/linux and it says the same.

Building kernel would take hours of compilation, and then I'd have to mess up with other settings and such and I'm not from CS and not that knowledgeable about Operating Systems level stuff so I don't want to mess it up.

And as I said before, I'm completely fine with leaving this to the experts and waiting till it's merged. But just wondering if there is a way I can send a message/pull request somewhere that people who manage those stuffs will take it into account. I'm only used github/gitlab etc and the kernel stuff seem to work on completely different system of contribution or something.

1 points

Where do I reach out to them? The support thing on archlinux discord seems to be totally ignored except for basic stuff. And there wasn't any channels for kernel related or advanced OS stuffs.

And I don't see anyone making pull request to linux kernel in github. Archlinux kernel says mirror in github, but the link in description redirects to the github itself.

1 points

You can check your sysfs files for brightness max. They are on /sys/class/backlight/<device>/ path. You can see the current brightness max_brightness and other things there. I also have had to write my own programs to change brightness as xbacklight didn't detect anything in mine so I just use the max_brightness to calculate based on percentage and change it.

4 points

I've had a similar situation once, does the program you run an executable or bash script? In my case it was a bash script that tried to find the path and other things (like path of java shipped with the program) first, so when I sum linked it, it didn't work. The workaround I found was to modify the script file to check if it ran from a symlink, and in that case get the resolved path to executable from the symlink path. And use that path to find other stuffs.

1 points

I said the same thing and last time someone said if we do that someone could send malicious packages by some methods or something if new signature and packages signed by that come at the same time.

I'm not technically knowledgeable about this, so I don't know how or if that's possible. But considering how common this error is for people not updating often, still not having a fix seems like there is a reason.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.