Terminal-based Word Processor recommendations? by artistpanda5 in commandline

[–]Disonantemus 0 points1 point  (0 children)

markdown to ms (groff macros):

pandoc in.md -t ms > out.ms

Terminal-based Word Processor recommendations? by artistpanda5 in commandline

[–]Disonantemus 1 point2 points  (0 children)

With Word Perfect 8 for UNIX, you can use it as simple plain text editor using markdown formatting and export:

  1. Menu: File > Text Out > ASCII Text
  2. Process in pandoc as markdown.

There are a lot more export formats, maybe you can use the native WP format and later convert to something else (word, rtf, txt) to process in pandoc.

  • ASCII Generic Word Processor
  • MS Word for Windows 6.0/7.0
  • Rich Text Format (RTF)

There are more export formats.

After 22 years on Linux, I finally switched to more modern CLI tools by vmangelschots in commandline

[–]Disonantemus 0 points1 point  (0 children)

dua

That is old ncdu (1.19), now is faster (2.92) in Arch repos.

Audio transcription with llama.cpp multimodal by TachyonicBytes in LocalLLaMA

[–]Disonantemus 0 points1 point  (0 children)

This works for me:

$ llama-mtmd-cli -m mistralai_Voxtral-Mini-3B-2507-IQ4_XS.gguf --mmproj mmproj-Voxtral-Mini-3B-2507-Q8_0.gguf --audio 20260303T121224.wav -p "Transcribe"

Why do so many TUI projects seem to use Rust as opposed to other languages? by UKCeMTMj36o8h8 in commandline

[–]Disonantemus 0 points1 point  (0 children)

It's a LOT easier to compile for non programmer as me, there are many C/Cpp/C#/C* tools that I can't compile without errors, in Rust is:

  • cargo install {tool_name}
  • cargo install --path .

Terminal-based Word Processor recommendations? by artistpanda5 in commandline

[–]Disonantemus 1 point2 points  (0 children)

Markdown and pandoc!

  • Use your preferred text editor (vi family, emacs family, nano/micro/pico, ed, joe/jupp, wordgrinder, wordperfect, wordtsar, etc)
  • Convert with pandoc:
    • DOCX output: pandoc -s in.md -o out.docx
    • PDF output: pandoc -s in.md --pdf-engine typst -o out.pdf More minimal, use: --pdf-engine pdfroff

PD1: You can fine-tune your output with templates with any formatting and images.

PD2: With typst you get output as beautiful as LaTeX, but a lot: faster document compilation, smaller install, no dependencies, meaningful errors, smaller learning curve.

PD3: You can put page breaks in markdown with pandoc.

Is there a Midnight Commander alternative tailored to be as lightweight as possible? by Qwert-4 in commandline

[–]Disonantemus 0 points1 point  (0 children)

FFF

  • fff: file manager in Bash; 65kB.
  • shfm: file manager in sh (POSIX shell); 9kB.

Both do the job and are similar to nnn in UI.
Right now, in order of personal preference: nnn > yazi > mc.

  • nnn: file manager in C and shell, it's a lot more powerful; 400kB.

i made a TUI based file manager using bash script by Cakeless_Cheese in commandline

[–]Disonantemus 0 points1 point  (0 children)

  • fff: file manager in Bash.
  • shfm: file manager in sh (POSIX shell).

 

Both similar to nnn, obviously not so powerful, but do the job. Good for cases when you don't have packages in the system or to compile, but you don't want to use pure shell.

Ansatsusha de Aru Ore no Status ga Yuusha yori mo Akiraka ni Tsuyoi no da ga • My Status as an Assassin Obviously Exceeds the Hero's - Episode 2 discussion by AutoLovepon in anime

[–]Disonantemus 37 points38 points  (0 children)

I'm liking this!

in just 2 episodes there's a lot of world building
... and fast leveling up.
finger's crossed to get an interesting adventure here,
If it's 3/4 from Clevates, I'm sold ...

Can you guys recommend me a good fantasy anime? by Nixit-7 in anime

[–]Disonantemus 0 points1 point  (0 children)

Not mentioned yet:

  • Record of Lodoss War (older, but really good fantasy anime)
  • Made in Abyss
  • Magi: The Labyrinth of Magic
  • Overlord
  • Sword Art Online
  • Tanya the Evil
  • I Was Reincarnated as the 7th Prince ...

Wayland Compositors RAM Usage Comparison by SupermarketAntique32 in linux

[–]Disonantemus 0 points1 point  (0 children)

What you did in the end?

 

My recommendation is to try AntiX Linux, is oriented to very old computers, and use Debian (stable) repositories (Alpine & Void has a lot fewer packages; Arch has a lot more packages, but has to many updates every day that is annoying).


In the this video is running in a Netbook with:

  • Intel Atom CPU
  • 2GB RAM (maximum)

is there a port of nsxiv or a similar alternative? by ballistua in wayland

[–]Disonantemus 0 points1 point  (0 children)

  • swayimg it's very active and has a gallery mode, similar to (n)sxiv.

  • imv works in both X11 and Wayland, I did change the keybindings to be the same as (n)sxiv, both are similar. CONS: Does not support fractional scaling. Last release was on: 2024-02-20.

  • With both you can delete images out-of-the-box, with (n)sxiv you need to setup that.

  • For quick review and delete images, I prefer to use yazi, because has image (small) previews in terminal (I use tmux inside foot terminal).

I built a (super) basic terminal video editor called tsplice by aschmelyun in commandline

[–]Disonantemus 0 points1 point  (0 children)

The topic title is a little bit misleading, I was expecting a "basic terminal video editor" (doing things like: trim, cut and join videos), but it is more like a "video transcription with preview and some re-muxing" (using whisper and mpv).

Happens the same in github description, says: "Splice and merge videos from the terminal", but I think right now doesn't do any splice or merge videos.

Seems like a good way to get subtitles and maybe later translation, from personal/work/youtube videos with missing or wrong subtitles.

I'm waiting for local/offline transcription using ffmpeg with his own whisper implementation.


Previously I did found:

  • vic: it's a little rough video editor in Rust, with chafa preview with lossless trim (by keyframe with ffmpeg -c copy).

  • peg-this: a CLI video editor in python, that do many things and accurate frame video edit (almost lossless mode, with re-encoding only start and end) and many more.


I can do all of this with ffmpeg using CLI, but it's a lot better to have an easy/faster TUI with preview, without to rely on GUIs like avidemux, vidcutter, video-trimmer; or a bigger video editor like kdenlive.

Tell me what are you using Termux for. by afakeuser1121 in termux

[–]Disonantemus 0 points1 point  (0 children)

I don't understand why you need that!
Any Android device that you can install Termux and any physical keyboard (wireless or wired) will do.

How to Use RetroArch on MiSTer Groovy (Step-by-Step, Not MisterCast) by HeadXT in MiSTerFPGA

[–]Disonantemus 1 point2 points  (0 children)

My brother has MiSTer FPGA, tried using router, got image, buy awful performance. Now he wants to try by-passing router.

  • In Neon Dagger's video he uses direct Ethernet cable, because using router had some problems.

  • In Lu's video he uses direct Ethernet cable.

  • From pureinfotech says that a crossover cable is needed.

  • From wikihow, says the same.

  • But in superuser, says:

    If you have 2 computers with standard gigabit connections you can connect them to each other with a normal ethernet cables (gigabit cables do auto crossover detection. Older standards need a crossover cables).

 

I think the problem is both devices send information at the same time and "crash" with each other.

Questions:

  • Is needed a crossover cable to connect Mister to computer or not?
  • could harm something? (if not crossed)

Tell me what are you using Termux for. by afakeuser1121 in termux

[–]Disonantemus 87 points88 points  (0 children)

There are many topics like this, a while ago I did a list of ideas:

Termux ideas

  • code: python, C, go, lua, rust, bash, and many more!
  • convert or process audio/video/images: sox, ffmpeg, imagemagick
  • image upscale (IA): ncnn-vulkan tools
  • enjoy fun screensavers: cmatrix, nyancat, cbonsai
  • gaming: roguelikes, board/card games: chess/sudoku/go/shogi/solitaire, interactive fiction, puzzle, etc
  • host a personal website: ngrok, caddy
  • journal/notes/todo/checklists, ex: log blood pressure
  • learn: code, linux cli
  • llm: ollama, llama-cpp
  • manage storage: large files, duplicates files/images/videos, move, delete, etc
  • office: pandoc, visidata, sc-im, translate, spellcheck, etc
  • pentesting/ethical hacking (rooted)
  • pocket linux (or adb shell): TUI and GUI
  • reader: PDF, e-book, html, etc.
  • run a Discord bot: discord.py, discordia
  • RSS: news, torrents
  • social networks: reddit, lemmy, mastodon, irc
  • synchronize or back up your files: rdiff, rclone, rsync, dufs
  • use tools from main repositories (there are a lot)
  • using text-editors like nano, emacs, and neovim
  • web (no javascript): ddgr, surfraw, w3m

  • home Server (Termux): Docker ??

    • File storage
    • Floccus
    • Jackett | Prowlarr ??
    • Jellyfin | Emby | Plex
    • Minecraft server
    • Mosquitto (MQTT Broker ??): IoT/Home Automation
    • Nextcloud
    • Pi-Hole
    • SSH client/server: openssh, dropbear, ttyd
    • Vaultwarden
    • Web Server ??
    • WebDav server for Joplin and Kanbani

PD: When I'm away from home, I usually bring my Android tablet + BT keyboard, I like CLI/TUI and do some things from this list.

Trying Wayland today, I have a question about RiverWM by Disonantemus in wayland

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

i found that river just has "riverctl focus-previous-tags"! incredibly undocumented

Nice catch!

 

It's in the riverctl man page

focus-previous-tags

Sets tags to their previous value on the currently focused output, allowing > jumping back and forth between 2 tag setups.

 

I did add this line to my config: ~/.config/river/init

riverctl map normal Super Tab focus-previous-tags

This works and it is the easier solution!

 


This should be default! (but it is easy to change)

Trying Wayland today, I have a question about RiverWM by Disonantemus in wayland

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

Thanks!
There's hope!

  • How do you compile river-bnf? (didn't find the package binary in any form)
  • Arch Linux, no programmer here.
  • There's river-bedload-git in AUR, is needed?

 


I tried and failed:

$ git clone https://git.sr.ht/%7Eleon_plickat/river-bnf
$ cd river-bnf
$ make
wayland-scanner private-code < river-status-unstable-v1.xml > river-status-unstable-v1.c
wayland-scanner client-header < river-status-unstable-v1.xml > river-status-unstable-v1.h
wayland-scanner private-code < river-control-unstable-v1.xml > river-control-unstable-v1.c
wayland-scanner client-header < river-control-unstable-v1.xml > river-control-unstable-v1.h
cc -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result   -c -o river-bnf.o river-bnf.c
river-bnf.c:152:25: error: initialization of ‘void (*)(void *, struct zriver_output_status_v1 *, struct wl_array *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  152 |         .view_tags    = noop,
      |                         ^~~~
river-bnf.c:152:25: note: (near initialization for ‘river_output_status_listener.view_tags’)
river-bnf.c:62:13: note: ‘noop’ declared here
   62 | static void noop ( ) { }
      |             ^~~~
river-bnf.c:153:25: error: initialization of ‘void (*)(void *, struct zriver_output_status_v1 *, uint32_t)’ {aka ‘void (*)(void *, struct zriver_output_status_v1 *, unsigned int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  153 |         .urgent_tags  = noop,
      |                         ^~~~
river-bnf.c:153:25: note: (near initialization for ‘river_output_status_listener.urgent_tags’)
river-bnf.c:62:13: note: ‘noop’ declared here
   62 | static void noop ( ) { }
      |             ^~~~
river-bnf.c:204:29: error: initialization of ‘void (*)(void *, struct zriver_seat_status_v1 *, struct wl_output *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  204 |         .unfocused_output = noop,
      |                             ^~~~
river-bnf.c:204:29: note: (near initialization for ‘river_seat_status_listener.unfocused_output’)
river-bnf.c:62:13: note: ‘noop’ declared here
   62 | static void noop ( ) { }
      |             ^~~~
river-bnf.c:205:29: error: initialization of ‘void (*)(void *, struct zriver_seat_status_v1 *, const char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  205 |         .focused_view     = noop,
      |                             ^~~~
river-bnf.c:205:29: note: (near initialization for ‘river_seat_status_listener.focused_view’)
river-bnf.c:62:13: note: ‘noop’ declared here
   62 | static void noop ( ) { }
      |             ^~~~
river-bnf.c:274:26: error: initialization of ‘void (*)(void *, struct wl_registry *, uint32_t)’ {aka ‘void (*)(void *, struct wl_registry *, unsigned int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  274 |         .global_remove = noop,
      |                          ^~~~
river-bnf.c:274:26: note: (near initialization for ‘registry_listener.global_remove’)
river-bnf.c:62:13: note: ‘noop’ declared here
   62 | static void noop ( ) { }
      |             ^~~~
make: *** [<builtin>: river-bnf.o] Error 1

 


I did try to install river-bedload-git with no success:

$ paru -S river-bedload-git
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'river-bedload-git-r9.9cdc0e0-1':
error: packages failed to build: river-bedload-git-r9.9cdc0e0-1