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.

just_another_person , in Is there a text editor/notes app that adds Unicode symbols?

I doubt toolbars in a rich text editor specifically for Unicode symbols would be a thing, because…why?

There’s definitely VScode extensions that would show the glyphs or convert the actual unicode hex to whatever it should be.

MonkderDritte OP , (edited )

I mean with rich text, text with bold, indent, etc., not a specific markup. On the contrary, i want to replace markup with native Unicode symbols.

just_another_person ,

You probably want a code editor then.

MonkderDritte OP ,

No.

Ah, you meant implement it myself? Well, maybe in a few years, i have a gazilion other things to work on.

just_another_person ,

No, like VScode or similar. That’s probably where you’re going to find a feature like this.

asap , in Is there a text editor/notes app that adds Unicode symbols?
@asap@lemmy.world avatar

If you know Javascript you could very easily write a plugin in Obsidian to do this. Just have the plugin replace any markdown with the Unicode equivalent on save.

Great question though, it’s actually making me wonder why this isn’t a thing in normal plain text editors!

MonkderDritte OP ,

Great question though, it’s actually making me wonder why this isn’t a thing in normal plain text editors!

Right? Why make the text editor Unicode capable but not implement this? Are we too stuck in the xml ways?

leopold ,

Because it’s not actually a good idea.

You create text that is basically impossible to search. Like, for instance, do a Ctrl+F on this page and search for “Bold”. You’ll see the example from OP doesn’t get picked up, because it’s not a B, it’s a 𝗕. And it’s not an o, it’s an 𝗼. And so on. Or how about this? Go on Google and copy-paste this word from OP: “s̵t̵r̵o̵k̵e̵”. Now, stroke isn’t a particularly unusual word, but this thread is just about the only result Google returns. Because it’s not stroke. It’s s̵t̵r̵o̵k̵e̵.

It’s also bad for accessibility. A lot of the time screen readers just won’t know what to do with your bold or italic Unicode text.

And of course this only works for characters for which Unicode actually has these variants. Not a problem with the Latin alphabet, but what about Arabic? Cyrillic? Chinese? Devanagari? Hangul? Not gonna work.

These characters are from the Mathematical Alphanumeric Symbols code block. They’re stylized Greek and Latin letters meant chiefly for use in mathematical contexts. The Unicode standard explicitly advises against using them to fake markup for the reasons outlined above and more. A simple markup language is just about always going to be preferable to faking it with Unicode.

django ,

This here is the best answer, i’d like to add:

Just use Markdown or Org-mode and then export to HTML. Most devices should have a browser capable of display this.

django , in Is there a text editor/notes app that adds Unicode symbols?

This shouldn’t be too hard to implement in Emacs.

MonkderDritte OP ,
its_randomness ,
@its_randomness@lemmy.ml avatar

It already is: C-x 8 RET

Shareni ,
ElectronBadger , in Is there a text editor/notes app that adds Unicode symbols?
@ElectronBadger@lemmy.ml avatar

SublimeText with this plugin: github.com/mvoidex/UnicodeMath

Despite the name, it works for all Unicode characters :)

MonkderDritte OP ,

Ah damn, proprietary.

And looks like it only pastes? I make an edit.

jaxiiruff , in LibreWolf or Mullvad Browser? Thoughts, comments, concerns?

Honestly at this point, normal firefox with ublock and custom user agent switched to chrome.

geoma ,

The thing is youre telking websites you are using chrome so theyll look at their stats and say "everybody ises chrome, lets just design for chrome "

jaxiiruff ,

I know im just tired of stuff breaking on purpose just because of the stupid fingerprinting user agent

punseye ,

Maybe there should be a addon that enables chrome agent only when one visits a chrome dependent website?

geoma ,

You cant twll if some sites need it, unless you try it. I jave never needed a chrome user agent. Only time I needed to change user agent is a fkng website that only let me in if I was on windows. It fidnt care about the browser user agente. It cared for the os user agent.

PanArab , in Linux back at 4.04% on the Desktop. Windows went below 73%

I am still hoping it will hit 10% market share within my life time. I remember when it was predicted to hit that in 2010, obviously it didn’t happen*. Of course for me personally, the year of the Linux Desktop was 2007 when I was finally able to use it as my main OS at home, I tried it before many times since 2003.

  • not counting systems that use the Linux kernel but aren’t considered a traditional GNU+Linux desktop.
lemmyvore ,

I am still hoping it will hit 10% market share within my life time.

Do we really want that?

We have it pretty good right now. I would actually say we’re living in a golden age of desktop Linux: there’s constant innovation, good support, you get to do pretty much everything you need, while flying under the radar.

Linux has won the majority of the industry (servers, mobile etc.) so it’s not like it has anything left to prove.

If it starts getting noticeable on the desktop I fear we’re just gonna get negative attention. Users who take and not contribute, because Windows had taught them to be entitled. Unwanted attention from Microsoft, who I bet are not going to be doing nice things once they start getting paranoid about it.

I really don’t think that large companies like Adobe will care about Linux even at 10% and even if they did, they are a super toxic company nowadays, the least we get to interact with them the better.

mrvictory1 ,

There are many games & software with no Linux support, not to mention AC blocked games. Increased marketshare could change a thing or two, at least.

ulkesh ,
@ulkesh@beehaw.org avatar

Do we really want that?

As long as competition and choice continues to be the mantra of the Linux desktop, then yes, I’d love to see more and more people using it.

We have it pretty good right now. I would actually say we’re living in a golden age of desktop Linux: there’s constant innovation, good support, you get to do pretty much everything you need, while flying under the radar.

Very true.

Unwanted attention from Microsoft, who I bet are not going to be doing nice things once they start getting paranoid about it.

I mean, Ballmer called Linux a cancer pretty early on, so that ship sailed a long time ago.

I really don’t think that large companies like Adobe will care about Linux

Once they start losing large sums of money due to people switching and finding viable alternatives, they certainly will care. Right now Adobe has one main thing going for them – apathy and muscle memory of the aging demographic of their users. That will eventually change.

the least we get to interact with them the better.

Absolutely. I used to be an Adobe fan, back when Kevin Lynch was a part of it, and I was a Flex developer. Then Jobs wrote his thing about Flash, and a year later, not a month after Jobs’s death, Adobe dumps Flex – and literally overnight my position changed from Flex to HTML5 and Java.

dan ,
@dan@upvote.au avatar

not counting systems that use the Linux kernel but aren’t considered a traditional GNU+Linux desktop.

Does that mean you don’t count Alpine towards Linux market share? It mostly doesn’t use any GNU stuff.

You can also compile the kernel with LLVM instead of gcc, use musl instead of glibc, and use BSD coreutils instead of GNU coreutils.

PanArab , (edited )

Do they use the BSD userland instead? Interesting…

Perhaps the definition isn’t good enough or accurate. What would you call a system that perhaps uses Darwin kernel or Hurd plus GNU user land, or any combo of.

dan ,
@dan@upvote.au avatar

Do they use the BSD userland instead? Interesting…

I think Alpine uses Busybox, but it’s feasible for a Linux distro to use BSD coreutils. Not sure if any do that, though.

demonsword ,
@demonsword@lemmy.world avatar

<span style="color:#323232;">not counting systems that use the Linux kernel but aren’t considered a traditional GNU+Linux desktop.
</span>

Does that mean you don’t count Alpine towards Linux market share? It mostly doesn’t use any GNU stuff.

not OP, but my guess is that he was referring to android

cmgvd3lw , in Can you help me with firewalld?

Regardless of the zone your use, you can always add/remove services or ports. You can bind the interface like localhost, lan, wire guard etc. to the zone you want.

thayer , in Can you help me with firewalld?

I can’t provide specific advice for tailscale, but I can share my notes for my own use case, which is for PCs that are safely behind the home firewall. You’d want to adjust your ssh/smb settings accordingly. You shouldn’t need any rules for ProtonVPN, as you’re likely just trying to block incoming connections, not outbound.

It’s my understanding that Fedora opens ports 1025-65535/tcp and 1025-65535/udp by default.

To lock down to sane defaults (–permanent saves the settings directly, avoiding the need to run firewall-cmd --runtime-to-permanent separately):


<span style="color:#323232;">sudo firewall-cmd --permanent --remove-port=1025-65535/tcp
</span><span style="color:#323232;">sudo firewall-cmd --permanent --remove-port=1025-65535/udp
</span><span style="color:#323232;">sudo firewall-cmd --permanent --add-port=27031/udp  # steam remote play
</span><span style="color:#323232;">sudo firewall-cmd --permanent --add-port=27036/udp  # steam remote play
</span><span style="color:#323232;">sudo firewall-cmd --permanent --add-port=27036/tcp  # steam remote play
</span><span style="color:#323232;">sudo firewall-cmd --permanent --add-port=27037/tcp  # steam remote play
</span>

Ensure that ssh and samba-client are listed as allowed services too (sudo firewall-cmd --list-all).

  • Firewalld must be reloaded before rule changes will take effect: firewall-cmd --reload
  • Changes will reset upon reboot unless made persistent by using –permanent or by committing all changes with –runtime-to-permanent

Common commands:


<span style="color:#323232;">sudo systemctl enable --now firewalld   # enable and start firewalld service
</span><span style="color:#323232;">sudo systemctl disable firewalld
</span><span style="color:#323232;">sudo systemctl stop firewalld
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo firewall-cmd --state               # show running state of firewalld
</span><span style="color:#323232;">sudo firewall-cmd --get-active-zones    # list active zones
</span><span style="color:#323232;">sudo firewall-cmd --get-zones           # list all zones
</span><span style="color:#323232;">sudo firewall-cmd --get-default-zone    # list default zone
</span><span style="color:#323232;">sudo firewall-cmd --list-ports          # list allowed ports in current zone
</span><span style="color:#323232;">sudo firewall-cmd --list-all            # list all settings
</span><span style="color:#323232;">sudo firewall-cmd --reload              # reload firewall rules to activate any rule modifications
</span>

Add/remove ports, services, IPs:


<span style="color:#323232;">sudo firewall-cmd --add-port=port-number/port-type      # allow incoming port  (tcp,udp,sctp,dccp)
</span><span style="color:#323232;">sudo firewall-cmd --remove-port=port-number/port-type   # block incoming port
</span><span style="color:#323232;">sudo firewall-cmd --add-service=<service-name>          # allow incoming service (see /etc/services)
</span><span style="color:#323232;">sudo firewall-cmd --remove-service=<service-name>       # block incoming service (see /etc/services)
</span><span style="color:#323232;">sudo firewall-cmd --add-source=192.168.1.100 (or 192.168.1.0/24)    # whitelist incoming IP or IP range
</span><span style="color:#323232;">sudo firewall-cmd --remove-source=192.168.1.100 (or 192.168.1.0/24) # remove whitelisted IP or IP range
</span>

Block an IP or IP range (rich rules):


<span style="color:#323232;">sudo firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='192.168.1.100' reject"
</span><span style="color:#323232;">sudo firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='192.168.1.0/24' reject"
</span>

Whitelist IP for specific port (rich rule):


<span style="color:#323232;">sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.1.100" port protocol="tcp" port="3306" accept'
</span>

Removing a Rich Rule


<span style="color:#323232;">sudo firewall-cmd --permanent --remove-rich-rule='rule family="ipv4" source address="192.168.1.100" port protocol="tcp" port="3306" accept'
</span>
gwilikers ,

This is great, thank you.

nmtake , in Is there a text editor/notes app that adds Unicode symbols?

Some applications can’t display some Unicode strings like s̵t̵r̵o̵k̵e̵, so replacing Markdown element like ~strike~ with Unicode equivalent (s̵t̵r̵o̵k̵e̵ ) may not be a good idea if you want portability. I opened your post in text editors and noticed that neovim-qt drops s̵t̵r̵o̵k̵e̵’s combining characters (issue on Github) and just displays stroke instead of s̵t̵r̵o̵k̵e̵; GUI Emacs with my font settings (Noto) doesn’t combine the characters and displays s-t-r-o-k-e- (as I said, this may depends on font settings).

MonkderDritte OP , (edited )

Yeah, of course font an tool needs to support it. Well ok, maybe we’re not yet there. On the other hand, Emacs and Vim are quite old. It works in Kate, Mousepad, Leafpad… Nano does s-t-r-o-k-e too. Geany does a mix where it displays correctly but each char has two strokes, weird. But that is still good enough.

2xsaiko , in Is there a text editor/notes app that adds Unicode symbols?
@2xsaiko@discuss.tchncs.de avatar

Why not just use RTF documents?

Yttra , in how easy is it to install arch?

With archinstall? Ridiculously easy.

I’d just look up each of the options it gives you so you can decide what you want or what works best, but as long as you have an internet connection you can just choose your options and away you go.

If you only have wifi, add another 5-8 minutes of learning how to connect to your access point with iw

The_Zen_Cow_Says_Mu , in Difference between silverblue / universal Blue / Bluefin / Aurora / Bazzite ?

i use the universal blue silverblue-main image because it’s basically silverblue along with some packages included that I otherwise would have to manually layer in anyway (e.g., distrobox, freeworld-amd drivers from rpmfusion) and some quality-of-life improvements (some just recipes, automatic updates enabled)

I tried bluefin, but it was “too opinionated” and I didn’t agree with a lot of its opinions. Same for bazzite.

Mereo , in Official Unixporn Community ?

I like to think of instances as countries. Each instance has its own rules and culture, and that affects how the communities are moderated. For example, the beehaw.org instance is heavily moderated compared to lemmy.world. Continuing with our example, the Technology community on beehaw.org will be moderated differently than the Technlology community on Lemmy.world.

So each instance has its own reason for existing. Another example will be lemmynsfw.com which is an 18+ instance. Basically, when you register in an instance, you become a citizen of that country.

So in summary, each instance has its own rules, its own policies, its own culture, and the moderators of the community that is that instance are bound by them. So [email protected] is not the same as [email protected].

gpstarman OP ,

Interesting viewpoint.

Templa , in Ladybird announcement

I used to follow Ladybird/SerenityOS stuff but their takes on “political stuff” is just… too bad.

github.com/SerenityOS/serenity/pull/6814

cerement , in Official Unixporn Community ?
@cerement@slrpnk.net avatar
  • !unixporn is the most active
  • !unixporn was (for a short period) officially affiliated with r/unixporn
  • !unixporn, as Blaze mentioned, appears dead
  • !unixporn – SDF is one of the oldest servers out there (est. 1987), their Lemmy instance is going to be friendlier to vintage computing
  • !unixporn is a Reddit repost bot
gpstarman OP ,

Thank You for the helpful info .

secret300 ,

Found out about sdf from Lemmy and it’s dope. Made an account as soon as I could

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