Skip to content

u/ohmree420

In this archive from Jul 2020 to Aug 2024

6
posts
108
comments
0
media
497
score

Whatever works for you, as long as you update the contents of the file.

Personally I use emacs which I believe supports editing of remote files over ssh but there probably exist similar solutions for other editors.

Alternatively you could install a TUI editor like (neo)vi(m), emacs or nano on the VPS and use it from the ssh session to edit files just like you'd do locally.

2 points

My first non-de setup was i3, it's pretty easy to get started with and neat if it works for you, although I've grown to prefer automatic tiling (dwm/awesome-like) over the years.

Other ones I like are awesome (insanely configurable using lua), dwm (the same but in c), xmonad (the same but in haskell), qtile (the same but in python), bspwm (if you like writing shell scripts, dash is highly recommended where you don't need bash for a responsiveness boost), and I think herbstluftwm might be similar to bspwm but I've never tried it personally.

I suggest trying out different setups until you find out one you like.

For completion's sake, nowadays I'm daily driving kde plasma with krohnkite for a tiling wm-like setup, it works well enough for me and I like all the kde niceties.

1 points

What exactly do you need help with?

For installing packages, read the wiki page about pacman.

You'll probably want to start some additional services and configure your setup further, the way of doing these things depends on what DE/WM you pick and what exactly you want to get out of your installation.

And just a tip: try not to follow any tutorials that aren't on the official wiki, the wiki is the best resource if you take the time to read it and try to understand what you're reading.

If you need any help you can ask and I'll try to answer, but try searching on the wiki first.

3 points

Honestly I have no idea, I don't know the software you're trying to use, don't use snaps and prefer using aur packages + firejail or flatpak instead.

Still, I tried to search for the error message on the snapcraft forums and it seems like most of the posts referencing similar errors are from people creating snaps:
https://forum.snapcraft.io/search?q=version%20%5Cglibc

My suggestion to you would be to ask there and maybe in the meantime try finding your apps on the aur or on flathub instead.

1 points

In that case I have an idea as for what the problem might be:

The profile files are written in posix sh, and fish only understands a small subset of it (it's on purpose).

What I did was use the fisher package manager (from the aur) to install bax (a program that lets you source bash files from fish), and then added a line to my fish config that uses it to source /etc/profile once when I log in:

# put this at the top of  
# ~/.config/fish/config.fish  
# after installing bax using fisher.  
# note: you need to log out for  
# the changes to take effect.  
if status --is-login  
    bax source /etc/profile  
end  

That's if you use fish as your user's shell (if you used chsh to switch to fish).
If you use bash or any other posix compatible shell to start fish (I think the wiki shows how to do that) the profile should be sourced by the parent shell and the environment variables defined in it will be inherited by fish.

EDIT: I wrote this on mobile so if the formatting is off tell me and I'll fix it on my laptop.

1 points

I meant sourcing the file like . /path/to/file.sh as opposed to sudo sh /path/to/file.sh, since I don't think the system profile file has anything special in it that makes it persist if you run it as root (please do correct me if I'm wrong).

1 points

As a fish user I just make sure to only use supported syntax ( export NAME=val and "$VAR" ) in my profile and then in my user fish config I only source the profile if status --is-login exits with 0, that works well enough for me.

I also use the bax package (installed using fisher) to source the global profile on login, which I believe is necessary since fish is my user shell (changed with chsh ).

So it's not a generally applicable solution but it can be adapted to other shells with relative ease (for example I think zsh has a zprofile file which you can source ~/.profile from).

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