1
7

I'm using this script from HN* to select regions on the screen and copy their text, I took out the line with mogrify. It uses spectacle but it takes a moment before opening the UI, is it possible and would it be faster if Spectacle stayed open in the background? The slurp CLI starts instantly for me for selecting regions, I looked for command line screenshot tools to maybe use with it or has its own region support but didn't find any. Neither maim scrot and grim don't work on Plasma Wayland. I installed the ksnip flatpak but the option for rectangular regions doesn't show for me.

* The script:

  #!/bin/bash 
  # Dependencies: tesseract-ocr imagemagick 
  # on gnome: gnome-screenshot 
  # on kde: spectacle
  # on x11: xsel
  # on wayland: wl-clipboard

  die(){
    notify-send "$1"
    exit 1
  }
  cleanup(){
    [[ -n $1 ]] && rm -r "$1"
  }

  SCR_IMG=$(mktemp -d) || die "failed to take screenshot"

  # shellcheck disable=SC2064
  trap "cleanup '$SCR_IMG'" EXIT

  #notify-send "Select the area of the text" 
  if  which "spectacle" &> /dev/null
  then
    spectacle -n -b -r -o "$SCR_IMG/scr.png" || die "failed to take screenshot"
  else
    gnome-screenshot -a -f "$SCR_IMG/scr.png" || die "failed to take screenshot"
  fi

  # increase image quality with option -q from default 75 to 100
  mogrify -modulate 100,0 -resize 400% "$SCR_IMG/scr.png"  || die "failed to convert image"
  #should increase detection rate

  tesseract "$SCR_IMG/scr.png" "$SCR_IMG/scr" &> /dev/null || die "failed to extract text"
  if [ "$XDG_SESSION_TYPE" == "wayland" ]
  then 
    wl-copy < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
  else
    # xsel -b -i  < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
    xclip -selection clipboard -i < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"  
  fi
  # Notify the user what was copied but truncate the text to 100 characters
  notify-send "Text extracted from image" "$(head -c 100 "$SCR_IMG/scr.txt")" || die "failed to send notification"
  exit  #!/bin/bash 
  # Dependencies: tesseract-ocr imagemagick 
  # on gnome: gnome-screenshot 
  # on kde: spectacle
  # on x11: xsel
  # on wayland: wl-clipboard

  die(){
    notify-send "$1"
    exit 1
  }
  cleanup(){
    [[ -n $1 ]] && rm -r "$1"
  }

  SCR_IMG=$(mktemp -d) || die "failed to take screenshot"

  # shellcheck disable=SC2064
  trap "cleanup '$SCR_IMG'" EXIT

  #notify-send "Select the area of the text" 
  if  which "spectacle" &> /dev/null
  then
    spectacle -n -b -r -o "$SCR_IMG/scr.png" || die "failed to take screenshot"
  else
    gnome-screenshot -a -f "$SCR_IMG/scr.png" || die "failed to take screenshot"
  fi

  # increase image quality with option -q from default 75 to 100
  mogrify -modulate 100,0 -resize 400% "$SCR_IMG/scr.png"  || die "failed to convert image"
  #should increase detection rate

  tesseract "$SCR_IMG/scr.png" "$SCR_IMG/scr" &> /dev/null || die "failed to extract text"
  if [ "$XDG_SESSION_TYPE" == "wayland" ]
  then 
    wl-copy < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
  else
    # xsel -b -i  < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
    xclip -selection clipboard -i < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"  
  fi
  # Notify the user what was copied but truncate the text to 100 characters
  notify-send "Text extracted from image" "$(head -c 100 "$SCR_IMG/scr.txt")" || die "failed to send notification"
  exit
2
59
submitted 1 day ago* (last edited 1 day ago) by that_leaflet@lemmy.world to c/kde@lemmy.kde.social
3
17
submitted 1 day ago* (last edited 1 day ago) by ikidd@lemmy.world to c/kde@lemmy.kde.social

I've tried to slap together a plasmoid but having trouble debugging why it's saying it's not written for Plasma6. I'm just hoping someone could throw eyes at it and tell me why I'm an idiot. The documentation on plasmoids is all over the place wrt versions and packaging, and I have no clue how to debug it on a remote VM I'm using so I don't clutter up my desktop with dependencies.

4
197
submitted 3 days ago by Crow@lemmy.world to c/kde@lemmy.kde.social
5
25
submitted 3 days ago* (last edited 3 days ago) by TheTwelveYearOld@lemmy.world to c/kde@lemmy.kde.social
6
38
submitted 3 days ago by kde@floss.social to c/kde@lemmy.kde.social

"This Week in KDE Apps" brings a lot of improvements to your email, calendar and contact apps; devs consider improvements to Dolphin's new navigation bar; new features land in you chat app of choice; and more languages get added to KDE's educational activities.

https://blogs.kde.org/2025/03/24/this-week-in-kde-apps/

#twika #apps #FreeSoftware #OpenSource

@kde@lemmy.kde.social

7
77
submitted 5 days ago by kde@floss.social to c/kde@lemmy.kde.social

This Week in Plasma brings launch menu customizations, better screen recordings, and improvements to Plasma's calculator.

We have simplified KMenuEdit allowing you to customize your launch menu with ease, improved the quality of full-screen recordings with Spectacle, set the "Dim Screen for Administrator Mode" to be switched on by default, and enhanced the accessibility and keyboard navigation of Plasma's Calculator.

https://blogs.kde.org/2025/03/22/this-week-in-plasma-6.4-improvements/

#Plasma6 #freesoftware #linux #opensource

@kde@lemmy.kde.social

8
7

KDE has settings for shadows but they don't show on maximized windows (I have the maximize window gaps script installed). I'm wondering if there are any scripts that produce their own shadows.

9
6
submitted 4 days ago* (last edited 4 days ago) by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Hi,

I suddently encountered this error on Discover while having done nothing for it to happen :

E: Conflicting values set for option Signed-By regarding source https://packages.mozilla.org/apt/ mozilla: /etc/apt/keyrings/packages.mozilla.org.asc != /etc/apt/keyrings/org.kde.neon.packages.mozilla.org.asc E: The list of sources could not be read.

What to do ?

PS : error 2 of 2 is identical to error 1 of 2.

Thanks

10
8

If an app that I have is marked for Automatic Removal due to deprecation I can't keep the app and update the rest, because if I try to click Cancel the whole update process stops, if I click Proceed the app will be uninstalled and then the rest gets updated.
Why does it work like this, am I just not supposed to keep deprecated apps for security concerns? I hope it's not intended, because this just hampers the user unendingly.
This time it's Metadata cleaner that is going, but it could be any app that someone relies on, they'd be forced to go to the command line to update the rest while keeping that one app?

11
23
submitted 1 week ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Because I customized KDE to show close/(un)maximize/minimize on the left and most importantly always on top on the right, except GNOME apps show only close and only on the right and the rest require a right-click, this is so annoying.

Basically, I want this :

To become this :

Thanks

12
5
submitted 1 week ago* (last edited 1 week ago) by soumyadghosh@mastodon.social to c/kde@lemmy.kde.social

Had an amazing time at #FOSSASIA! Met so many awesome people like @athulvis and more.
Had great chats about #GSOD with Stephanie Taylor, and loved connecting with fellow #GSoC contributors.
Big thanks to everyone who visited our #Ubuntu & #KDE booth, and to @ubports & @ubuntu for the support.
See you all at #FOSSASIASUMMIT 2026! 🌟 #Kubuntu #FOSS

@kde@lemmy.kde.social @kde@floss.social
My detailed blog about my journey.

https://soumyadghosh.github.io/website/blog/fossasia-summit-2025

13
23
submitted 1 week ago by abobla@lemm.ee to c/kde@lemmy.kde.social

I don't know what causes this, but, randomly, my touchpad becomes laggy, the pointer is delayed when I move it.

The problem goes away out of nowhere and then comes back. Was anyone able to solve this? I attached my neofetch output.

14
16
submitted 1 week ago* (last edited 1 week ago) by louis_sch@lemmy.kde.social to c/kde@lemmy.kde.social

After many twists and turns, I'm happy to announce the release of KleverNotes 1.2.0.

What's New:

  • New file structure that perfectly mirrors what you see in the sidebar. Ability to change the color and icon of each item.
  • New drawing page with more features.
  • "Copy" button in the code block.
  • New bottom bar for switching between notes and tasks.
  • Improved page turn animation.

Bug fixes, including but not limited to :

  • Pressing V without a modifier while an image is in the clipboard does nothing (as expected).
  • Preventing the use of a "/" to name an item, as it would create a directory.
  • Various rendering issues.

This version is smaller than expected, but I think it was more than time to release it. Other (small) features will be added with version 1.3.0, and I hope to have time to develop them a little faster this time around. I hope you will enjoy this version nonetheless.

As always, I'd love to hear from you!

Link to the repo : https://invent.kde.org/office/klevernotes

Mirrors : https://download.kde.org/stable/klevernotes/1.2.0/klevernotes-1.2.0.tar.xz.mirrorlist

15
26
submitted 1 week ago by kde@floss.social to c/kde@lemmy.kde.social

The schedule for conf.kde.in is out!

Explore the KDE community—who they are, what they do, and why it matters, learn about Digital Independence: Your Roadmap to Seamless Self-Hosting, Embracing FOSS in EdTech, and much more.

Check the program here: https://conf.kde.org/event/8/timetable
Don't forget to register: https://conf.kde.org/event/8/registrations/28/

Stay tuned for more updates on what is happening on Day 3.

#cki2025 #KDE

@kde@lemmy.kde.social

16
6
submitted 1 week ago* (last edited 1 week ago) by tomatoely@sh.itjust.works to c/kde@lemmy.kde.social

Hi everyone! I recently created a custom service menu for the Dolphin file manager, but unfortunately, it doesn't seem to be working as expected.

My goal is to have a menu to convert image file formats quickly with image magick.

Here is the .desktop file I managed to arrange

[Desktop Entry]
Type=Service
Name=Convert Image
Icon=gtk-convert
MimeType=image/png;image/jpg;image/jpeg;image/ico;image/heic;image/svg;image/webp;
Actions=topng;tojpg;toico;towebp
X-KDE-Submenu=Convert Image

[Desktop Action topng]
Name=To Png
Exec=sh -c 'FILE="%f"; DIRECTORY="$(dirname $FILE)"; FILENAME="${FILE%.*}"; magick "$FILE" -format png "$DIRECTORY/$FILENAME.png"'

[Desktop Action tojpg]
Name=To Jpg
Exec=sh -c 'FILE="%f"; DIRECTORY="$(dirname $FILE)"; FILENAME="${FILE%.*}"; magick "$FILE" -format jpg "$DIRECTORY/$FILENAME.jpg"'

[Desktop Action toico]
Name=To Ico
Exec=sh -c 'FILE="%f"; DIRECTORY="$(dirname $FILE)"; FILENAME="${FILE%.*}"; magick "$FILE" -format ico "$DIRECTORY/$FILENAME.ico"'

[Desktop Action towebp]
Name=To Webp
Exec=sh -c 'FILE="%f"; DIRECTORY="$(dirname $FILE)"; FILENAME="${FILE%.*}"; magick "$FILE" -format webp "$DIRECTORY/$FILENAME.webp"'

When I right-click on an image my custom menu item appears as expected. However, when I click on the menu item, nothing happens. There are no error messages or any indication of what might be going wrong.

I made sure the .desktop file is executable and the sh script works when using it on the command line, so I'm out of ideas for what could be going wrong.

Are there any logs I can check to get more information about what's failing? I'm using plasma 6.3.3 on Arch btw

Edit: To answer how to troubleshoot custom service menus (specifically .desktops) the desktop-file-validate cli utlility checks all the syntax errors and can provide solutions to what's wrong. For my use case though, using a script file for the Exec line and avoiding any double quotes was the practical way of assuring my service menu works.

17
29
submitted 1 week ago* (last edited 1 week ago) by kde@floss.social to c/kde@lemmy.kde.social

The new episode of "This Week in KDE Apps" is out covering among other things a massive amount of improvements to KDE's personal information management suite (email, calendar, contacts, etc.), new levels in KDE's educational activity collection GCompris, fixes for Amarok, and digiKam's just released version 8.6.0.

https://blogs.kde.org/2025/03/17/this-week-in-kde-apps/

#apps #FreeSoftware #OpenSource

@kde@lemmy.kde.social

18
6
submitted 1 week ago* (last edited 1 week ago) by notanapple@lemm.ee to c/kde@lemmy.kde.social

v2.8, v2.9, v2.10 were all released recently after a few months hiatus (v2.7 was in Oct).

Most of the changes were bug fixes but v2.8 had new features too:

  • New visibility mode: Intelligent Auto Hide (aka Intellihide / Dodge Windows): in this mode, the dock only hides itself when there's a window covering it or there's a maximized window.
  • Supports LXQt (KWin) on Wayland: including special menu entries (e.g. Log Out), specific default launchers, setting wallpapers and separate config.
  • Task icon: Allow cycling backwards through window applications with CTRL: so left-clicking cycles forwards and CTRL + left-clicking cycles backwards.

Crystal Dock is a cool dock (desktop panel) for Linux desktop, with the focus on attractive user interface, being simple and easy to customize, and cross-desktop support.

The current version (version 2) supports KDE Plasma 6 and LXQt (KWin) on Wayland. Other desktop environments will be considered when they run on Wayland and provide sufficient APIs. The previous version (version 1) supports KDE Plasma 5, GNOME, LXQt, Cinnamon and MATE on X11.

Repo

Screenshots

19
106
submitted 1 week ago by kde@floss.social to c/kde@lemmy.kde.social

digiKam, KDE's full-featured photo management software, releases version 8.6.0.

You can look forward to a smarter face management tool, an improved auto-tagging system that identifies elements in your images, fully automatic red-eye removal, and a new image quality feature that classifies images according to their aesthetic quality.

We also fixed 140 bugs!

https://www.digikam.org/news/2025-03-15-8.6.0_release_announcement/

#photography #OpenSource #FreeSoftware

@kde@lemmy.kde.social

20
224
submitted 1 week ago* (last edited 1 week ago) by kde@floss.social to c/kde@lemmy.kde.social

Valve's Steam Deck updates to Plasma 6.2.5!

The games console has a slow update cycle to guarantee stability for users, but #Valve announced yesterday that both the #Arch base system and the #Plasma desktop environment are being updated to new preview releases.

https://store.steampowered.com/news/app/1675200/view/529841158837240756

#SteamDeck #SteamOS #Steam #gaming #linux

@kde@lemmy.kde.social

21
5
Formatting PHP/js in Kate (lemmy.kde.social)

I just spent an hour trying to figure out how to format PHP in Kate and can't do it. I downloaded phpcbf.phar and it works on local files, naturally, but can't use it for remote files which is the majority of how I work (ftp through Dolphin.) So, I need one of two things (I think):

Some sort of tool I can use through Kate to format PHP file in the editor

or

Figure out if Kate is using a local folder for tmp storage of the file from ftp, and what that folder is.

I love Kate, but this is kind of a show stopper for me. I've got a workaround but it's several steps. In VSCode it's one keyboard shortcut, but I hate it, especially compared to Kate.

22
181
submitted 1 week ago by kde@floss.social to c/kde@lemmy.kde.social

This Week in Plasma brings file transfer progress graphs, per-virtual-desktop custom tile layouts, improved KRunner search result ordering, and much more to your favourite desktop.

https://blogs.kde.org/2025/03/15/this-week-in-plasma-file-transfer-progress-graphs/

#Plasma #OpenSource #FreeSoftware #desktop #Linux

@kde@lemmy.kde.social

23
23
Question about Kate (programming.dev)

Really hating all the crap being put into VS code and want a switch.

Im mostly working in C and some Python/Lua and just want to know if I can get parameter hints the same way I do in VS code. It’s a bummer to have to peek at the docs every time I forget what parameters something takes.

I like lightweight programs so Kate is my first thought but if it does t I’ll just go to Kdevelop. Currently using Geany for my really small projects or tests.

Bonus question, if I’m using raylib for game dev, how would those hints work (if at all) in Kate? If Kate is using an LSP for autocompletion, how would that work for a library like Raylib? Sorry I’ve never actually considered this all before now!

Thanks all

24
15
submitted 1 week ago by twinnie@feddit.uk to c/kde@lemmy.kde.social

I've been trying to create my own splash screen but there's not exactly a lot of documentation out there. I've created an SVG for it but it's not working properly. Is there limited functionality? I suspect it might be because my install is pretty fudged and I'm missing some package but before i go reinstalling my OS I thought I'd check.

25
23
submitted 1 week ago by danjay@lemmy.world to c/kde@lemmy.kde.social

view more: next ›

KDE

6228 readers
23 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 2 years ago
MODERATORS