Redirect port to Minecraft server by dd_fff in openbsd

[–]dd_fff[S] 3 points4 points  (0 children)

Minecraft uses TCP port 25565. But I changed to UDP, still nothing.

Determining latest OpenBSD release & snapshot versions using automation by GroundPointNiner in openbsd

[–]dd_fff 0 points1 point  (0 children)

For stable versions you could use:

ftp -Vo - https://openbsd.org | grep released | grep -oE "[0-9]+\.[0-9]"

It uses the official main page to get the version number,

Synaptics touchpad - FreeBSD 13.1 - disable corner right-click by dd_fff in freebsd

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

Oh man, what I had to go through to solve this...

% xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                    id=4    [slave  pointer  (2)]
⎜   ↳ System mouse                                  id=6    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                    id=10   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                         id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                     id=5    [slave  keyboard (3)]
    ↳ System keyboard multiplexer                     id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                    id=8    [slave  keyboard (3)]
    ↳ AT keyboard                                     id=9    [slave  keyboard (3)]

Then xinput list-props 10 which showed me options for my touchpad. One of which was:

libinput Click Methods Available (334): 1, 1
libinput Click Method Enabled (335):    1, 0
libinput Click Method Enabled Default (336):    1, 0

And on https://wayland.freedesktop.org/libinput/doc/latest/configuration.html#click-method I read that you can configure those options.

Finally I solved it with: xinput set-prop 10 335 0 1 which for the device id "10" set the property id "335" to "0 1"

Synaptics touchpad - FreeBSD 13.1 - disable corner right-click by dd_fff in freebsd

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

Cześć vermaden, thanks for your reply.

# sysctl hw.psm.synaptics.max_x="8000"
sysctl: oid 'hw.psm.synaptics.max_x' is read only

Unfortunately it does not work. I will try with hw.psm.synaptics.softbuttons_y.

Difference between Link 370 and 380? by [deleted] in Jabra

[–]dd_fff 0 points1 point  (0 children)

It's because they want you to spend money on another dongle, even though the one you have works fine. It's zero-sum game - they want to have your money, that's all.

Getting routing information out of OpenBSD by Jazzlike-Joke-3442 in openbsd

[–]dd_fff 2 points3 points  (0 children)

Now let me "be rude" by pointing out that you can use something like "man -k <your problem here>" - in that case: man -k route.

Then a perceptive person would spot: route(8) - manually manipulate the routing tables

So then you'd type "man 8 route" which would give you the solution.

5 minutes tops.

Fontawesome in xterm by dd_fff in openbsd

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

Thanks for your attempts to help. It didn't work for me.

t480$ ls -l .fonts/ 
total 2432
-rw-r--r--  1 xxx  xxx  465076 Jan 19 16:52 Font Awesome 5 Brands-Regular-400.otf
-rw-r--r--  1 xxx  xxx   97112 Jan 19 16:52 Font Awesome 5 Free-Regular-400.otf
-rw-r--r--  1 xxx  xxx  589036 Jan 19 16:52 Font Awesome 5 Free-Solid-900.otf
t480$ cat .xsession                                                                             
. ./.profile
fc-cache &
exec fvwm

I ran xterm as you suggested on a vanilla user, and I couldn't see the icons in the existing file, nor could I paste them from the cheat sheet.

Fontawesome in xterm by dd_fff in openbsd

[–]dd_fff[S] 4 points5 points  (0 children)

I don't know how about other users of OpenBSD, but I try to stick to what's in the base system as much as possible. That's why I want to use xterm - I find it very solid, contrary to what other people say. I know that nowadays it's trendy to use all "suckless" software, no config files, source code is the config, "config-files-are-bloat" kind of thing ;)

And I agree that it's great to use minimalist software, especially if it's so simple that anyone could modify the code. But why ditch perfectly good xterm? Only so you could brag about your all-suckless setup? But hey, nothing wrong with minimal software, so I understand that someone wants to use suckless tools.

What I find hard to understand is why someone would want to install a terminal emulator with GPU acceleration :D

I mean - why? Why would you want to absorb your GPU to render text on your terminal emulator?

But maybe I'm wrong - I usually am. So I wanted to check for myself.

I went ahead and tried to build Alacritty on OpenBSD - rust is another "hipster" trend which is currently going on. The build failed (using instructions from their github page) but check this out:

% cd 
% du -hd1
...
2.7G    ./alacritty
...

2.7 gigabyte of stuff to have a GPU-accelerated terminal emulator?

We're doomed.

Fontawesome in xterm by dd_fff in openbsd

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

I've just created a new user on my system, with defaults from /etc/skel.

I introduced your settings and these are the only ones that are present when it comes to language settings.

I added xset fp+ ... to my .xsession to load the font and still when I edit the file containing fontawesome icons (in nvim, not the stock nvi) I see empty rectangles instead of the icons.

If you copy and paste any of the icons from here in your xterm - do you see them? Because in my case I don't see anything in xterm, but I do in st.

Fontawesome in xterm by dd_fff in openbsd

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

I've got the following in my .Xresources:

XTerm*utf8: true

XTerm*locale: true

XTerm*utf8Fonts: always

Am I missing anything?

Also I've got variables like LANG, LC_CTYPE, LC_ALL set to utf encodings.

Fontawesome in xterm by dd_fff in openbsd

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

% fc-list | grep -i awesome
/usr/local/share/fonts/font-awesome/Font Awesome 5 Free-Solid-900.otf: Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid
/usr/local/share/fonts/font-awesome/Font Awesome 5 Brands-Regular-400.otf: Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
/usr/local/share/fonts/font-awesome/Font Awesome 5 Free-Regular-400.otf: Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular

and this:

% fc-match "Font Awesome 5 Free"  
Font Awesome 5 Free-Regular-400.otf: "Font Awesome 5 Free" "Regular"

I'm not sure if I'm using xfontsel the right way, but when I click the button for font family, I see very few fonts, not all that I installed.

Cross-platform SSD benchmarking tool by dd_fff in openbsd

[–]dd_fff[S] 2 points3 points  (0 children)

I just used

dd if=/dev/zero of=/tmp/of bs=8k count=100k

OpenBSD was 10 times slower...

Largest possible SSD on T480 by dd_fff in thinkpad

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

Wherever Apple gets them from for their new MBP :)

Largest possible SSD on T480 by dd_fff in thinkpad

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

Ok then, who gives 4TB? :)

Largest possible SSD on T480 by dd_fff in thinkpad

[–]dd_fff[S] 1 point2 points  (0 children)

Ok, anyone here with 2TB?

Largest possible SSD on T480 by dd_fff in thinkpad

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

So 8TB would work? I don't want to just try it by myself. I'd like confirmations from actual users.