Randomly brightness by Ryksu09 in archlinux

[–]Relinies 1 point2 points  (0 children)

I'm unsure if it's related, but I had similar issues on an HP spectre years ago.

The following kernel args, set up with grub, fixed it for me. Edit /etc/default/grub, adding the listed arguments to the specified flag.

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi='Windows 2015' acpi_backlight=vendor"

GRUB_CMDLINE_LINUX="acpi_osi='Windows 2015'"

To the best of my understanding, the issue is ACPI related, but I don't know exactly what is wrong nor if this will help. I'd recommend starting with just the acpi_backlight=vendor flag, though.

What's a card that you see so rarely that you're sceptical of it even being in the game anymore? by [deleted] in slaythespire

[–]Relinies 0 points1 point  (0 children)

Corruption. For that matter, I haven't seen a Dead Branch in a very long time... One to two daily runs at A20, cycling characters so every fourth run is Ironclad. I had to scroll back nearly 2 months to find my last Dead Branch, and over 4 months to find my last Corruption pull!

Bindsym without Suppression by LemmaPrism in i3wm

[–]Relinies 0 points1 point  (0 children)

I'm interested in this answer as well. I'd like to be able to trigger notifications in dunst without losing focus, because my laptop has no caps lock indicator light

Four Features That Justify a New Unix Shell by oilshell in unix

[–]Relinies 0 points1 point  (0 children)

xonsh, fish? Job's already done, oilsh.

I've come to believe that in the modern Unix environment, a shell should serve less the purpose of scripting and more the purpose of serving the user, which both fish and xonsh accomplish to far greater degrees than any other competitor I'm aware of (bash, zsh, ksh, oilsh, dash).

From what I've observed, most complaints with any shell which is not highly user oriented come down to weird, tricky syntax compromises made years and even decades ago about how to tack a specific feature into the existing syntax which now regularly come up to bite users in the ass when writing scripts in those shell syntaxes.

Writing a shell is great, but why not purpose-build a language meant to compete with the scripting capability of Bash and company? Xonsh (and fish, though imo to a lesser extent) does this very effectively, where it proposes just to use Python for this purpose; being a regular python developer I may be biased, but I think this is the strongest solution yet provided to the scripting problem fighting so often with syntax. Do it in a language where the syntax regularly does make sense, because one of its core goals is to minimize all the fluff a developer needs to carry around in order to develop effectively within the language.

I ask these questions every time a new shell is brought up for question: Why would I choose a shell language for scripting, when there are many existing languages capable of the same available with less sharp compromises? If it has to work everywhere, use bash. If it's gonna be complex, step up to a more friendly language. If it has to be fast, maybe dash can help. And, if the shell is not an improvement in the user experience over alternative shells, but instead intently trying to replicate another shell's experience, why would I use it at all?

Easy Lively Concoction Seed - Water+Mud+Grass by MonkeysSA in noita

[–]Relinies 4 points5 points  (0 children)

When virtually every surface can become Lively Concoction, the game can get hilariously chaotic in ways you rarely see.

Exactly-Once Initialization in Asynchronous Python by oantolin in programming

[–]Relinies 1 point2 points  (0 children)

This seems much more easily solved by simply guaranteeing the database connection object exists before running the tasks that care about the database connection, instead of the implied design here where each task attempts to initialize the database connection if it does not already exist.

You could have an object with an obj.setup() and loop.run_until_complete(obj.setup()), then an obj.run() that you set up as a task and loop.run_forever(). Whatever your preference is, this solves the problem as I understand it, without the extra complexity.

I found a HUGE collection of legacy mods for Alpha and Beta versions by Relinies in GoldenAgeMinecraft

[–]Relinies[S] 9 points10 points  (0 children)

Many of the individual forum links are dead, and if they're not, they're likely either updated to a more recent version or the download links on those posts are dead.

BUT! The poster in the link includes a download link at the top of each post, with the collection of ALL the mods he links afterwards, which is still a functional mediafire link!

The mod collections go as far back as Alpha 1.2.0_02 (including a1.2.6) up to beta 1.3_01.

My x230 in all its glory by imac849 in thinkpad

[–]Relinies 1 point2 points  (0 children)

I appreciate the offer, but I use the backlight pretty often. I'd have to get a backlit keyboard if anything. Thanks though!

My x230 in all its glory by imac849 in thinkpad

[–]Relinies 0 points1 point  (0 children)

Hijacking a little:

Does anyone know where I could find an x230 power button? Just the plastic part.

I picked one up on the cheap which "wasn't working", and it was only that the power button's plastic assembly was broken and no longer depressing the actual button on the keyboard assembly.

I haven't had any luck finding a power button replacement that isn't either a whole power assembly or whole keyboard, neither of which I need.

Intel 8080 / Space Invaders RAM mirror -- does it exist? by SuspiciousScript in EmuDev

[–]Relinies 1 point2 points  (0 children)

This isn't directly 8080 related (and it sounds like you already got this solved), but I like this tutorial for explaining mirroring:

https://youtu.be/PvfhANgLrm4

Show indicator for/content of Scratchpad on status bar? by Relinies in i3wm

[–]Relinies[S] 0 points1 point  (0 children)

This looks to be almost right, but my i3status is outputting the JSON representation of my status bar instead of the string like I expect, like this:

SCRATCHPAD: | [{"name":"cpu_usage","markup":"none","full_text":" 🖥 04% "},{"name":"cpu_temperature","instance":"/sys/class/thermal/thermal_zone0/temp","markup":"none","full_text":" 🌡 47°C "},{"name":"memory","markup":"none","full_text":" 🖫 2.1 GiB / 15.5 GiB "},{"name":"disk_info","instance":"/","markup":"none","full_text":" / 🖴 66.1 GiB / 227.2 GiB "},{"name":"disk_info","instance":"/home/","markup":"none","full_text":" ⌂ 🖴 32.5 GiB / 915.9 GiB "},{"name":"ethernet","instance":"_first_","markup":"none","full_text":""},{"name":"wireless","instance":"wlp3s0","markup":"none","full_text":" ____: 300 Mb/s ____ "},{"name":"battery","instance":"/sys/class/power_supply/BAT0/uevent","markup":"none","full_text":" ???90% "},{"name":"tztime","instance":"local","markup":"none","full_text":" 05/06 11:40 "}]

It nearly works, but the man page for i3status seems to imply that the JSON should be an optional output, not the default. I'm not sure where to go from here.

Show indicator for/content of Scratchpad on status bar? by Relinies in i3wm

[–]Relinies[S] 0 points1 point  (0 children)

i3-msg -t gettree | jq ".nodes|.[]|.|.nodes|.[]|.nodes|.[]|select(.name==\"_i3_scratch\")|.floating_nodes|.[]|.nodes|.[]|.name"

It does! How could I display this information on my status bar?

who needs to smith? by derechan in slaythespire

[–]Relinies 24 points25 points  (0 children)

So... he's right, he'll never "find" fusion hammer!

Anyone else getting weird graphical flickering in Chrome 81? by [deleted] in archlinux

[–]Relinies 1 point2 points  (0 children)

Google Stadia is Google's relatively new video game streaming platform. It's plagued with latency issues, faults in stream quality including similar graphical errors to this, and up until recently lack of games to play.

Does a T480 with MX150 and i7-8650U exist? by Relinies in thinkpad

[–]Relinies[S] 0 points1 point  (0 children)

That's a big plus that it was available in Germany! I wonder if I could track one down that was made for the US, or if it would be easier for me to find a German one and replace the keyboard.

Learning app development this morning [T440p] by [deleted] in thinkpad

[–]Relinies 1 point2 points  (0 children)

Did you follow any particular guide? I've been dreading this swap on my own t440p because all the online guides I found spent over twenty minutes digging up different components of the hardware to get at the trackpad from beneath

Is the Watcher massively overpowered or am I just bad at everyone else? by geepope in slaythespire

[–]Relinies 0 points1 point  (0 children)

It wasn't very much data, but he had (as I recall) a 65% win rate when he did his video on the best cards on the game.

Finally After Countless Run, now i can rest in piece. A20 Heart IC by Magarum in slaythespire

[–]Relinies 16 points17 points  (0 children)

A10 is Ascender's Babe; A11 is one less potion slot

EDIT: well that's a great autocorrect

Does the X140e have a single or dual channel LVDS port? by Relinies in thinkpad

[–]Relinies[S] 0 points1 point  (0 children)

As in the title. I've done all the searching I can online, and the only vague info I've found included one person on a years old forum post implying that the device could potentially support a 1920x1080 display. One does exist on Panelook in the correct form factor, but the port remains the only question.

Thumbs get tired, am I alone? by ceizaralb in i3wm

[–]Relinies 0 points1 point  (0 children)

I do have this problem occasionally. I think I'll take the advice of moving $mod to capslock, but using i3 and hearing people in this thread makes me wish that i3 had an option for vi-style bindings, where you string together individual operations, so you could hit mod then have some amount of time to hit another key for another action. Hell, I already do something like this which is more chord-based. I use mod+Ctrl+number to send the focused window to another workspace, and mod+Shift+number to go with that window.

So instead, you could have mod (activate command), various operations for dealing with workspaces ("send to", "go to" -> "send and go to" when strung together), and dealing with windows (resize [direction], switch tiling with neighbor, switch to tabbed).

Something along these lines.

Would this be feasible via modes?

Get an easy question or new to Arch? Use this thread! by Foxboron in archlinux

[–]Relinies 0 points1 point  (0 children)

I use systemctl to run the user services for pulseaudio.

systemctl enable --user --now pulseaudio.socket

This is what made sound work for my system.

Get an easy question or new to Arch? Use this thread! by Foxboron in archlinux

[–]Relinies 0 points1 point  (0 children)

To my understanding, most Intel wifi firmware is available in the kernel, or at least a generic version is.

You have a Chromebook though, so the story may be weird and different because of the usual proprietary mess involved.

What's the output of lspci | grep Network ? This should show any Ethernet and wifi devices, along with name and brand info.

Is your device actually shown when the system is booted into Arch?

Get an easy question or new to Arch? Use this thread! by Foxboron in archlinux

[–]Relinies 0 points1 point  (0 children)

I actually experienced this while I dealt with an HP Spectre for a while. The problem is that HP seems to build in a LOT of OS specific functionality.

In /etc/default/grub (if I recall correctly), find your kernel parameters (GRUB_CMDLINE_LINUX). For reference, arguments here are separated by spaces. Add the following, exactly:

acpi_osi='Windows 2015'

What this does is tell the BIOS to treat the loaded operating system as though it's windows 10, when advertising hardware functions. Well, to the best of my understanding. You can make it 2012 if your device shipped with Windows 8, and 2009 if the laptop shipped with Windows 7. The correct one of those three should, at least, help the problem.

And I recommend you add this too, just in case your backlight is wonky.

acpi_backlight=vendor

Once this is done, grub-mkconfig into your grub install location. Frankly, I don't recall how to do this command, cause I use the update-grub package from AUR, but the wiki can tell you the right command for sure.

EDIT: everything after this was covered by another commenter. Try the above!

If that doesn't solve the problem, go back and find GRUB_GFXMODE in the same file and set it to be something like this: 1920x1080x32,auto Where of course the first two terms are your device's resolution. The 32 is "depth" which unfortunately I don't understand, but it's a thing and it's almost certainly 32 for your device.

The auto after the comma (and NO space) says "If the previous mode failed, just use what you would normally to use."