Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.

プログラミングや音楽に興味があります。最近はEmacsでよく遊んでます。

  • 1 Post
  • 33 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle

  • nmtake@lemm.eetoLinux@lemmy.mlAuto Typing Script
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I’d write a bookmarklet for that case:

    javascript:
    {
    const name = 'ABC';
    const d = new Date();
    const year = d.getFullYear();
    const month = d.getMonth();
    const date = d.getDate();
    document.activeElement.value = `${year}/${month}/${date} ${name}`;
    void 0;
    }
    

    This bookmarklet inserts the desired text into the currently focused text box. Tested on Lemmy Web UI.













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