this post was submitted on 25 Jan 2024
69 points (88.8% liked)

Linux

48212 readers
2073 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
 

Now, to make this appear when right-clicking. Any idea how I can achieve that?

you are viewing a single comment's thread
view the rest of the comments
[–] MrOzwaldMan@lemmy.ml 5 points 9 months ago (1 children)

I’d recommend converting to Kotlin, which saves a lot on bureaucracy and IntelliJ can easily do

I'd love to, but my mind, time, and energy is being spent on other studies.

https://askubuntu.com/questions/431703/how-to-add-open-with-custom-command-option-in-right-click-menu-of-nautilus might have what you want

Didn't work, no new option appears after following the steps.

Also, how’d you get the IntelliJ titlebar to work properly? In the new theme, I get two title bars on my machine.

Easy, I made a .desktop file for IntelliJ and boom, no double title bars.

[–] Aatube@kbin.social 4 points 9 months ago (1 children)
[–] MrOzwaldMan@lemmy.ml 2 points 9 months ago (2 children)

Hmm, why the bold?

to distinguish the quote from my reply

Maybe try https://stackoverflow.com/questions/47235022/add-a-custom-option-in-nautilus-right-click-menu ?

Will do, i'll reply if it'll work or not.

What did you put in the .desktop file?

I put the following:-

[Desktop Entry]
Name=IntelliJ Idea
Comment=IDE
Exec=/home/user/Programs/IntelliJ\ Idea/bin/idea.sh
Icon=/home/user/Programs/IntelliJ Idea/bin/idea.svg
Type=Application
Categories=Development;

basically

[Desktop Entry]
Name=<Name that will be seen in the start menu for whatever DE>
Comment=<Just write anything here>
Exec=<Your executable or shell application location goes here>
Icon=<Any icon you want to use>
Type=Application <this is default, no change here>
Categories=Development; <There are many categories, they go here>

For 'Exec' and 'Icon', type the absolute path for both em like the example. As for categories, here they are below:

  • Audio
  • Video
  • Development
  • Education
  • Game
  • Graphics
  • Network
  • Office
  • Science
  • Settings
  • System
  • Utility
  • Other
[–] simonced@lemmy.one 2 points 9 months ago

That sample text file, you can save it in the "Template" folder in your home folder, and then you can create a new file from that template with the right click menu > new entry :)

[–] Aatube@kbin.social 2 points 9 months ago

I already have a normal desktop file like yours. I don’t see how replacing it with yours would provide any benefit as the execution arguments are all the same. I guess you won’t be able to help me then.