Skip to content

u/Azphreal

In this archive from Aug 2016 to Sep 2020

14
posts
103
comments
9
media
1.4k
score

dunst is a full notification daemon implemented according to the FreeDesktop notification D-Bus protocol. That means it can show notifications from anything trying to display notifications through D-Bus, which is a lot of the Linux ecosystem. This is more of a way to pop up windows with arbitrary text content, and requires directly running the binary.

If you don't use notifications except for your own status stuff, I think this is fine. If you want notifications from social messengers, browser, etc. this won't do that.

13 points

I haven't used ncmpcpp in a long time, but I do use mpd, which it uses under the hood.

I think where you're tripping up is how in say Spotify or something, when you select "play album", it replaces the entire play queue, then adds the album. mpd doesn't clear the play queue first automatically, so you have to do it yourself.

Looking at the bindings documentation, you should be able to define a key in your ~/.config/ncmpcpp/bindings file to clear the playlist and then add whatever you're pointed at to the play queue. Probably something like (at a guess):

def_key "shift-enter"
  clear_main_playlist
  add_item_to_playlist
1 points

Without having read too deeply into it and recalling what I've seen, the main benefits for a single machine, single user are unified encryption + login passwords (and only providing it once), and not storing encryption keys in memory after unlocking the disk (?).

For multiple users, better management of encrypted home partitions.

For multiple machines, easier network mounting or cloning between machines of (encrypted) home partitions. Since you can treat the home directory as a single file, it makes it easier to rsync and mount between devices.

On the other hand, it doesn't encrypt /usr, etc. as the name suggests, so if that's important then this probably isn't what you want.

9 points

Everything works. From memory, it prefers in order:

  • $XDG_CONFIG_HOME/nvim/init.vim
  • $HOME/.config.nvim/init.vim
  • $HOME/.vimrc
  • system files

All your commands and configurations don't have to change. Aside from a couple of changes in some VimL functions, it's mostly designed to be a drop in replacement.

After-thought edit: my inner Emacs was showing

2 points

Maybe you're a die-hard set compatible person? Your distro doesn't include it in its repo and you can't be bothered installing from source? I don't know.

I did phrase it in a very native English way. I mean to say that it's a good thing to install unless you're part of a 1% of people that have issues with using it over standard vim, I guess.

2 points

To me there's very little reason not to switch. Installing neovim is no harder than installing standard vim, and offers more sane defaults, Lua interfacing, built-in terminal (not useful for some, but it's there), and some smaller things that I think are cool but are subjective:

  • live preview for :s/ without a plugin
  • the neotex plugin
  • XDG compliancy (probably not popular, but I'm particular about this)
6 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.