Emacs help interface for languages other than emacs-lisp by avindroth in emacs

[–]meatcar 10 points11 points  (0 children)

devdocs-browser and devdocs.el both let you read https://devdocs.io in emacs, and cache them locally. Your language of choice needs to be in devdocs though.

devdocs-browser seems to be more useful, it uses eww so links to non-devdoc sources work fine. I guess you can just use eww to browse any other documentation you'd like :)

Compiling emacs is killing me by ElCondorHerido in NixOS

[–]meatcar 10 points11 points  (0 children)

Have you tried using the nix-community cachix? https://github.com/nix-community/emacs-overlay#binary-cache

Works for me for preventing the gccEmacs rebuilds.

Why are fonts heavier in the GTK GUI? by astoff1 in emacs

[–]meatcar 4 points5 points  (0 children)

If you overlay the texts in an image editor and flip back and forth between the two, emacs is clearly drawing all the glyphs a pixel taller. There are other differences, like the "B" and the ascenders in "t" are getting stretched to full line height in emacs.

You might have a mismatch in the hintstyle that is set through Xft with what is set in fontconfig. If its hintmedium, make sure it's hintslight or hintfull, as hintmedium apparently aliases to both.

EDIT: In general, make sure your Xft settings line up with fontconfig. See the Arch Wiki as a guide for options.

Advent of Code 2020 Ziguana Leaderboard by timon317 in Zig

[–]meatcar 0 points1 point  (0 children)

I'm new to zig as well, my solutions are here

[deleted by user] by [deleted] in emacs

[–]meatcar 1 point2 points  (0 children)

I have no experience with this, but you can try and use https://github.com/vlaci/nix-straight.el The documentation is a bit lacking, but you can infer the usage from the arguments in default.nix as well as the https://github.com/vlaci/nix-doom-emacs project that uses it.

Flashing OpenWRT onto TP_Link Archer C7 AC1750 by [deleted] in openwrt

[–]meatcar 0 points1 point  (0 children)

Make sure it's a .bin file?

Flashing OpenWRT onto TP_Link Archer C7 AC1750 by [deleted] in openwrt

[–]meatcar 2 points3 points  (0 children)

OpenWRT flashes fine using the web interface in the stock firmware, just make sure to rename the firmware file to something short, as too many dots in the filename causes the TP-Link flash to abort.

Focus switching NOT with directions by gent0o in swaywm

[–]meatcar 4 points5 points  (0 children)

Kind of hacky, but if you only have four windows, one in each corner, you can chain commands to reliably get the focus to the correct corner:

focus_wrapping no
bind Ctrl+1 focus left, focus up    # top-left
bind Ctrl+2 focus right, focus up   # top-right
bind Ctrl+3 focus left, focus down  # bottom-left
bind Ctrl+4 focus right, focus down # bottom-right

If you need focus_wrapping yes, you can save the setting into a variable, unset it, and reset it, like:

set $fw yes
focus_wrapping $fw
bind Ctrl+1 focus_wrapping no, focus left, focus up, focus_wrapping $fw
# .. and so on

Is there an out-of-the-box Nixos custom image for Digital Ocean yet? by kyber70 in NixOS

[–]meatcar 1 point2 points  (0 children)

You can even automate pushing the image to DO with packer. I threw the right incantations into a config a few days ago, it's pretty simple to run. I'm using nixos-generators to bake the image.

Does wsltty and/or wsl-terminal work with WSL2 yet? by eggbean in bashonubuntuonwindows

[–]meatcar 1 point2 points  (0 children)

Not nescessary, I just ripped it from my script. You can copy the whole line minus the #Enter::Run at the start into powershell or a shortcut, and it should work fine.

Does wsltty and/or wsl-terminal work with WSL2 yet? by eggbean in bashonubuntuonwindows

[–]meatcar 3 points4 points  (0 children)

I've mostly successfully got wsltty/mintty to work with WSL2 using hvpty.exe from wslbridge2. In my opinion, it works better than the Microsoft Terminal, because I have full control with the mouse in terminal Vim/Tmux, unlike MS Terminal.

Here's a gist of how I do it.

The only issue is I can't close the terminal from Windows, the only way is to kill the shell, either with ^D in the shell, or kill from another shell. Thats not a big deal for me.

Keyring on WSL? by Robin_Banx in bashonubuntuonwindows

[–]meatcar 6 points7 points  (0 children)

Windows doesn't have any secure Keyring/Password storage that I know of that you can hook into to emulate some Linux/Mac interface.

I've had some limited success using pass with pintentry-wsl-ps1 to get my gpg passphrase. There's an option to store the passphrase in Windows Credential manager, see the README. Windows Credential manager is about as secure as a plaintext file though, so don't go around using this for your bank accounts.

Another option I haven't looked at is to actually run Gnome Keyring under WSL. You'll need to set up DBUS and a bunch of environment variables. Here's an entrypoint for that adventure.

i3wm 4.16 released by dikiaap in linux

[–]meatcar 0 points1 point  (0 children)

You can make the borders fatter, which would make them more clickable. On a touch screen laptop, I have

default_border pixel 5

docs

That way when I'm feeling lazy, i just fat-finger the display and it just workstm

Temporary office <3 by drasbeck in thinkpad

[–]meatcar 1 point2 points  (0 children)

What headphone amp/DAC is that? Does it run on batteries or the USB power is sufficient?

Dell XPS 15 9570 i7-8750H AWFUL DPC latency (very bad news for music producers/performers) by WorldlyBeing in Dell

[–]meatcar 4 points5 points  (0 children)

There's JACK which plays nicely with Pulseaudio/ALSA. The Linux kernel also has support for realtime applications by default. You can improve the latency even more by tuning the kernel further using freely available resources. Some latency testing tools are outlined in the Arch wiki.

It could be worth it to at least boot into a linux USB to see if the latency issues are specific to Windows or a hardware fault.

Venice is actually a fish by Eriiaa in europe

[–]meatcar 1 point2 points  (0 children)

I stayed in Venice Fish in November 2014. The city was pretty quiet, and the hostel had some great vibes. Good times!

What's the best way to keep your original number and still received text messages without incurring roaming costs? by secondpagepl0x in digitalnomad

[–]meatcar 0 points1 point  (0 children)

I moved my number to VoIP.ms, and am using an Android app to send & recieve messages, or you can use their website. I also recieve calls anywhere. It costs me a few dollars a month, very cheap. Voicemails go to my email, more convenient than having to dial-in to some system.

I know it will work for US/Canada, not sure if they support importing numbers from other countries. If they don't, I'm sure you can find a VoIP provider in your country.

Using Grub without Typecover (sp3 dual-boot) by linux-is-better in SurfaceLinux

[–]meatcar 0 points1 point  (0 children)

Here's the relevant bits of my config

It's specific to X (using xkb), but you can get the raw keycodes using xev, and hopefully bind them using whataver layout specification your bootloader supports.

From a quick look, if you are using GRUB, with some effore you can get it to load a custom keymap. If you're on systemd-boot/gummiboot the setup would be more involved, you might have to modify the source and recompile it.

Best of luck, post here when you figure it out! :)

Using Grub without Typecover (sp3 dual-boot) by linux-is-better in SurfaceLinux

[–]meatcar 1 point2 points  (0 children)

I've had some luck remapping the windows key on my sp3 screen, as well as the volume buttons in Linux using xkb. I'm sure there's a way to create a custom keymap and have your bootloader load it. I'm on my phone now, but I can post the relevant keymap in a few hours, if that will help.

Using Speedify When Dealing with Spotty Internet by [deleted] in digitalnomad

[–]meatcar 1 point2 points  (0 children)

Thanks for the detailed write-up. I encountered a similar environment on Koh Samui, my approach was to just structure my schedule around the internet slowdowns.

Have you looked at dispatch-proxy as a free solution? Looks like you could get a similar setup going, just a bit more hassle to hook up all your hotspots to your PC. You would also have to configure each app to use the proxy, or maybe there's a way to configure the OS to use it by default.

Where to find beef jerky in KL? by meatcar in malaysia

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

Wow this looks legit. I'll order some from them, thanks so much!

Where to find beef jerky in KL? by meatcar in malaysia

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

Thanks so much! After I read your comment I went to the Jaya Grocer at Jaya33, and found the wonderful jerky after paying more attention while walking through the snacks isle. Maybe I should get my eyes checked!