this post was submitted on 22 Feb 2025
16 points (94.4% liked)

Linux

50411 readers
1085 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I frequently use KRunner to do simple sums when doing my accounting. I keep a ledger with numbers formatted as e.g. 1,000.00. My system settings in KDE for number formatting under Region & Language is set to British English, i.e. the way I want it. However, whenever I copy a sum from KRunner, e.g. "1000.25 + 1000.25", it is copied as "2000,5" (i.e. no thousands-delimiter, wrong decimal point and only one decimal number). It gets a bit annoying to change this manually.

I can't seen to find any specific settings for this in KRunner or the Calculator plugin, and I would expect it to respect KDE's own settings.

Does anyone know how to force KRunner to do my bidding here?

you are viewing a single comment's thread
view the rest of the comments
[–] catloaf@lemm.ee 7 points 23 hours ago (3 children)

It should respect your region and language settings by default. If it doesn't, file a bug report.

[–] D_Air1@lemmy.ml -1 points 17 hours ago* (last edited 17 hours ago) (2 children)

Is this actually a bug though? I just don't think krunner or many other calculators for that matter use delimiters anymore. Therefore, the only thing it is changing based on regional settings is the use of the comma or period to denote a decimal.

I could be wrong considering I had a bit of trouble understanding the post. I just bring this up because in American English there are no delimiters for thousands place or above either.

Also I don't see how from this post the decimal point is wrong. Sure it is simplified to one decimal place, but again many calculators do this. Perhaps op simply needs something that provides more fine grained control over number formatting than what krunner is supposed to.

[–] catloaf@lemm.ee 2 points 17 hours ago

If that was true, it should be using no delimiters, and therefore still a bug.

Also, American English delimits large numbers like 1,000,000.

load more comments (1 replies)
load more comments (1 replies)