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.

racketlauncher831 , in Linux Kernel 6.4 Released: Embracing Apple M2, New Hardware, and More Rust Code

Rust isn’t mentioned in the article at all.

For the actual change about Rust in 6.4, see this email chain.

lore.kernel.org/…/20230429012119.421536-1-ojeda@k…

2xsaiko , in Ubuntu Flavors Will Stop Using Flatpak
@2xsaiko@discuss.tchncs.de avatar

I have said and will keep saying this, Snap continues to be one of the worst things Canonical has tried to pass off as “production ready” at least in recent times, and every time they push more for it makes me consider them even more of an untrustworthy distro vendor.

My personal experience with it is that I had to nuke it off the computers I maintain last time we updated Ubuntu to the new release (unfortunately I don’t control what OS we’re using, otherwise Ubuntu would have been gone faster than you could say “Snap”), because these computers have user homes on a network drive, which isn’t under /home, and snap just flat out refuses to work when that is the case.

It wouldn’t even be such a problem if they hadn’t removed Firefox among other things from their repositories, but as it is right now, there’s no way to run Firefox on Ubuntu without mucking around with PPAs if your user home is not under /home. This bug about that has been open for 7 years!

That said, I think this is fine considering Flatpak is still going to be available in the repositories, just not installed by default. I’m much more a fan of “install what you need”, anyway. (But then again, that’s not the style of distro Ubuntu wants to go for.)

HughJanus , in Blogpost: Actually Good Distro Recomendations for Beginners

Which distro wont send me into the terminal every time I need something?

Abel ,
@Abel@lemmy.nerdcore.social avatar

I’m using Pop! OS and basically I only need to use the terminal when tinkering with Wine (because I’m stubborn and don’t use Lutris), launching StableDiffusion or doing some wacky shit like trying to install a compatibility layer for android apps.

archy , in magic-tape: YouTube TUI client (fzf, image support)

Looks like a cool script. I am learning different TUI tools now and willing to migrate some from GUI. This one gives me trouble. I probably did something wrong. When I press m then P - nothing happens. Supposedly, there should be preferences. And the program didn’t ask me on the first run to configure anything.

When I search a video with s - I get in a preview window: zsh:11: command not found: draw_preview

christos OP ,
@christos@lemmy.world avatar

I do not know how this script is interacting with zsh. Have you tried to run it with bash?

archy ,
<pre style="background-color:#ffffff;">
<span style="color:#323232;">$ echo $0
</span><span style="color:#323232;">bash
</span>

Strange… It still displays the same zsh error and the preferences are not displayed. I even tried to execute the program using bash magic-tape.sh while in bash

I tried on a machine where only bash is installed, and the search window is blank, yt-dlp gives an error that flashes and I can’t read quickly, no preferences appear, again it flashes some text but I cannot read it. Also, the location for the folder is not relative, it has to be in ~/git/magic-tape otherwise it will give you multiple errors.

christos OP ,
@christos@lemmy.world avatar

Have you followed the instructions correctly to install the script?

Obviously something is not ok, and I find it surprising that the script is not working in all these distros.

You have zsh errors with the Debian as well, although it is not installed?

Is yt-dlp up to date? If you use this command on its own, do you get any errors?

I am trying to troubleshoot, but in the dark.

archy ,

Yeah, I followed the instructions, created necessary folders. yt-dlp is not the latest version, but the latest from Debian bookworm repositories (2023.03.04). yt-dlp works perfectly to download and convert videos with ffmpeg.

When I try to browse trending yt-dlp says:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">yt-dlp: error: playlist end "0" must be must be greater than or equal to playlist start "1"
</span>

I don’t have zsh errors on Debian where only bash is installed, after searching for a video I got a blank screen with the only option:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Select video:
</span><span style="color:#323232;">search videos 1 to 0:
</span><span style="color:#323232;">> 1 Abort Selection
</span>
christos OP ,
@christos@lemmy.world avatar

On Debian, what preference values have you entered (P option on misc menu)?

archy ,

That P menu doesn’t open on all systems that I’ve tried

christos OP ,
@christos@lemmy.world avatar

You can open the P option by either double-clicking on it with the mouse, or entering capital P with the keyboard. You can get to select the P option through the misc menu.

Do you get any error messages when doing so?

Have you installed all the dependencies of the script (rofi in particular)?

archy ,

I did not have rofi installed on my headless machine, from the description I understand it is a GUI application. After installing it I still could not get the Preferences menu to appear. Nothing happens when I press P, or more specifically there is a quick flash of something and it comes back to the m submenu

christos OP ,
@christos@lemmy.world avatar

It sems to me that there were a few ommisions made during the installation of this script from your part.

If I were you, I would remove the whole git/magic-tape folder, and re-install the script, this following the detailed instructions from the README.

There are specific commands that take care of the dependencies, and of the directory structure.

Do that, and the chances are that you will have no problems.

archy ,

I finally got to my main workstation with GUI, pulled the latest code, installed rofi there and it works now, I sill could not to get previews to show because of the draw_preview: command not found error. But I don’t think rofi can run on a headless machine:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">rofi
</span><span style="color:#323232;">(process:1456958): X11Helper-WARNING **: 10:52:55.600: Failed to open display: (null)
</span><span style="color:#323232;">(process:1456958): Rofi-WARNING **: 10:52:55.600: Connection has error
</span>
christos OP ,
@christos@lemmy.world avatar

I think that apart from not installing the dependencies, both problems that you have faced in your machine (zsh-bash conflict, headless machine) are beyond the scope of this script and need to be examined individually.

At the end of the day, one could easily substitute rofi with fzf itself in the script, they do more or less the same job. I am not certain rofi is your main obstacle here.

archy ,

I tried to substitute rofi with fzf in vim, and when I try Preferences - it says 😕 Selection canceled…

My main goal was to use this program on my server which has no GUI and I can access it from anywhere. For example, I successfully use newsboat and neomutt remotely. When I saw TUI, I thought I could use that too headless, but you may wanna put a disclaimer that the script requires a GUI application rofi.

Anyways, thanks for the project, I will keep an eye on it if it keeps developing, great idea! While troubleshooting this program I came across ytfzf that also supposedly supports subscriptions and seems like can work headlessly

christos OP ,
@christos@lemmy.world avatar

may wanna put a disclaimer that the script requires a GUI application rofi.

This is clearly stated in the instructions, and in the dependencies.

https://imgur.com/Anr1SSh.png

You might consider always read the instructions before installing anything.

archy ,

undefined> imgur.com/Anr1SSh.png

Don’t get mad, I’ve read. It’s a little unusual for me to see amongst 6 CLI dependencies on GUI one. But even installing a GUI application on a headless machine won’t do any good

christos OP , (edited )
@christos@lemmy.world avatar

I have made some updates that may concern you:


UPDATES:

  1. The directory structure of the program has been updated. Instead of keeping everything in ~git/magic-tape/, now various files and directories are kept in various places.This way,
  • the magic-tape.sh is in ~/.local/bin/
  • the magic-tape cache files are all in ~/.cache/magic-tape/
  • the configuration text file will be created in ~/.config/magic-tape/
  1. The action selection can be either with rofi, or fzf (if the user wants to go full TUI).This can be configured during the P option of the misc menu.

So if you want to go full tui, you can avoid rofi and go full fzf.

Let me know how it goes if you try.

archy ,

Thank you for the update. Can’t wait to try. Looks like GitLab is down right now (503) - I will look as they restore service

christos OP ,
@christos@lemmy.world avatar

I know, I have just found out. Last night I also added dmenu as well as an action selector (together with fzf and rofi). Let me know how it goes!

archy ,

Actual git still worked. I was able to git pullI also figured out a way to launch the script using bash - needed to export $SHELL - the only way it worked. I could not update yt-dlp to the latest version - the latest I could install is 2023.06.22 from the side PPA repo. Official Ubuntu repo provides 2023.03 and pip breaks my system with compatibility issues that I don’t have desire to troubleshoot. I could try in the future downloading their binary but I don’t like when stuff doesn’t auto-update. The preferences worked this time and I was able to save them.

yt-dlp gives me an error every time I try to browse either Trending or do a search. I have a TV with a cross and 1 option to Abort Selection.

I have a question: is the script dependent on having browser cookies? Because I don’t have any of the browsers installed on a headless machine. ANd I think that is what yt-dlp wasn’t happy about…

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Downloading /feed/trending ...
</span><span style="color:#323232;">Traceback (most recent call last) :
</span><span style="color:#323232;">File "/usr/bin/yt-dlp", line 33, in <module>
</span><span style="color:#323232;">sys. , 'console_scripts'
</span><span style="color:#323232;">' yt—dtp'
</span><span style="color:#323232;">Fite py", tine 1008, in main
</span><span style="color:#323232;">File "/usr/lib/python3/dist-packages/yt_dlp/_init_.py", tine 962, in _real_main
</span><span style="color:#323232;">with YoutubeDL(ydl_opts) as ydl:
</span><span style="color:#323232;">AAAAAAAAAAAAAAAAAAA
</span><span style="color:#323232;">File "/usr/tib/python3/dist—packages/yt_dlp/YoutubeDL.py", tine 762, in _ init
</span><span style="color:#323232;">self. _ setup_opener()
</span><span style="color:#323232;">File "/usr/Iib/python3/dist—packages/yt_dIp/YoutubeDL.py", tine 3929, in _ setup_opener
</span><span style="color:#323232;">self. cookiejar = load_cookies(opts_cookiefile, opts_cookiesfrombrowser, self)
</span><span style="color:#323232;">File "/usr/lib/python3/dist-packages/yt_dtp/cookies.py", line 106, in load_cookies
</span><span style="color:#323232;">extract_cookies_from_browser(browser_name, profile, YDLLogger(ydI), keyring=keyring, container=container))
</span><span style="color:#323232;">File "/usr/lib/python3/dist-packages/yt_dlp/cookies.py", line 123, in extract_cookies_from_browser
</span><span style="color:#323232;">return _extract_firefox_cookies(profile, container, logger)
</span><span style="color:#323232;">File py", tine 148, in _extract_firefox_cookies
</span><span style="color:#323232;">raise FileNotFoundError(f' could not find Firefox cookies database in {search_root}')
</span><span style="color:#323232;">FiteNotFoundError: could not find Firefox cookies database in /home/user/. mozitta/firefox
</span><span style="color:#323232;">Completed /feed/trendinq.
</span>
christos OP ,
@christos@lemmy.world avatar

Exactly that. Yt-dlp works with browser cookies, You need one of the browsers, and to log in to your yt account.

archy ,

Ah, yeah that’s what I figured.

Unfortunately, (or fortunately for me) I have not used YouTube in a traditional way in a very long time. I use FreeTube, Piped, Invidious, NewPipe, VueTube depending on the platform I currently am. And that is why I don’t have any cookies for it. I don’t really care for liking or commenting the videos as just watching them. All the above mentioned programs support own “offline” subscription lists, and most have interest-based profiles which you cannot achieve with a traditional YouTube account.

But yeah, sadly this not for me in its current form, I will join whoever added a comment here earlier about waiting for support of json - based subscription lists - that is, of course, if you decide to go that route, or at least as bare minimum if you could remove the cookie requirement and have “anonymous search and view” functionality. I believe many of us here on Lemmy that are concerned about privacy will greatly appreciate that. YouTube itself, mpv, and yt-dlp don’t really need cookies to watch a video.

Thanks for troubleshooting this with me.

christos OP ,
@christos@lemmy.world avatar

I was considering being full “offline”, it is perfectly doable, working with yt xml requests.

The downside is that this process (so far for me) takes longer, gives less info, and mostly, although there is no image support there, is done better by terminal rss feeders like newsboat.

You cannot do everything at the same time. I may revisit this approach in the feature and put up something else.

KindaABigDyl , in That Computer Scientist - Nix is the New Arch!
@KindaABigDyl@programming.dev avatar

I use Nix btw

sntx ,

I use a reproducible, declarative and reliable system btw.

I also use flakes btw.

boo_ , in Does Anyone here use GoboLinux
@boo_@lemmy.blahaj.zone avatar

I tried it like a year ago maybe and it was a very interesting concept, but I couldn’t find what it really brings to the table over Guix or Nix. I’ve used Guix quite a lot since then and found that the separation of packages was afaict very similar, with the added bonus of having a completely reproducible system. Maybe Gobo brings something that Guix/Nix does not, but in my time of testing it I couldn’t find anything.

sundaylab , in Moving away from RHEL based distros, whats good ?

I have been using Debian for about 20 years now. Server and desktop. But I recently migrated all my server stuff to FreeBSD and I don’t think I will move back. Jails are great and provide me a convenient way to isolate my apps. On the desktop side I will stay with Debian.

apt_install_coffee , in That Computer Scientist - Nix is the New Arch!

NixOS needs what is IMO the killer feature of Arch: the wiki.

Comprehensive documentation on not only the OS but the additional packages that we use is what drew me to Arch, and the thing that makes me swear in frustration whenever I have to use Ubuntu/Debian.

NixOS is an excellent OS that has the promise of being every bit as hackable as Arch, but far more stable. Problem is, configuration is very different and needs extensive documentation to reduce that friction point.

eleanor ,

The Arch wiki is pretty distro-agnostic (barring package names and pacman specific stuff). I’ve been distro-hopping for past decade and I’ve always used it as a reference for setting things up.

TheAnonymouseJoker , in Moving away from RHEL based distros, whats good ?
@TheAnonymouseJoker@lemmy.ml avatar

Debian

Debian 12 Bookworm is their best release ever, and I am seeing a lot of positive opinions about it suddenly. It may be a Ubuntu 16.04 moment.

eoli3n ,
@eoli3n@lemmy.ml avatar

Details ?

TheAnonymouseJoker ,
@TheAnonymouseJoker@lemmy.ml avatar

Go check The Linux Experiment’s video, among a lot of other videos and discussion forums.

eoli3n ,
@eoli3n@lemmy.ml avatar

Those are not “details”, but “blur sources”.

TheAnonymouseJoker ,
@TheAnonymouseJoker@lemmy.ml avatar

Have you bothered to research the consensus and what Debian’s new release has? Literally 2 minutes away if you search internet instead of replying. Do not expect spoonfeeding.

eoli3n ,
@eoli3n@lemmy.ml avatar

Bla bla bla, so much energy to just not give what I ask for.

iuseit ,

I love debian now

ghariksforge , in Liftoff! - 🐒 A mobile client for Lemmy (Android/iOS/Windows/Linux)

Looks promising! Is it on FDroid?

ShakaWhenRedditFell ,
@ShakaWhenRedditFell@startrek.website avatar

Not yet but you can get it via Obtainium for example.

loudWaterEnjoyer , in Liftoff! - 🐒 A mobile client for Lemmy (Android/iOS/Windows/Linux)

Can’t login, it says my password is incorrect

Edit: before someone tells me to put in my correct password, I use copy&paste from a password manager

chaorace ,
@chaorace@lemmy.sdf.org avatar

Is your password longer than 60 characters? If so, you should know that your actual password was truncated to 60 chars at the time of account creation. You won’t notice on the website because the login webform automatically truncates characters beyond the limit, but most 3rd-party apps don’t do this because it’s an undocumented thing.

Basically, my advice would be to update the password in your password manager to be truncated to 60 characters and then try logging in with the app again.

loudWaterEnjoyer ,

That was actually the thing, thanks a lot.

chaorace ,
@chaorace@lemmy.sdf.org avatar

Oh man, the feeling of solving an obscure issue on the first try without having to ask for any extra hints: chef’s kiss. I’m glad I could be of assistance!

eric , in RHEL no longer open source
@eric@lemmy.ca avatar

Does this affect Fedora?

shreddy_scientist ,
@shreddy_scientist@lemmy.ml avatar

It doesn’t seem like it, RHEL is based on Fedora. Fedora is beta RHEL more or less. But Alma, Rocky and Scientific Linux will all be in trouble as they’re based on RHEL. Or at least that’s what I make of it

riskable , in Liftoff! - 🐒 A mobile client for Lemmy (Android/iOS/Windows/Linux)
@riskable@programming.dev avatar

You might want to rename it considering that a company named Liftoff Software exists and has a trademark on the the term, “liftoff” pertaining to software.

zachatrocity ,
@zachatrocity@lemmy.world avatar

Seems like their trademark is actually on SAAS offerings. I think we’ll be fine

riskable ,
@riskable@programming.dev avatar

The trademark category is for “software”. There’s no distinction between SaaS and an app. They’re the same thing from a trademark standing.

zachatrocity ,
@zachatrocity@lemmy.world avatar

Could you be more specific a little more specific and helpful?

This was the closest I could find:

tmsearch.uspto.gov/bin/showfield?f=doc&state=4808…

B20bob , in Liftoff! - 🐒 A mobile client for Lemmy (Android/iOS/Windows/Linux)
@B20bob@lemmy.world avatar

I’ve tried just about all of the current apps that are available for lemmy over the last two days and so far liftoff feels the most like a usable app to me. To ve fair, I know that a lot of rhe apps I tried are still in alpha or beta, so I’m not trying to talk bad about them, I get it. Liftoff is pretty good though.

PCChipsM922U ,
@PCChipsM922U@sh.itjust.works avatar

Yep, agreed. Just tried it, and if it wasn’t for the Subscribed feed not loading bug, I’d use this instead of Jerboa.

zachatrocity ,
@zachatrocity@lemmy.world avatar

Which bug is that? I haven’t seen that in the issue tracker, could you share details and I’ll prioritize that.

PCChipsM922U ,
@PCChipsM922U@sh.itjust.works avatar

The Subscribed feed is showing up empty. Other settings regarding the feed work fine, but the Subscribed feed is broken. Also, replies showing up as double replies, one below the other, once you reply to a post.

And you could make the search menu a bit more… friendly. Currently you have to add instances in order to search for communities in them. Not practical at all, there are hundreds of instances, if I had to add each one in order to search in them, that will just take way too long. Why not have instance and communities auto-discoverable, like in Jerboa (type in search the community you’re lookimg for, results pop up).

zachatrocity ,
@zachatrocity@lemmy.world avatar

About the search menu… unless I’m mis understanding that’s just how Lemmy works. You have to be subscribed or at least have search for a community outside of your instance before you can interact with it within your instance.

PCChipsM922U ,
@PCChipsM922U@sh.itjust.works avatar

Actually, no. If at least one user from your instance has subscribed to a community of another instance, that other instance’s communities show up in your search results (they are federated)… at least that is how it should work 100% of the time, but it doesn’t. In most cases, it doesn’t actually show all of the communities that would show up during a search, meaning the web UI would return a lot more results.

The method you’re using is actually a safe bet: specify the instace’s URL and don’t have to rely on whether that specific instance is federated with my instance, just search for communities there as well. That approach is easier if you actually have a link to the community which you’d like to add and the instance on which it resides. But, if you have no idea on what instance that community might reside, it’s easier to actually seach for it via the web UI, which I hoped would be implemented in an app sooner or later (having relevant results I mean).

zachatrocity ,
@zachatrocity@lemmy.world avatar

Yeah I’m wanting to implement that into liftoff. That’s the main feature I’ve been wanting in apps.

To clarify this app is a resurrection of an abandoned Lemmy app, when this app was active Lemmy was not as popular and we didn’t have massive instances like Lemmy world. Working through this is a fun challenge but it’s also a user experience challenge. What instance are you having issues with?

OldFartPhil , in Red Hat strikes a crushing blow against RHEL downstreams
@OldFartPhil@kbin.social avatar

This seems like a golden opportunity for distros like Suse and Ubuntu, who offer enterprise support for their free product, to poach some RHEL customers.

AgreeableLandscape OP ,
@AgreeableLandscape@lemmy.ml avatar

I wish Ol’ Debian would get the love it deserves, especially for enterprise where their “stability over the latest flashiest software” philosophy should really shine. People on the desktop side criticizing how slowly Debian packages update is generally responded with “well it’s a server OS first and foremost, the Debian derivatives are more suited for desktop,” so why does no one use Debian for servers? And as far as I know Debian has always prioritized stability and reliability above anything else, and have never pulled any sort of corporate antics even close to what Canonical and Red Hat have pulled.

this_is_router ,
@this_is_router@feddit.de avatar

I’m using it. Almost 200 servers at work. No problems whatsoever. I almost smile reading news like this, because it shows me I did the right thing betting on debian

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