Linuxdirk

u/Linuxdirk


r/javascript•

Everything seems to be about APIs, frameworks, libraries and installable serverside modules nd compiling static sites before deploying them to the web.

But are there still people using vanilla JS? The oldschool stuff that simply runs in the browser by adding <script src="....."> to the HTML's head area without having to set up a "full stack node react latest-buzzword development environment"?

So, all vanilla JS users: What are you using JS for?

For a private project I wrote a custom client-side router and some asynchronous fetching and displaying functions with some logic to format stuff as needed. Total files amount including the index.html: 3. All fully flexible and customizable as

2373

r/neovim•

Basically the title.

I just noticed that my regular user account and root use the same configuration.

All I did was running su and starting nvim. It instantly complained about packer missing, etc.

root's .config/nvim does not exist but after installing packer the usual files and directories got created under root's .local. So root uses it's own files, but my regular user's configuration from my regular user's .config/nvim.

Why does this happen and how can I separate those two? No other program behaves like this, only Neovim, so I guess it's a Neovim-specific issue.

17

r/kdenlive•

Hey!

Lets assume I have a video being a “full project” with multiple clips, a lot of cutting, overlays, etc. so basically using Kdenlive to the max … and let’s further assume I need to export the video as MP4 4K 60fps.

So far, so good, I know how to do this.

I now want to add chapters to said videos. For convenience I already set guidelines as markers for my chapters and named them how I want to name the chapter.

But how can I render the video to MP4 and adding chapters to the result using Kdenlive.

I find a lot of outdated stuff from 2012-2015 that describe how to manually mess with files and scripts and stuff, or how to export markers as text to copy&paste it to YouTube. I also se

26

r/neovim•

Hey!

I wonder how it is possible to migrate an old syntax highlighting file to Neovim.

The syntax highlighting file basically consists of multiple simple matches and stylin assignments, so It's quite simple and more or lest just a lis of regex matches and styling options ...

syntax match special    ";.*"
syntax match phtsr_set  /[PHTSR][^ ]*/
syntax match extra_vars /{[0-9a-zA-Z_-]*}/ containedin=ALLBUT,comments
[and so on]

hi link special Comment
hi phtsr_set  ctermfg=DarkGray guifg=DarkGray cterm=italic    gui=italic
hi extra_vars ctermfg=DarkGray guifg=DarkGray cterm=underline gui=underline
[and so on]

I did a quick research and found that it seems

59

r/neovim•

Edit: I gave up and installed the Packer plugin manager to handle plugins with it. Still haven't figured out how to get auto completion and this handy popup when typing code. But that's a question for another investigation.

Hey!

Pretty new neovim user here.

I am totally not a fan of too much configuration and plugins, so I prefer to set it up without using packer, or plug, or whatever fancy plugin manager one prefers.

~~I managed to set up neovim with my old vim settings and it works as expected. I also installed and set up the treesitter syntax highlighting by using my distribution's package manager for installation of the plugin. Which is fine, so I don't need to reinst

211

r/vivaldibrowser•

Hey!

I have a weird problem: I recently discovered that the HTTP basic authentication popup does not appear on sites where this is used (i mean this one). I instantly get the error 401 (unauthorized) whenever I try to open the page.

I tried without any extensions enabled: still does not work, so the extensions shouldn't be the issue here. But when I try a new profile: it works! So it's clearly one of the many settings done either in any of the vivaldi:// pages and/or the "hidden" chrome:// pages. But I honestly have no idea where to start investigating.

Did someone here experienced something similar and knows what setting

31

r/vivaldibrowser•

Hi!

This drives me crazy … I have an MV3 extension that works wonderfully when clicking the extension’s icon in the extensions menu. So the extension itself works as expected and I doubt it’s the issue here.

But I have a hard time to register a command for it. The following code in the manifest should define Ctrl+Shift+M as keyboard shortcut to trigger the extension’s action like clicking the extension button.

"commands": {
    "_execute_action": {
        "suggested_key": {
            "default": "Ctrl+Shift+M"
        }
    }
},

But this does absolutely nothing. Neither triggers it the extension’s action as described in the MV3 API documentation nor does it

08

r/SteamDeck•

I know the device is basically a Linux computer with a fancy Steam interface, but oh boy, that’s sad. Only a handful of games in my library are certified to be running. Which was kinda expected. I just find it noteworthy that even most Valve games I have are not certified. Thousands of games certified and growing. But not mine …

This alone wouldn’t really be an issue. I’d happily tinker with software and hack my way into the system down to the core if needed. So no big deal from software side, just … i dunno … meh.

But on top of the first experience with the software I also have …

  • … a constantly bright glowing pixel
  • … massive backlight bleeding and uneven illumination of the screen
018

r/vivaldibrowser•

I recently got a mail from Google informing me that manifest V2 is deprecated now and will no longer be supported within the next year.

https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/

This means, that developers are forced to use MV3 instead of using MV2 if they want to publish their new extensions and eventually update their existing extensions.

In June 2023 MV2 will be removed from Chrome. I am pretty sure it will be removed from Chromioum oipen source platform.

In the past not supporting MV3 already caused issues.

72