I don’t see why not. The example config file has a whole bunch of complex commands, far more than just the java --jar you need to run a Java application.
Don’t most desktop environments already have this?
If you want to include this as an option when right clicking the desktop, you will probably need to patch this into the DE of your choice, however I think at least KDE has an option for custom right click actions.
I see, I didn’t know KDE had that, does KDE allow java apps to be used as the right click action? As for GNOME, I’m still trying to figure it out.
Until then, I will post the link to the app in the future. It needs some beautification, and quality of life changes so you and the others can use it as you use sudo apt update and upgrade to update your PCs.
These are used by Plasma and most KDE apps that deal with files.
Krusader has a more powerful system for this called UserActions, but they’re exclusive to Krusader and afaik Krusader is also compatible with service menus, so these are much less portable: docs.kde.org/trunk5/en/…/useractions.html
Don’t be discouraged, doing something from scratch is always a great learning opportunity and even if this isn’t the first iteration of such a tool there is room improvement, for instance, I don’t think any of the tools that allow creation .desktop shortcuts interface with any context menu as yours would do in the future, so that could be a cool feature to show off!
When you expose ports to the Internet. It’s honestly interesting to setup a Web server with the default page on it and see how quickly you get hits on it. You don’t need to register a DNS or be part of an index anywhere. If you open a port (and your router does forward it) then you WILL get scanned for vulnerabilities. It’s like going naked in the forest, you sure can do that but clothes help, even if it’s “just” again ivy or random critters. Now obviously the LONGER you run naked or leave a computer exposed, the most likely you are to get a bad bug.
Can confirm. As an example, I’m developing a game server that runs a raw socket connection over the Telnet port. Within 10 minutes of opening the port, I reliably get requests trying to use Telnet to enable command mode or login as admin. People are constantly scanning.
An application and programs that use shell as their application, for example, IntelliJ IDEA use ‘idea.sh’ to run the IDE, so it would be useful for people to right-click and just create the ‘.desktop’ file right away.
I believe some BSDs use it too, and WSL2 will make Linux applications automatically appear on Windows, so editing desktop files may be useful there too. Plus, you don’t need to deal with different architectures (aarch vs amd64).
Alright, but maybe take a look into something like Zenity. The task done by your tool doesn’t really justify installing a huge JRE, when a simple bash script would suffice.
I didn’t make the tool, I merely answered a question.
Had I wanted to develop such a tool myself I probably would’ve gone Python + Qt6 or used some Rust GTK wrapper, or maybe dust off Gambas if all I want it a a few buttons and text fields.
Because that’s what I learned from Uni, didn’t want that skill to go to waste. I was thinking about how it would be easier to make the apps (plain applications that use executables and shell to run) .desktop file without any hassle (for new Linux users).
Also, Python was two semesters ago, so I forgot all about it.
Is it possible that you’re on a different TTY? The login screen used in Fedora has some problems with using the correct TTY if you don’t use auto-login. If this happens again, try cycling through them, maybe your old session is still there.
A couple of decades ago, iirc, SANS.org ( IF I’m remembering who it was who did it ) put a fresh-install of MS-Windows on a machine, & connected it to the internet.
It took SEVERAL MINUTES for it to be broken-into, & corrupted, botnetted.
The auto-attacks by botnets are continuous: hitting different ports, trying to break-in, automatically.
I’ve had linux desktops pwned from me.
the internet should be considered something like a mix of toxic & corrosive chemicals: “maybe” your hand will be fine, if you dip it in for a moment & immediately rinse it off ( for 3 hours ), but if you leave you limbs dwelling in the virulent slop, Bad Things™ are going to happen, sooner-or-later.
I used to de-infest Windows machines for my neighbours…
haven’t done it in years: they’ll not pay-for good anti-virus, they’ll not resist installing malware: therefore there is no point.
Let 'em rot.
I’ve got a life to work-on uncrippling, & too-little strength/time left.
“but I don’t need antivirus: i never get infected!!”
then how come I needed to de-infest it for you??
“but I don’t need an immune-system: pathogens are a hoax!!”
get AIDS, then, & don’t use anti-AIDS drugs, & see how “healthy” you are, 2 years in.
Same argument, different context-mapping.
Tarpit was a wonderful-looking invention, for Linux’s netfilter/iptables, years ago: don’t help botnets scan quickly & efficiently to help them find a way to break-in…
You should only hop if you know what you’re missing out on, if you don’t and don’t have any distro-specific problems, it’s just unnecessary. But if you really feel like it and have enough disk space, you can try dual-booting another distro and see which you like better.
I hopped because I wanted immediate updates and easy compiling (AUR) so I picked an Arch-based OS.
Distro hopping is pretty similar to changing instances on Lemmy. If you don’t have a reason, just keep using your current account.
Other comments have hit this, but one reason is simply to be an extra layer. You won’t always know what software is listening for connections. There are obvious ones like web servers, but less obvious ones like Skype. By rejecting all incoming traffic by default and only allowing things explicitly, you avoid the scenario where you leave something listening by accident.
IF you want Steam, THEN please consider every variant in the official Ubuntu family.
Steam-support told me in their system, iirc in early 2023, that they ONLY support the Ubuntu family ( directly ).
As Linus Torvalds noted, it isn’t possible to release software that is going to work on all distros.
Even glibc has been broken by one, in that talk of his, and it wasn’t a niche distro, either, iirc.
Pick which subset you CAN afford to support, and do not add to that subset until you’re rolling in money, from your linux-customerbase.
( slight sarcasm on the last line, but business is business: destroying-resources costs, and if there is no benefit, it isn’t sane to continue doing it. )
Decide which capabilities/functions/apps you NEED, and then don’t even consider distros that break your required-set on you.
Don’t. Arch, Ubuntu, Debian, OpenSUSE, and Fedora are used in the exact same way. Pick one of them and then trf different desktop environments, if you want you can download the configurations for distro from their source code
linux
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.