nmtake

joined 1 year ago
[–] [email protected] 0 points 4 days ago (1 children)

For logging, PANEL_DEBUG=all (source) seems to work. Anyway, did you reboot the system after removing xfce-volumed-pulse (so only xvce-pulseaudio-plugin should be enabled) ?

[–] [email protected] 5 points 1 week ago

You don't need pulseaudio and pipewire at the same time because pipewire provides pulseaudio-compatible server (pipewire-pulse). Also, pipewire usually doesn't require audio group. Did you follow the official docs or other online guide?

[–] [email protected] 2 points 1 week ago (1 children)

“Pactl load-module” outputs “you have to specify a module name and arguments.”

As I said in earlier comment, please run "pactl load-module module-switch-on-connect" exactly. Note that Pactl and pactl are different commands and the former is invalid.

Is the command different for that?

As the name suggests, pactl is a command for PulseAudio. PipeWire supports application written for PulseAudio, including pactl. Try "man pipewire-pulse" to get further info.

[–] [email protected] 1 points 1 week ago (3 children)

Did you enter the command line (especially load-module) correctly?

[–] [email protected] 4 points 1 week ago

It's not a silly question; I thought it doesn't matter because PipeWire supports Pulseaudio.

[–] [email protected] 3 points 1 week ago (8 children)

Can you try "pactl load-module module-switch-on-connect"?

[–] [email protected] 4 points 2 weeks ago (1 children)

I'd try other (lightweight) distros for that case. Since your PC is old, it may not fulfil the latest Ubuntu's system requirements.

[–] [email protected] 0 points 2 weeks ago

I think GET /api/v3/resolve_object should work:

curl --url-query q=https://feddit.org/post/2401677 \
    https://lemmy.ml/api/v3/resolve_object \
    | jq .

(note that the value of q is url-encoded by --url-query)

[–] [email protected] 0 points 2 weeks ago (1 children)

Oh it was hard. FYI Fedora supports a major version for a year. To upgrade from non-supported old version, additional steps may be required:

I hope you could solve the new issue too.

[–] [email protected] 0 points 3 weeks ago (3 children)

It's not a dead end :) Can you

  1. make sure "systemctl suspend" suspends your machine to check suspend work
  2. Run "gnome-tweaks" and there's no suspend inhibitor in the "Startup Applications"
  3. post the output of "systemd-inhibit | less" to know who inhibit the suspend
  4. post the output of "gsettings list-recursively | grep -i 'lid\|suspend'"

(Please remove enclosing double quotes when you try them.)

[–] [email protected] 0 points 3 weeks ago (5 children)

If I'm reading it right, it's saying it should be working?

I think so, but I might be overlooking something.

Apparently # makes a line huge? All the huge lines are preceded by a #

As macniel said, a line starts with "#" is converted to a heading. To post preformatted lines such as the log or source code, you can use "fenced code block". For example,

```
foo
#bar
baz
```

becomes

foo
#bar
baz
 

Thorough report about the recent Fediverse spam.

Related posts:

 

The library has a nice guide and two working examples, so I tried the local_federation example. To build the example, you need Rust compiler, cargo package manager, and git:

$ git clone https://github.com/LemmyNet/activitypub-federation-rust
$ cd activitypub-federation-rust
$ cargo run --example local_federation axum
[INFO  local_federation] Start with parameter `axum` or `actix-web` to select the webserver
[INFO  local_federation::axum::http] Listening with axum on localhost:8001
[INFO  local_federation::axum::http] Listening with axum on localhost:8002
[INFO  local_federation] Local instances started
[INFO  local_federation] Alpha user follows beta user via webfinger
[INFO  activitypub_federation::fetch] Fetching remote object http://localhost:8002/.well-known/webfinger?resource=acct:beta@localhost:8002
[INFO  activitypub_federation::fetch] Fetching remote object http://localhost:8002/beta
[INFO  activitypub_federation::fetch] Fetching remote object http://localhost:8001/alpha
[INFO  local_federation] Follow was successful
[INFO  local_federation] Beta sends a post to its followers
[INFO  local_federation] Alpha received post: Hello world!
[INFO  local_federation] Test completed

You may want to use network analizyer (e.g, wireshark) to see how it works under the hood.

GET /.well-known/webfinger?resource=acct:beta@localhost:8002 HTTP/1.1
accept: application/jrd+json
digest: SHA-256=[redacted]
signature: keyId="http://localhost:8001/#main-key",algorithm="hs2019",[...]
host: localhost:8002

HTTP/1.1 200 OK
content-type: application/json
content-length: 269
date: Sat, 03 Feb 2024 23:05:19 GMT

{
  "subject": "acct:beta@localhost:8002",
  "links": [
    {
      "rel": "http://webfinger.net/rel/profile-page",
      "type": "text/html",
      "href": "http://localhost:8002/beta",
      "template": null
    },
    {
      "rel": "self",
      "type": "application/activity+json",
      "href": "http://localhost:8002/beta",
      "template": null
    }
  ]
}

[...]
view more: next ›