KDE

Rustmilian , in Does Plasma Browser Integration not work with Firefox flatpak?
@Rustmilian@lemmy.world avatar

Yes. Because it comes in two parts. The
OS level package and the browser extension, if the extension can't communicate with the OS level package then it won't work.

sxan , in List of locales in Plasma
@sxan@midwest.social avatar

Maybe because not every system is Debian, and Plasma has to work on systems that either don't have /usr/share/i18n/supported or put is somewhere else?

I manage a project that encounters this sort of thing regularly; my biggest problem is terminfo entries. Not all distributions contain all of the same terminfos. It is one of the biggest source of bug reports my project gets. I've been considering just embedding all of the terminfos in my project, just so I know they'll all be there on every system it's installed.

I don't know this is Plasma's reason for including their own list, but it could easily be. It could also be because those are the locales Plasma supports, and it may not support every locale that might be in the distro system list.

Successful_Try543 , in Does Plasma Browser Integration not work with Firefox flatpak?

Yes, as there is a bug report which for me seems unsolved.

boredsquirrel , in Simple theme switching systemd-timer

I am a bit unsure. If you place the correct files in that .config dir, the services will just run? Nothing else required?

azvasKvklenko ,

Yes, systemd has ability to run user services. For every logged in user there is one daemon socket that user can access to run services without ever rising privileges. They can run in background automatically as soon as you log in (at least one user session must be opened) or alternatively you can enable lingering for your account that assures it’s always up, so your user services can start on boot without you even logging in. It gets units from couple of directories - system packages can install user services in /usr/lib/systemd, custom global user services can go to /usr/local/lib/systemd for any individual user, theres also /etc/systemd and ~/.config/systemd for unit files of particular user.

boredsquirrel ,

Thanks, yes I am doing that for 2 projects.

They download the Thunderbird and Firefox arkenfox/equivalent user.js script and change them a bit.

The TB one is pretty clean and already uses it, the FF one is pretty messy and doesnt yet use it.

https://github.com/boredsquirrel/thunderbird-hardening-automation

You still need to activate the service units it seems, I will look into that.

azvasKvklenko ,

I fail to understand why can’t you just add

systemctl --user enable --now thunderbird-hardening-overwrite.service

after doing daemon-reload.

boredsquirrel ,

Yes thats it. To my knowledge "enabling" just linked the service to the active dir, but I suppose not

dataprolet OP ,
@dataprolet@lemmy.dbzer0.com avatar

No, you have to activate it, see 5.

offspec , in Plasma 6.1 Beta Review, Its Perfect.

I tried this beta release out, and I have to say that I'm struggling to say it's an improvement. I know that there are good changes, but meta+left/right can no longer move windows between monitors, the inputcapture changes for wayland don't seem to be working which was my most anticipated feature, and the x11 spin actually has a regression that causes input-leap to enact my global shortcuts when my mouse is on a client device. Overall big struggle from someone who has to do a lot of multitasking.

azvasKvklenko ,

Are there any bug reports for those problems?

JTskulk OP , (edited ) in Where did the "Window Action" feature go?

I did a workaround by editing a script I found and don't understand using xprop, xwininfo, and xdotool. I probably should have mentioned that I'm using X, most of this stuff doesn't work on Wayland. Here's my script so far:

#!/bin/bash

xprop -spy -root _NET_ACTIVE_WINDOW | grep --line-buffered -o '0[xX][a-zA-Z0-9]\{7\}' |
while read -r id; do
    class="`xprop -id $id WM_CLASS 2> /dev/null | grep TeamViewer`"
    if [ -n "$class" ]; then
        if xprop -id "$id" | grep -q 'WM_NAME(STRING) = "TeamViewer Authentication"'; then
            echo "key Tab
            key space
            key shift+Tab
            key shift+Tab
            key Down
            key Tab
            type {my.username}
            key Tab
            key ctrl+u"| xdotool -
            # wait for the window to be closed
            xprop -spy -id $id > /dev/null 2>&1
            fi
    fi
done

It spits out errors after the window closes because I think it's trying to get windows properties from the now closed window, but it gets the job done!

Edit: changed the script to be much smaller and not show errors.

minecraftchest1 ,
@minecraftchest1@social.opendesktop.org avatar

@JTskulk
Put it in a pastebin please. The spacing is all messed up, requiring lots of work to fix.

JTskulk OP ,

The spacing looks fine here, I copied and pasted it into Kate and it worked fine, maybe you're on a phone or something. Here's a link to my latest version:

boredsquirrel , in Crystal Dock v2.0 and Crystal Remix icon theme v2.1 released!

Very very cool!

I would love to try a more KDE 3 like style on Plasma 6.

Unlike Windows 11, Plasma just got better. But I may prefer the style of Windows 7, it is just more beautiful.

The modern stuff makes a lot of usability sense, and is way simpler. Also theming between GUI Toolkits is easier, for me only GTK, Qt, Electron and a bit libcosmic.

leopold , (edited )

KDE3's Plastik style was closer to XP's Luna than Vista/7's Aero. The default icon theme CrystalSVG had a colorful pastel and cartoonish style. There's a full port of it to Plasma 5 here. It should still work fine in Plasma 6.

The Plasma 4 Oxygen style was much closer to the detailed realistic skeuomorphic style of Aero (though it was probably more so inspired by early OSX Aqua). It is still usable on Plasma 6 and packages for the theme should be available in your preferred distributions' repositories.

Crystal Remix is really a mix of three icon themes designed by Everaldo Coelho in the 2000s. Only the first of these, the aforementioned CrystalSVG, was ever an official KDE theme. The second is Crystal Clear, the successor to CrystalSVG. It had a more detailed and realistic style compared to CrystalSVG, looking far closer to Aero. The third one is Crystal Project, the final iteration of Crystal. It went further into Crystal Clear's direction and erased the last vestiges of CrystalSVG's more cartoonish style. Crystal Project's icons are particularly detailed and I'd consider it a really underappreciated piece of skeuomorphic icon design.

Personally, I'm not that big on Crystal Remix. I'd prefer either a complete CrystalSVG-styled icon theme or a complete Crystal Project-styled icon theme. Preferably the latter because the former already pretty much exists. The two styles don't mesh together all that well, IMO. Crystal Remix's coverage (especially for action icons) is also a bit lacking and it's pretty common to run into unthemed Breeze icons in some applications.

Crystal Dock doesn't strike me as particularly KDE3-ish. It's basically nothing like KDE3's Kicker, though there were a lot of popular third party docks in the KDE3 era like KoolDock, which were actually quite similar to this project. All of them are gone by now and there's been a lot of demand for new third party docks since the death of Latte Dock. So I anticipate this project will make quite a few people happy.

boredsquirrel ,

Thanks for all the info and links!

I just always use Breeze exactly because of that "unthemed icons" issue, and also compatibility with the other Toolkits.

Making a new complete icon theme is intense work.

Personally I think the redesigns that are happening to Breeze are the better direction, especially detailed mini icons are damn unusable.

But I will try the other icon sets!

dangvd OP ,

Crystal Remix, in the most recent versions, uses mostly Crystal Project icons because I also think it's the best one out of the three, and also for consistency reason like you said. I will update the project description to reflect this. I will also try to increase the coverage when possible.

It's not a coincidence that Crystal Dock is similar to KoolDock -- they are both based on my previous dock KSmoothDock which I wrote for KDE3 and KDE Plasma 5. KoolDock was a fork of it during KDE3 time, and Crystal Dock is the successor dock. I changed the name mainly to reflect the change from a KDE-only dock to a cross-desktop KDE-first one.

dangvd OP ,

Thanks a lot!
Btw I also prefer the colourful, shiny, detailed style of KDE 3/4, Windows Vista/7, MacOSX 10.0 - 10.9 :)

mox , in How to render videos with multiple audio tracks with 2 languages (select between tracks)?

Not rendering. Muxing, which is short for multiplexing. Lots of software can do this, including MKVToolNix, ffmpeg, and GPAC/MP4Box. If you're also encoding the video, Handbrake could do the job.

e0qdk , in How to render videos with multiple audio tracks with 2 languages (select between tracks)?
@e0qdk@reddthat.com avatar

I don't know how to do it with KDE's tools, but on the command line with ffmpeg you can do something like this:

ffmpeg -i video_track.mp4 -i audio_jp.m4a -i audio_en.m4a -map 0:v -map 1:a -map 2:a -metadata:s:a:0 language=jpn -metadata:s:a:1 language=eng -c:v copy -c:a copy output.mp4

Breaking it down, it:

  • runs ffmpeg
  • with three inputs (-i flag) -- a video file, and two audio files.
  • The streams are explicitly mapped into the result, counting the inputs from 0 -- i.e. -map 0:v maps input 0 (the first file) as video (v) to the output file and -map 1:a maps the next input as audio (a), etc.
  • It sets the metadata for the audio tracks -metadata:s:a:0 language=jpn sets the first audio track (again counting from 0...) to Japanese; the second metadata option sets the next audio track to English.
  • -c:v copy specifies that the video codec should be copied directly (i.e. don't re-encode -- remove this if you DO need to re-encode)
  • -c:a copy specifies that the audio codec should be copied directly (i.e. don't re-encode -- remove this if you DO need to re-encode)
  • output.mp4 -- finally, list the name of the file you want the result written into.

See documentation here: https://ffmpeg.org/ffmpeg.html

If you need another language in the future, I think the language abbreviations are the three letter codes from here: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes -- but I'm not certain on that.

VHS , (edited ) in How to render videos with multiple audio tracks with 2 languages (select between tracks)?
@VHS@hexbear.net avatar

You can just use MKVToolNix to add the second track to the MKV file after rendering, it's still another step but doesn't require re-encoding.

If you're just trying to multiplex tracks and not actually edit the video, I'd recommend doing it entirely with MKVToolNix and skipping Kdenlive for this use. I've done this previously to combine a subbed video and a dubbed one into one file, you can offset or stretch the audio if needed as well.

tsonfeir , in Crystal Dock v2.0 and Crystal Remix icon theme v2.1 released!
@tsonfeir@lemmy.world avatar

Can the time be smaller? Or, two lines with the date and time in a smaller font?

That time is… very loud.

dangvd OP ,

Hi, yes you can right-click on the clock to show the clock's context menu, then Font Size -> Small Font / Medium Font / Large Font.
The default is Large Font so if you select Small Font or Medium Font it will be smaller.

penquin , in Problem with Chrome apps and task manager
@penquin@lemm.ee avatar

I use Firefox with "firefox-pwa" extension and I have zero issues with webapps

Interstellar_1 ,
@Interstellar_1@lemmy.blahaj.zone avatar

Additionally, Floorp also natively supports webapps

penquin ,
@penquin@lemm.ee avatar

I actually tried floorp. It was a pretty good browser.

kylie_kraft , in Problem with Chrome apps and task manager

I don't think it's just Plasma 6. I've had similar issues for a couple years when I've attempted this. One of two things happens: the icons revert to the default blank page, or the pinned app disappears entirely. I have an old Chromebox that I flashed and installed Neon on, and I wanted to make it look like Chrome OS, but I've never gotten the task bar to stay looking right.

Rustmilian ,
@Rustmilian@lemmy.world avatar

I'd take a look at those .desktop files in ~/.local/share/applications/ or /usr/share/applications/

Rustmilian , (edited ) in Problem with Chrome apps and task manager
@Rustmilian@lemmy.world avatar

Chdir is a function within C/++ so it's most likely a problem with Chrome, as I'm fairly certain Plasma would be using <unistd.h> properly.. Maybe perhaps installing perl-file-chdir or perl-cwd-gaurd could solve this, but I wouldn't bet on it. Wouldn't hurt to try at least.

redbr64 , in Disable screen gamma adjustment Plasma 6
@redbr64@lemmy.world avatar

Same here, one nice new monitor plus 2 random old hand me downs. I hope you get an answer

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