There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

original_ish_name , in Everywhere I go, I see her

Imagine using the official YouTube app

Steamymoomilk OP ,

What do you use then?

original_ish_name ,

Libretube

Steamymoomilk OP ,

Is it more reliable now? I used it for a while then used new pipe but it always had problems loading content, and I’ve been meaning to go Foss with YouTube and buying a pixel and using graphine

original_ish_name ,

It works fine now, just make sure to use a good piped instance

Steamymoomilk OP ,

Perhaps do you know where I could find a potential list of piped instances?. Also thanks for letting me know about libretube and stuff, I didn’t know there was different instances of piped

original_ish_name ,

Libretube has a list built in

RickyRigatoni , in Distro hoppers, how do you manage your config files?
@RickyRigatoni@lemmy.ml avatar

I manage them by not. My configs are gone when I wipe my drive and I simply recreate them from memory. Things get forgotten, new things get changed. Holding on to the past too tightly will make you unable to leave it.

flubba86 , (edited )

I’ve struggled to put in words my stance on this, but you said it well. If I backed up my configs, I would get stuck doing things the exact same way for ever. If I backed up my configs I’d be still using Vim with Vungle plugins, now I use Neovim with Packer plugins. I would be still using urxvt with powerline-status bar, now I use Alacritty with starship status. I’d be still using my old favourite Inconsolata font, now I use Fantasque for everything.

There are always newer (and sometimes better) and certainly different ways of tweaking your PC to suit your needs. If you hold on too tight to your old configs, you might miss out on discovering the next cool thing to enhance your experience.

Note: there are of course some home dir things I definitely keep backed up that are irreplaceable, like SSH private keys, GPG keyrings and private keystores, and even my Firefox profile directory.

eshep , in The xdotool command on Linux can automate just about any keystroke or mouse actions from the command line, or for shortcut keys

@GadgeteerZA Most every window manager is going to inherently have a way to set hotkeys/keybindings/shortcuts...whatever you wanna call em. But you're certainly on the right track using xdotool. I'm eager to hear how it goes!

GadgeteerZA OP ,
@GadgeteerZA@beehaw.org avatar

@eshep Too right, I discovered that great trick to rename the Window was only working with the Brave browser windows. OBS Studio by default does not have that option. Also, my having num lock keys to work as mouse pointer movements was interfering with those shortcut keys. I could use wmctrl to rename a window title but it is only temporary. So still work in progress.

aurtzy , in Anybody have a solution for dotfiles outside /home

Maybe etckeeper fits your use case? It’s specifically built for managing /etc files with version control systems. I can’t say much about it since I’ve never used it, though.

Andy ,
@Andy@programming.dev avatar

I’m replying here because I think yours is the right answer (etckeeper), but for other readers I want to note that for Arch Linux in particular, an alternative is aconfmgr.

Janis , in Why is snaps hated

its a scam.

there was this jerk working as an intern at red hat. lennart. he made the decision to break the linux dogma: do one thing and do it good. systemd was born. red hat drools. an important step towarda ending open-ness. later snaps. later closing red hat stream. profit.

if you use systemd or snaps you could just fast forward and use apple.

dotslashme , in Anybody have a solution for dotfiles outside /home

I personally symlink/hardlink to my dotfiles repo. You can see an example of it here.

eshep , in Anybody have a solution for dotfiles outside /home

@gkpy I assume by "dotfiles" you simply mean "config files" as there should be nothing in your /etc/portage directory that's hidden. For all configs I want to backup, I just keep a copy of them elsewhere. As for portage stuff, I just copy my make.conf, and everything in each repos.conf and package.* directories.

If you want to simplify a complex solution to an already simple thing, take a look at bare git worktrees.

nyan ,

The other portage-relevant file you might want to back up is /var/lib/portage/world, which isn’t even in /etc.

eshep ,

@nyan Yes, always backup world if nothing else. How the hell'd I forget that!. I usually symlink it to /etc but then forget I did when updating backups. Worst case, I wind up with a slightly old world file if I need no rebuild.

nyan ,

You were probably microfocused on /etc. I’ve done the same thing in similar situations.

eager_eagle , in Anybody have a solution for dotfiles outside /home
@eager_eagle@lemmy.world avatar

Not a great solution, but my custom set of functions that synchronize the (dot)files just copy them over into a directory preserving their paths within it e.g. cp /etc/hosts ~/.sysbackups/$(hostname)/etc/hosts

JubilantJaguar ,

My script rewrites the paths to –etc–hosts and so on. Avoids creating a giant tree of mostly empty directories. Wish distros came with a default out-of-the-box solution for all this.

eager_eagle ,
@eager_eagle@lemmy.world avatar

right, for system files I do the minimal approach only select a handful that I wish to keep, so the tree is easy to search into. A system equivalent to $XDG_CONFIG_HOME would be nice though.

alternateved , in Anybody have a solution for dotfiles outside /home
@alternateved@lemmy.one avatar

From lack of a better solution, I would symlink the folder or use stow --target /etc flag if you use stow for managing dotfiles.

palordrolap , in Anybody have a solution for dotfiles outside /home

Seems like an odd software choice to create actual dotfiles under /etc. Often files there have much the same name as a user's dotfiles but without the dot. Thinking of things like /etc/profile vs ~/.profile and so on.

Without knowing precisely why those decisions were taken (good reason? ignorance? insanity?) it's not clear what steps to take.

Vaguely leaning towards symlinking or hardlinking but precisely what to do and which way around is still unclear.

Do those dotfiles have your user permissions or are they owned by a system account like root?

alternateved ,
@alternateved@lemmy.one avatar

Those configuration files are for managing system’s package manager, so I don’t think $HOME would be a better place.

palordrolap ,

Then they shouldn't have dots on them (bad design decision) and should be backed up by the system backup/restore mechanism, whatever that might be, not the user's own homedir backup, which is what I assume OP is talking about.

If they're talking about a full system backup including home directories, that's a moot point because I'd expect they'd be included anyway, dot or not.

sgtnasty , in What developments in the Linux world are you looking forward to the most?
@sgtnasty@lemmy.ml avatar
gkpy , in nofi: An interruption-free notification system for Linux

you can configure mako to not show notifications and it will keep a history of them as well. not to discredit your project but makes me wonder if something like this can be built with some bash scripting :)

skullgiver , in `pkill -9 -f firefox` won't work, what can be a possible explanation?
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • antihero OP ,

    Yes, I killed the parent process. Also after killing the process with firefox PID, the file equivalent to that process /proc/PID was still there. I think it could be - “likely I/O or driver related” or “stuck in a syscall waiting on some kind of I/O operation that isn’t timing out/is bugged out/can never complete”.

    mim , in Distro hoppers, how do you manage your config files?

    I manage them using git and stow.

    Stow is very useful, but a bit unknown. Hard to explain in a Lemmy post, but basically it helps you manage symlinks between your git repo directory and your $HOME.

    You can “install” and “uninstall” configs by managing the symlinks with stow.

    flyhunter ,

    I do the same plus a python script to automate the stowing. This plus konsave plus a script to install packages and it is a breeze to reinstall the OS

    penis ,

    +1 for stow, it’s so simple yet powerful.

    Machindo ,

    Same but with the addition of a Brewfile to manage installed apps/CLIs (supports both Mac and Linux)

    SillyBanana , in nofi: An interruption-free notification system for Linux

    This really needs a screen recording of it in action.

    cool_pebble OP ,

    Fair point, I’ve updated the readme now.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines