emacs Emacs Emacs 30.0.91 pretest is available
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 week ago 100%

    ** 'minibuffer-allow-text-properties' also affects completions. When it has a non-nil value, then completion functions like 'completing-read' don't discard text properties from the returned completion candidate.

    Thanks for the commit! It looks very handy when we pass propertized strings to completing-read.

    4
  • linux Linux How do I resolve XFCE's buggy volume plugins?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 week ago 100%

    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) ?

    1
  • linux Linux [Solved] [Void Linux] Audio refuses to work on a new user
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 weeks ago 100%

    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?

    5
  • emacs Emacs Issues with daemon as systemd user unit
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 weeks ago 100%

    "emacsclient --alternate-editor=''" may work. If you need to solve the systemd issue, please post "systemctl --user cat emacs"(assuming the unit is "emacs") here.

    1
  • linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 weeks ago 100%

    “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.

    2
  • linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
    linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
    linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
    linux Linux USB boot Ubuntu issue
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    3 weeks ago 100%

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

    4
  • lemmy_support Lemmy Support How to switch a lemmy/fediverse post (link) to one's home instance eg using a bookmarklet?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    3 weeks ago 100%

    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)

    4
  • fedora Fedora Linux Suspend on lid close
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    3 weeks ago 100%

    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.

    2
  • fedora Fedora Linux Suspend on lid close
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 weeks ago 100%

    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.)

    2
  • fedora Fedora Linux Suspend on lid close
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 weeks ago 100%

    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
    
    2
  • fedora Fedora Linux Suspend on lid close
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 weeks ago 100%

    Can you run these commands and paste the output here?

    $ systemd-analyze cat-config systemd/logind.conf | grep -i lid
    $ grep -i lid /etc/UPower/UPower.conf
    
    2
  • emacs Emacs What's the deal with old emacs projects, and do you have a way to import .sln projects from Visual Studio?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 weeks ago 100%

    I’m seeing several little elements that are not getting compiled the same between their builds and what make produces with GCC.

    Did you run make clean between the builds?

    2
  • linux Linux Troubleshooting a desktop that does not go into sleep mode/suspend
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 month ago 100%

    Yes. In a typical live USB session, all changes are written to the RAM, so they are lost on the shutdown. Some live USB supports persistent storage, but I think it's not so common.

    2
  • linux Linux Troubleshooting a desktop that does not go into sleep mode/suspend
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 month ago 100%

    I see. Before the switching, you may want to try Linux on Windows using WSL2 or VirtualBox, etc. Also, Mint and other distros provide bootable image, so you can try it without installing Mint on your machine. Good luck!

    2
  • linux Linux Troubleshooting a desktop that does not go into sleep mode/suspend
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 month ago 100%

    Kernels are usually intalled in '/boot', and we usually install new kernels via a package manager (gnome-software, pacman, dnf, etc.). What distro and package manager are you using?

    2
  • linux Linux Troubleshooting a desktop that does not go into sleep mode/suspend
    Jump
    linux Linux [Solved] [Slackware] What's the best way to hide the preinstalled software you don't need from the KDE menu?
    Jump
    lemmy_support Lemmy Support Lemmy RSS: retrieving more than 20 items
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 month ago 100%

    You can get 50 items at most with limit=50. Try

    https://lemmy.ml/feeds/c/lemmy_support.xml?sort=New&limit=50
    
    4
  • emacs Emacs I'm learning Emacs right now as a first time hobbyist. Keep doing the GNU tutorial or jump right in to DT's Doom tutorial?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1 month ago 100%

    Thankfully, with a modern minibuffer UI package (Ivy or Vertico, for example), we don't need to remember arcane key bindings to run rarely used commands. To run such command, just run M-x and enter a substring of the command name. This video (posted here months ago) explains this topic very well.

    For Emacs's help system (Info), I recommend to try C-h R info.

    3
  • emacs Emacs MPD Client Minimpc v0.2: Added Playlist/Queue Editor. Feedback/Review Appriciated
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 months ago 100%

    Here is the screenshot:

    Here's the screenshot.

    I think it's worth to try if you just want to play the song from minibuffer.

    1
  • linux Linux Hyprland is now fully independent!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 months ago 91%

    Please note that many users of FOSS are also developers or contributors. Who wants to report a bug or send a patch if the community is worse?

    29
  • linux Linux Which CLI app/utility you wish there was a GUI for?
    Jump
    linux Linux A strange "terminal emulator" idea I got, tho I bet this exists
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 months ago 100%

    Bash should be fine. On typical Bash installation I think this will work (please try to understand each command line before you actually try):

    $ cp ~/.bashrc ~/.bashrc.bak
    $ cp ~/.bash_history ~/.bash_history.bak
    $ printf 'set +o history' >> ~/.bashrc
    $ printf "sudo apt update\nsudo apt upgrade\n" > .bash_history
    $ (Press Ctrl+D to logout)
    

    For the next bash session you can refer only the two commands from the history with Up/Down/C-p/C-n.

    2
  • linux Linux A strange "terminal emulator" idea I got, tho I bet this exists
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 months ago 100%

    Long ago I made such restricted shell with filtering the shell command history file then disabling command history logging. With some shell scripting, I think you can get more sophisticated version. What shell are you using? (Bash, Fish, Zsh, etc.)

    4
  • lemmy_support Lemmy Support [solved] Checking admin status of user via the API
    Jump
    linux Linux SOLVED: River WM - Find an app-id
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2 months ago 100%

    The repository has Makefile so you can build the executable with make:

    $ cd /tmp
    $ git clone https://git.sr.ht/~leon_plickat/lswt
    $ cd lswt
    $ make
    $ ./lswt
    $ sudo make install (optional)
    
    1
  • linux Linux Is there a text editor/notes app that adds Unicode symbols?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    3 months ago 100%

    Some applications can't display some Unicode strings like s̵t̵r̵o̵k̵e̵, so replacing Markdown element like ~strike~ with Unicode equivalent (s̵t̵r̵o̵k̵e̵ ) may not be a good idea if you want portability. I opened your post in text editors and noticed that neovim-qt drops s̵t̵r̵o̵k̵e̵'s combining characters (issue on Github) and just displays stroke instead of s̵t̵r̵o̵k̵e̵; GUI Emacs with my font settings (Noto) doesn't combine the characters and displays s-t-r-o-k-e- (as I said, this may depends on font settings).

    8
  • emacs Emacs Complex Capture Template: rx '**' range error?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 months ago 100%

    Can you get the stack trace with (setq debug-on-error t)? The error means rx got wrong regex form like (rx (** 3 2 "a")) or (rx (** 3 nil "a")).

    1
  • emacs Emacs Show/highlight invisible characters like zero-width-space in Emacs
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 months ago 100%

    I don't know why the motion didn't work in Evil mode, but if the goal is deleting all invisible Unicode characters, I'd write a command like this:

    (defun my/delete-invisibles-in-region (start end)
      "Delete invisible characters in the region specified with START and END."
      (interactive "r")
      (save-excursion
        (replace-regexp "\u200B\\|\u200C" "" nil start end))
        ;; (query-replace-regexp "\u200B\\|\u200C" "" nil start end))
      (deactivate-mark))
    
    2
  • emacs Emacs Wrote minimal minibuffer-centric MPD client
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    4 months ago 100%

    Thank you for trying the package! I completely forgot to mention require in README, and didn't know package-vc-install. I'll add it to README later.

    I’m using emacs’ built-in completion–it works fine.

    I hope it works on other packages like helm or ivy too.

    1
  • emacs Emacs Wrote minimal minibuffer-centric MPD client
    Jump
    emacs
    Emacs nmtake 4 months ago 100%
    Wrote minimal minibuffer-centric MPD client codeberg.org

    I wrote this script to learn how `completing-read`'s [complex arguments](https://www.gnu.org/software/emacs/manual/html_node/elisp/Programmed-Completion.html) works. Compared to other clients it's quite limited; but thanks to packages like Vertico and Orderless, it works quite well for my use cases. [Screenshot](https://lemm.ee/pictrs/image/bf3321ff-097e-4340-a10b-a804dd36012f.webp)

    9
    3
    linux Linux dfコマンドはどこからファイルシステムの統計を取得するのか - Plan 9とGo言語のブログ
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    5 months ago 83%

    One of the reasons is it makes moderation (including soft moderation by users like downvotes or reports) harder. Users not familiar with Japanese can't decide whether the post follows the rule and is on topic.

    4
  • emacs Emacs To all evil-mode users, how do you work with vterm?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    5 months ago 100%

    I stick with C-s (similar to vim's /) because of the exact reason you said, and I'm happy with C-s.

    Please note that C-s <some characters> RET moves the cursor at the end of the target (/ moves it at the beginning). If you don't like the behavior, see this post (I use C-s ... C-r RET in that case).

    2
  • emacs
    Emacs nmtake 5 months ago 81%
    Try `C-[ C-char` if you don't like `C-M-char`

    In vim terminal I use `C-[` for ESC to escape from insert mode a lot, but didn't know `C-[` works in GUI version of Emacs until recently. Since Meta can be replaced with ESC, we can enter `C-M-s`, for example, with `C-[ C-s`.

    7
    0
    fediverse
    Fediverse nmtake 7 months ago 93%
    Cyberbullying Gone Global: Fediverse Spam and Operation Beleaguer blog.fyralabs.com

    Thorough report about the recent Fediverse spam. Related posts: * We seem to be getting attacked. - https://lemmy.giftedmc.com/post/235816 * Solutions and origins of the spam wave currently hitting the Fediverse - https://feddit.cl/post/1883287 * Mastodon CVE Report - https://hachyderm.io/@maegul/111944073448637061 * Remote User Impersonation and Takeover via Cache Poisoning - https://arcanican.is/excerpts/cve-2024-23832/discovery.htm * Remote user impersonation and takeover - https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw

    26
    4
    learningrustandlemmy
    Learning Rust and Lemmy nmtake 8 months ago 92%
    GitHub - LemmyNet/activitypub-federation-rust: High-level Rust library for the Activitypub protocol github.com

    The library has [a nice guide](https://github.com/LemmyNet/activitypub-federation-rust/tree/main/docs) and [two working examples](https://github.com/LemmyNet/activitypub-federation-rust/blob/main/examples/README.md), 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 } ] } [...] ```

    21
    9
    lemmy
    Lemmyの話題 nmtake 12 months ago 100%
    Lemmy 0.19 Breaking Changes - Lemmy https://lemmy.ml/post/5711722

    Lemmy 0.19ではいくつかの機能変更の他に破壊的変更としてアクセストークンの使い方が変わるのだとか。サードパーティのLemmyクライアントの中にはログインできなくなったりログイン状態が無効になるものも出てくるかもしれないですね。

    1
    0
    lemmy
    Lemmyの話題 nmtake 1 year ago 100%
    lemmy.fmhy.ml終了。ドメイン名が使えなくなったため https://very.bignutty.xyz/notes/9hfv05qcs5xf7irr

    米軍 (.mil) が間違えてマリ共和国 (.ml) にメール送ってたとかいうニュースがありましたけど、良くも悪くもLemmyは持ってますね… lemmy.mlどうするんだろ 詳細は以下もどうぞ: * https://sh.itjust.works/post/1473025 * https://sh.itjust.works/post/1484592 * https://lemmy.ml/post/2286939

    1
    0
    lemmy
    Lemmyの話題 nmtake 1 year ago 100%
    lemmy-uiのMarkdownパーサにXSS脆弱性、カスタム絵文字を有功にしていた一部のインスタンスとそのユーザが被害を受ける。なおlemmy-ui v0.18.2-rc.1で対処済 https://sh.itjust.works/post/923025

    lemmy.worldも被害を受けたみたいですね。人多いのに… * https://github.com/LemmyNet/lemmy-ui/commits/0.18.2-rc.1 * https://lemm.ee/post/942359 - インスタンスのadmin管理者向けまとめと緩和方法 * https://github.com/LemmyNet/lemmy/issues/3499 - JWTトークンが期限切れしない問題 * https://github.com/LemmyNet/lemmy/issues/3364 - JWTトークンがログアウトしても無効化されない問題

    1
    0