RL_Dane,
@RL_Dane@fosstodon.org avatar

Ok guys...

  1. I'm back $HOME, so @charadon can stop giving me the hairy eyeball ;)

  2. Yep, the Valley of Hinnom is unseasonably frosty right about now, @fedops ;)

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot foot

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

If you want some extra credit, point me in the direction of getting my wacom digitizer (built into this "tablet") working in Sway.
It works out of the box in X11 on Debian.
libinput doesn't see it at all
~ $ libinput |grep -ie wacom -e digitiz -e tablet
~ $

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Hmmmmmm well this isn't something I've done but I'll look around.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Also...

~ $ libwacom-list-local-devices
Failed to find any devices known to libwacom.
~ $ libwacom-show-stylus
Unable to find a tablet device.

Weird. Maybe there's just no equivalent to xinput-wacom in Sway yet. :/

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I'm seeing that a lot of people do have wacom devices working out of the box, but that OpenTabletDriver is better than the default: https://github.com/OpenTabletDriver/OpenTabletDriver

I haven't looked through all of it but perhaps this issue'll have hints too? https://github.com/swaywm/sway/issues/4617

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Checking man sway-input might also have something? Not sure.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Tried that. It's not critical, just a nice-to-have. ;)

~ $ swaymsg -t get_inputs |grep -ie wacom -e digit -e tablet
~ $

(I did check each item listed manually, as well. Nothing close to a tablet)

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Hmm very strange.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

I saw that issue, but haven't found any actionable steps yet. I'll look at it some more tomorrow.

I think OpenTablet is meant for separate digitizers, rather than digitizers built-in to the screen, but I'm not sure.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Interesting.

I had a built-in touch screen back on my previous laptop but I'm sorry there's nothing you can say to persuade me to try and turn that piece of junk on to help figure this out.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Ha, no worries ;)

It's not a bad touchscreen, but the knockoff fleabay special digitizer pen is abysmal. I think it only has a single antenna, so it's completely ignorant of angle -- which makes it incredibly inaccurate unless you're looking straight down at the screen and holding the pen perpendicular to it. There's also a LARGE gap between the screen and front plastic.
State of the art for 2010. ;)

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Aye, I put my foot down. ;)

Very usable, simple enough config file.

The default color scheme was a total eyebleed (yay, washed-out pastels), but easily replaced with proper 000000, ff0000, 00ff00, 0000ff, ffff00, 00ffff, ff00ff colors. :P
(also s/f/d/g for darker colors)

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
There's also a ton of color schemes in the repo you can copy/paste:

https://codeberg.org/dnkl/foot/src/branch/master/themes

Some of my most-used features are the ctrl+shift+n to open a new terminal in the same working directory (takes a little setup in your rc file) and ctrl+shift+u to do a qutebrowser-style highlighting of links to open.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Duly noted, all of the above! :D

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
(side note: one of my favorite "features" is that it's hosted on Codeberg)

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

PREACH!!! haha ;)

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

oof, Debian testing is still on Sway 1.7

Oh . :'(

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
~] sway --version
sway version 1.7

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
https://search.nixos.org/packages?channel=22.11&from=0&size=50&sort=relevance&type=packages&query=sway

NixOS 22.11 has sway 1.7. I could load that package from unstable to get 1.8.1, though.

You know, now that I think about it, I feel like 1.8 had a bunch of touchscreen-focused features?

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Man, 1.7 dates back to January 2022 :facepalm:

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Lots of packages I use have fast development but slow release cycles, for some reason. qutebrowser is very active on the qt6 branch, but the latest official release was in March, and the last release with actual features was April 2022.

Beets has tons of awesome new features coming "soon" and is actively developed but the last release was November 2021.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
gonic's last release was December 2022, but the most recent commit was 19 hours ago.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Then there's immich which seems to have weekly releases, each one having features which would take me months if not years to code. XD

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

One thing that feels very odd to me:
Not having a display manager.

It suddenly feels very 1997 to me ;)

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I technically have one.

…greetd.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

I installed it, but debian doesn't provide any of the actual greeters that it requires, so having it is kinda useless.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Ahh. XD

It doesn't even have agreety? That's what I use, and I thought it's normally packaged with greetd.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

My goof. Yes, it does have agreety.

But agreety doesn't really do anything different from agetty?!
It just drops me into bash.
Am I supposed to put something in my .bashrc to launch sway?
In that case, what's the point of agreety?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
There should be some sort of configuration option to specify what command gets launched? In NixOS it's like this:

services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${pkgs.greetd.greetd}/bin/agreety --cmd sway";
user = "root";
};
default_session = initial_session;
};
};

benjaminhollon,
@benjaminhollon@fosstodon.org avatar
RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Ah. For some silly reason, the default in Debian is '--cmd /bin/sh'
Duh.

Now I'm trying to figure out why the default sway background is showing up when it first comes up, even though exec swaybg -i ... is the very last line in my config.

If I hit $mod+shift+c to reload Sway, my background comes up fine. It's weird.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Interesting approach to use swaybg. I use

output * bg "~/pictures/desktop-backgrounds/solar-system.jpg" fill

which seems to be the built-in approach for backgrounds? I could be wrong.

I wonder if it's some sort of env variable thing? Not sure why it would be.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Yeah, background|bg is the standard way to add a background, according to man sway-output.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Yep, you're right. I saw that the /etc/sway/config file had output * bg ..., so I used that syntax in my own config.

Now I'm trying to figure out how to set the default terminal so that .desktop files that have Terminal=true work.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I assume it's something to do with rofi-sensible-terminal if you're using rofi (rofi-wayland in my case).

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
No idea, though, where the setting gets made.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Hmm actually I have "export TERMINAL=foot" in my nixos config. Perhaps try setting that somewhere? In my config it's system-wide… .bash_profile or the equivalent in your shell might work.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

In Debian, I think most launchers look up /etc/alternatives:
~ $ ll /bin/x-terminal-emulator
lrwxrwxrwx 1 root root 37 Oct 26 2022 /bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
~ $ ll /etc/alternatives/x-terminal-emulator
lrwxrwxrwx 1 root root 19 May 21 03:11 /etc/alternatives/x-terminal-emulator -> /usr/bin/footclient

...

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

...

Still not fixing my problem, though. I think something needs to go into ~/.config/mimeapps-list, but I cant figure out what the mime type for a generic terminal is

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I don't have anything in there related to terminals. :P

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon
I tried TERMINAL, no dice.
It must be a mime type. I'm just trying to figure out what it's called.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I seem to have TERM set too…

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Does update-alternatives work? I remember that command being useful back when I was on debian-based (ie Ubuntu).

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

It just creates a symlink so that /usr/bin/foo always points to /etc/alternatives/foo, which then points to the actual binary you want.
You can update the symlinks manually, but it's better to run sudo update-alternatives --config foo

Hey, do you have a '~/.local/share/applications/defaults.list' file on your box?
If so, can you share an excerpt, or see if there's any mention of terminal in it?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane

> Hey, do you have a '~/.local/share/applications/defaults.list' file on your box?
> If so, can you share an excerpt, or see if there's any mention of terminal in it?
I apparently do not. I do have ~/.config/mimeapps.list if that helps?

https://haste.benjaminhollon.com/lujeruhivu

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Just FYI, output * bg ... seems to call swaybg -o * ...

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Interesting… especially given this:

~] swaybg
The program 'swaybg' is not in your PATH. You can make it available in an
ephemeral shell by typing:
nix-shell -p swaybg

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

Odd. It may be a derelict of a previous config, dunno.

ps -ef |grep swaybg doesn't show anything?

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
~] ps -ef |grep swaybg
benjamin 41700 1 0 11:25 tty1 00:00:00 /nix/store/hljcg33k8s4rww173vhimd5mchysckr7-swaybg-1.1.1/bin/swaybg -o * -i /home/benjamin/pictures/desktop-backgrounds/solar-system.jpg -m fill -o eDP-1 -i /home/benjamin/pictures/desktop-backgrounds/solar-system.jpg -m fill
benjamin 74903 74844 0 16:42 pts/3 00:00:00 grep swaybg

Aha, it's a nix thing. Because of course it is. XD

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane

I'd forgotten; nix's whole deal is that nothing is visible to anything that it doesn't request. Packages can't use dependencies they don't declare, and packages you don't declare aren't in your PATH even if other packages depend on them.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
(hence the name nix—"nothing"—the idea is that "nothing" is visible without specifically requesting it)

RL_Dane,
@RL_Dane@fosstodon.org avatar
RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

TERM is set by the terminal itself

It's more for cli apps to know how to behave.

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
I have no idea how that works. XD

I personally just prepend each TUI's command with "rofi-sensible-terminal", which probably isn't the most portable solution but hey it works!

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

For example, if you set export TERM=vt100, a fully compliant program would use minimal color if at all.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

yeah, I've done that hack before, but man, i gotta know how to fix this right. :P

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
May have to go reading through freedesktop.org specifications, I guess.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

I got really close to the answer, but the answer was to use the xfce settings program.

EGAD.

RL_Dane,
@RL_Dane@fosstodon.org avatar

@benjaminhollon

ERMAGHERD.

It just uses a static list of terminals.

I had to sudo ln -s /usr/bin/{x-terminal-emulator,gnome-terminal} to force it to work.
EVEN when I specified wofi -t footclient!

Ok, time for some actual sleep, now that I feel like pulling my hair. XD

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane
Ahhh wofi. I remember trying it for a while but have ended up just settling on rofi-wayland.

Qper,

@RL_Dane @benjaminhollon what exactly are you trying to do? Because, granted I got them from @JustineSmithies ; I use scripts, .desktopfiles and startups (exec-once) that open foot terminal. Granted. I request foot directly and not $terminal except in my Hyprland config file

RL_Dane,
@RL_Dane@fosstodon.org avatar

@Qper @benjaminhollon @JustineSmithies

I'm just trying to make "Terminal=true" in the .desktop file spec work correctly.

There doesn't seem to be any standard way to define what the terminal is.

pixelherodev,

@RL_Dane @Qper @benjaminhollon @JustineSmithies Great example for why I abhor the xfreedesktop stuff or whatever it's called :P

so much easier to just add keybinds for any command I regularly use -e.g.

bindsym $mod+t exec $term tmux at

YMMV if you have a lot of applications, of course, especially if you don't want to take the week or two to build up muscle memory for this

RL_Dane,
@RL_Dane@fosstodon.org avatar

@pixelherodev @Qper @benjaminhollon @JustineSmithies

I do have a lot of one-shot bindings for stuff like the terminal and browser, but dmenu/rofi/wofi in drun mode is awful nice

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@RL_Dane @pixelherodev @Qper @JustineSmithies
Yeah I only have a one-shot-binding for the terminal, since (1) I mostly use TUIs and (2) My keybindings are already massively complex, throwing in those bindings would only complicate things more.

fedops,
@fedops@fosstodon.org avatar

@benjaminhollon @RL_Dane also @dnkl is here and super helpful. 👍

charadon,

@RL_Dane @fedops A hairy eyeball? =P

RL_Dane,
@RL_Dane@fosstodon.org avatar

@charadon @fedops

lol, it's a phrase a friend of mine used to say denoting someone looking at you rather intensely askance. ;)

charadon,

@RL_Dane @fedops Honestly, i'm surprised you chose debian over devuan. Since you talk about process and mount clutter quite a bit =P

RL_Dane,
@RL_Dane@fosstodon.org avatar

@charadon @fedops

I had some weird issues with the installer. It seems a bit bodgy to me. I don't know why they don't use the standard Debian one.

Also, I may lose my honorary neckbeard status for saying this, but if

  1. systemd would STAY IN ITS LANE and just be an init, not a userland domination scheme XD
  2. Lennart wasn't kind of a smarmy git working for flerpin' mafiasoft
    ...I wouldn't mind it, honestly.
rrq,

deleted_by_author

  • Loading...
  • RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @rrq @charadon @fedops

    Me and my clumsy wording.
    Honestly, I had a lot of hangups with both the Devuan and Debian installers, because I couldn't figure out how to get working with true full-disk encryption. It works fine in and , but not , as far as I was able to tell.

    I was surprised that Devuan didn't use the same installer as Debian though.

    Nevertheless, thanks for contributing to ! :D
    I'll try Devuan next.

    furicle,
    @furicle@mastodon.social avatar

    @RL_Dane @charadon @fedops if you exclude kinda smarmy gits, would there even be a kernel? There's some famous gits in that code :-)

    RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @furicle @charadon @fedops

    Eh, Linus is a git (by his own admission), but he's not smarmy. ;)

    charadon,

    @RL_Dane @furicle @fedops Yeah, biggest reason people despise lennart is his "Holier than thou" personality. Linus is (Or was) an asshole, but he doesn't have that attitude.

    RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @charadon

    Right, because pooping out a few millions of lines of a solution in search of a problem ifor Microshill is DoInG tHe LoRd'S wOrK!

    @furicle @fedops

    charadon,

    @RL_Dane @furicle @fedops He technically did it for Red Hat, he only just got employed for Microsoft.

    RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @charadon

    I know. I just didn't want to knock RedHat because they actually do some good.

    msft, on the other hand, can go fly a kite.

    @furicle @fedops

    charadon,

    @RL_Dane @furicle @fedops Yeah, but those kinds of comments risk spreading misinformation ;)

    RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @charadon @furicle @fedops

    I mean, he's doing it for microshill now.

    wyndix,

    @RL_Dane @charadon @fedops so you're on Wayland now

    RL_Dane,
    @RL_Dane@fosstodon.org avatar

    @wyndix

    I wanted to try it, as it seems that it is absolutely going to replace X11, like it or lump it. :blobcatgooglyshrug:

    @fedops @charadon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • GTA5RPClips
  • ngwrru68w68
  • JUstTest
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • normalnudes
  • Leos
  • tacticalgear
  • tester
  • megavids
  • anitta
  • provamag3
  • lostlight
  • All magazines