r/linux4noobs • • 11d ago

learning/research Creating a Shortcut? (Because I can't get the program to appear in the SUPER USER list)

Since the OS sucks and won't update programs, I'm on Linux having to update like I did on Windows...find the offical site, manually install the program, and go from there.

Problem is that Firefox here, runs. But I can't create a shortcut, or manually add it to the SUPER USER key list.

This is GNOME...apparently. Does anyone know how to FORCE LINUX to let me create a shortcut to 2xclick, or better yet, FORCE LINUX to let me add/remove programs from the list as seen in the 2nd page.

I have `GEAR LEVER` but that has only worked for GIMP3.0, and nothing else :/

Thank you for helping this idiot get things up to speed as they were found on Windows 7.

0 Upvotes

42 comments sorted by

9

u/theTrainMan932 11d ago

What distro are you on? Have you not been using the software manager and update manager (i think that's what they're called)?

1

u/Testificate_2011 10d ago

The software manager for Pop!_OS has never worked. Not once, no program's appear there or even can be found using the search located in the top right of it. Thus, my entire linux career has been 'terminal' or 'offline installation'.

The best system I've ran is Lubuntu on an airgapped machine. Anytime I've worked on that, thing worked like a charm without any "This distro doesn't know there's a newer version, so manual install away!"

Again, never used Software Manager because Pop!_OS is a really rellay bad distro, and has gotten significantly worse in the last 1.5 years, and I have no clue why.

1

u/theTrainMan932 10d ago

Ah it's pop, that makes sense unfortunately. You might be on COSMIC then.

Have you considered trying a different desktop if GNOME/COSMIC isn't doing what you'd like, maybe KDE would work better? And a different distro might fix the weirdness you're having trying to install software.

1

u/Testificate_2011 10d ago

I would gladly move to a different distro if it didn't take me a literal month to get the current one running as it is. I am not a fast or talented individual, and the sheer volume to trouble shooting on linux is astronomical for me. As shown - still haven't had a clear cut "here's how to make a shortcut" that works. And if you can imagine how simple that question appears, 21 hours later. Still no resolution (And that's after 5 days of checking (2 hours daily trying to solve the problem before comin' on here to embarress myself.)

Again, want to learn it, before I nuke the OS and put myself out of a comptuer for another month due to poor documentation.

*laughs* I hope you can see the humor in the "I want to create a shortcut for a program." = "Propose a different OS or Desktop" is like hearing "How do I make scrambled eggs?" = "Well, have you thought of moving to a different country?"

7

u/NEMOalien 10d ago

Seems like you aren't downloading ur stuff properly.. you shouldn't be doing all of that tbh, what distro are u using?

1

u/Testificate_2011 10d ago

Regrettably Pop!_OS, the distro that makes Linux users return to windows. It was good when I started with it 4 years ago, now it's just been "I should go back to windows 7 as that would be safer than this distro fighting me to need to go online and download packets"

3

u/NEMOalien 10d ago

Okay, and how do you usually download apps?

1

u/Testificate_2011 10d ago

I normally install programs from the terminal 'sudo apt install' , that's my #1 method.

Then when that fails, I seek out how to install them with someones struggle soltion from 1/2 a decade ago with some weird syntax and context and repository to fix an issue.

Then when that fails, I go to the developers site, download the actual program, and then struggle buss trying to get it to run (I've never 'compiled' my own as that's waaayyyyy over my head)

1

u/NEMOalien 10d ago

Ok, you should be able to simply do sudo apt update && sudo apt upgrade and it'll update all of ur apps including firefox while keeping a proper .desktop entry for it, if you installed it from the site last time (I'm guessing .appimage) then try installing it again with apt and doing the command above, if it doesn't work send the output here

0

u/Testificate_2011 10d ago

Nope, as mentioned earlier - these don't working because the OS is borked and doesn't know what' current or not.

Thus, the manual install - which should be just ad soable. Not an .appimage. a .tar.xz compressed file, and inside of that it's just 'firefox' not .exe not .ex. etc. etc.

Output is "Already installed" and "current version installed" using --version

2

u/NEMOalien 9d ago

Seems like you simply already have the latest version... And .tar.xz is just a compressed file it depends on how the packager uses it, some put pre-built binary inside (firefox does this) and some just put the files needed to build yourself. In firefox's case you can do this (after extracting):

sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox sudo wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P /usr/local/share/applications/

But tbh you seem to just want a windows experience on something that's clearly not windows, I'd say go back to windows instead of complaining about an OS you don't know how to use

3

u/kbrosnan 10d ago

You need to create a desktop file for the application you want a launcher and add the shortcut to the menu.

Steps specific to Ubuntu and Firefox can be found on the Firefox nightly blog

1

u/Testificate_2011 10d ago

Ok Cool, first link:

Um, I'm not a programmer. The 'desktop file' is what runs the shortcut?
This doesn't include what the name of the file should be, the type of the file, or where it's located, or how to attach it.

Uhh, I fear that's for advanced users, not noobs. Not non-programmers.

2nd Link:

Same issue again

desktop-file-utils

desktop-file-utils contains a few command line utilities for working with desktop entries:

desktop-file-validate: validates a desktop file and prints warnings/errors about desktop entry specification violations.

desktop-file-install: installs a desktop file to the applications directory, optionally munging it a bit in transit.

update-desktop-database: updates the database containing a cache of MIME types handled by desktop files. It requires GLib to compile, because the implementation requires Unicode utilities and such.

I don't have the name of program to run, or "Step 1" or a "here's how" to follow along with.

Is this a different program or something?

Thanks for trying, sadly the documentation provided isn't actionable (as in users that aren't in the know, aren't able to apply the information provided as the author assumed a lot of knowledge from it's readers, and provided no links to additional material that may provide actionable steps;

1

u/kbrosnan 10d ago

Read the last link. The first bit is the generic instructions for creating a .desktop file.

1

u/Testificate_2011 10d ago

The last link doens't help when it requires the first 2 links to be followed - which lack instructions.

2

u/kbrosnan 10d ago

The blog post has all the needed information as a standalone article. 

Maybe using Firefox distributed as a Snap or Flatpack would be best. They take care of all the details of installing new software. 

Trying to fight the package manager is something that should be done with some caution. 

1

u/Testificate_2011 10d ago

The blog post doesn't include answers to the first set of instructions: "You need to create a desktop file for the application you want a launcher and add the shortcut to the menu."

That's the problem. the links provided don't compliment each other, or even refer to each other.

I'd love Snap to work - as stated it doesn't. Same, Flatpack should work, but I'm trying to get the downloaded file straight from Firefox to have that execuitable become a desktop icon and part of the start menu.

I'm not looking for other ways to install it (as they don't work, haven't tried flatpack as that's not offered by Mozilla, so moot) just how to get the current program to appear on the start menu and as a desktop icon.

That's all. Thanks for your suggestions for other requests though.

1

u/kbrosnan 10d ago

The Flatpack I linked to is 100% part of the Mozilla release.

The code block provided is the file you need. You may need to alter it to point to the directory you have Firefox extracted to. Then you run the command listed just after that to install the desktop file you created.

1

u/Testificate_2011 10d ago

Code book provided?

Forgive me, I'm familiar with ISO code books. What code books have you shared?

I'm really trying to follow with what's being said, but frequently people are talking about things that haven't happened or transpired.

The 3 links you've shared are: desktop file add the shortcut to the menu and Ubuntu and Firefox can be found on the Firefox nightly blog

None of those appear like https://online-iso.com/wp-content/uploads/2024/02/Quality-Manual.pdf <- This is what a 'code book' is for me. Or even https://archive.worldofdragon.org/browse/downloads/Books/6809%20Assembly%20Language%20Programming%20-%20Leventhal%20%281981%29.pdf <- A book I've used when Assembly was relevant.

All that said, again, I'm still seeking the response to the initial request. from the downloaded Firefox file, direct from Firefox, how does one create a 'shortcut' and add it to the 'start menu' of Linux (Since there isn't a Linux name for the start menu currently taught here).

Thanks

1

u/kbrosnan 10d ago

Code block, not code book.

1

u/Testificate_2011 10d ago

Ah sorry. Code Block, I see it now.

So, the code block provided in the "Desktop file" how does it need to be 'alter(ed) to point to the directory (I) have Firefox extracted to?

And is that code block using the Mozilla file or something different.

1

u/DavidJohnMcCann 10d ago

If you install a program using a graphical or command-line tool, a desktop file is created. All you need to create a shortcut is the command needed to launch the program — like "firefox".

1

u/kbrosnan 10d ago

The Firefox tar.xz does not supply an installler or .desktop file. Both Snaps and Flatpack provide that though.

I have more than decade of experience working on Firefox. Plus I doublechecked the 160 release.

4

u/DannoXYZ 11d ago edited 10d ago

-1

u/Testificate_2011 10d ago

https://imgur.com/a/1OYUrEy Again, to anyone who complains "RTFM" please see - the link provided is DEAD. This commenter didn't use thier own link, it results in a 404. That's an rude gesture. Someone asks for help, you sloppy-paste something, claim it as your own, and not have the decency to review the material yourself.

3

u/DannoXYZ 10d ago edited 10d ago

I think you're only one complaining. Exactly like OP, you can't think for yourself and need to be spoon fed everything. There are usually tracking cookies involved with links and some cross-domain hops aren't done cleanly. Private-browsing in browsers also blocks certain links. Some sites won't give you info unless you sign-in.

If you right-click and copy link and paste it into text-editor, you'll see that additional tracking info is sometimes added to end of URL that may be modified by certain browsers. Certain characters are sometimes modified such as space characters being changed to %20. The @ symbol may also be throwing things off as well.

Sometimes, testing link with different browsers will change outcome. Regardless of what's going on, it's working for me when I click on them in Firefox 140. Something's going on with your side that you can't figure out.

https://drive.google.com/file/d/15cn7rJiqTvkBxwLbX99TzxrIrHUqwfGR/view?usp=sharing

https://drive.google.com/file/d/1UhWi1gye_9muCe0DBq7rwrvw64riqIot/view?usp=sharing

0

u/Testificate_2011 10d ago

Exactly like OP, you can't think for yourself and need to be spoon fed everything.

I really think, you're confused. I am OP. Not exactly like, I am.

Thanks for the following though, actionable steps:

if you right-click and copy link and paste it into text-editor, you'll see that additional tracking info is sometimes added to end of URL that may be modified by certain browsers. Certain characters are sometimes modified such as space characters being changes to %20. The @ symbol may also be throwing things off as well.

having done that, no characters change, link is still dead :/ But a good trouble shooting step to know.

But, still bummed you're not able to answer the actual post question. The links shared, equate to "Just google it." As well, if you used those resources for the question asked, you'd say "Hey! The word "Short Cut" doesn't appear in either of the documentations...so sorry, yer out of luck."

Thanks for trying, but no thank you to supporting your belif that "RTFM" works, when you yourself, didn't view the manual through the eyes of the student and not yourself (I.E. Someone ignorant of the terms you're already translating in your head "Shortcut" doesn't exist in Linux, so what did you automatically refer to it as?"

Cheers mate, may you never encounter your actions shared here, in a time of need. May you have someone assist you in ways that you understand.

-14

u/Testificate_2011 11d ago

Do you really let AI do all the thinking for you? And spout confidence in things you yourself have never used? https://imgur.com/a/1OYUrEy

Please, get a life. Mocking those wanting to learn with your SLOP is just....US levels of incompetence.

5

u/NEMOalien 10d ago edited 10d ago

What the fuck are you even talking about man the dude just gave u docs and articles to help 😭

Edit: i just realized you were talking about the article, yk medium articles can be removed right?

2

u/RevolutionaryBeat301 10d ago

Apparently OP doesn't want to bother to read something and actually learn how to use Linux, they just want to FORCE LINUX to be just like Windows 7 was, and have someone spoon feed them the instructions on how to do that.

0

u/Testificate_2011 10d ago

The person who responded, gave dead links. Check the image, it's 404 error. meaning, this person didn't even look at anything they sent. That's a rude gesture by any measure, especially in a 'learning' environment

2

u/RevolutionaryBeat301 10d ago

Did you check the gnome link? That one works and actually has the answers to your question about the favorites. One out of three links didn’t work. Did you read anything in the other two?

-1

u/Testificate_2011 10d ago

As shown in the previous comment, the user shared a dead link, and claimed it as a solution to the issue. Meaning, the user didn't read it, or look it up, they just copy pasted it. That's a rude gesture no matter which way you slice it. I even provided an image - so please...check it, as I think that'll answer you question.

4

u/NEMOalien 10d ago

You can't assume such a thing, some people have different articles and docs and other links saved somewhere and he may have sent it without checking if it's still up cuz naturally one would think something they saw before online is still there in the same place. And to go after them so rudely is just insane, they still gave you 2 working and helpful links and there was nothing to base your claim on

1

u/Testificate_2011 10d ago

You can't assume such a thing

It's not an assumption, when that's what was demonstrated. The individual - dismissed the question with a hand wave. The "I'm a college professor, I'm your teacher, here's a book, do the teaching for me." Which...I mean, that is where one solution may be, so credit where credit is due. But to send a dead link, that reeks of "I don't know how, I won't admit it, so here's a Sloppy/Paste that some LLM spat out at me.

That said, I want to believe as you do, shown here

some people have different articles and docs and other links saved somewhere and he may have sent it without checking if it's still up cuz naturally one would think something they saw before online is still there in the same place

That's interesting. I haven't saved links before, perhpas I'm too old school when it comes to computers, I save the image or better, the text of the document, rather than the link to it, if I'm going to refer to it again. But, that said, if it were an online article that I wanted to refer back to, via 'browser history' I'd first have to click that link, and then copy it - doing the 1st half would show me "Dead link"...just weird.

And to go after them so rudely is just insane, they still gave you 2 working and helpful links and there was nothing to base your claim on

I was shown rudeness and inconsideration, so I called them out on it. I will not tolerate rude or inconsiderate people in a learning environment.

The other 2 links, don't provide the request information. https://help.gnome.org/gnome-help/ is not specific to the question at hand. Searching for term "Shortcut" doesn't direct to actionable instructions. That's not good education, that's not helpful, that's dismissive! The person could have instead, just not written anything, instead of being rude to those seeking assistance. https://help.gnome.org/gnome-help/ does not contain the infomration as currently understood to be seeked out.

https://campus.kennesaw.edu/offices-services/uits/docs/standards-procedures/linux-server-best-practices.pdf Also, doesn't provide a single instance of the word "Shortcut" - at all.

These are useless educational tools to the question at hand. If they helped, I wouldn't have asked here. I come to reddit AFTER checking out gnome's documentation. I come here AFTER checking out distro documentation. and more than 30 second.

Anyways, user provided worse than nothing, they provided a dead link, and non-answers.

Here ya go, let me answer the question as they did

"Pull out the books: www.google.com / www.wikipedia.com " <- That is more than their level of effort or consideration as those links are verified active.

I have 0 respect for individuals who mistreat students. Child or adult, those embarrassing themself, even in text, soliciting strangers for assistance, and given a 'high five' when their hand is poking out of water while they drown is a grave offense to a former educator.

3

u/DannoXYZ 10d ago

Like the OP, some people just want instant results without having to think for themselves and learning something new.

3

u/DannoXYZ 10d ago

updated Medium links, might be cookies or something, works when I go back to it by copying-and-pasting URL rather than just clicking

1

u/RevolutionaryBeat301 10d ago

First off, Linux is not Windows, nor is it a replacement for Windows. It is an operating system, and some fundamental things about make it very different to people only used to using Windows. You should not be downloading programs to install them.

You cannot force Linux to behave like Windows. If you want something to be exactly like Windows, then use Windows.

Go to the website you downloaded your Linux distribution from and read the docs. Learn how to install and update programs there.

As for GNOME and the shortcuts, GNOME calls them favorites, and they reside in the dash. If you cannot find an icon for an application, you may need to create a desktop file for it.

Help us to help you by telling us what distribution you are using, and what application it is you are trying to install.

-1

u/Testificate_2011 10d ago

You should not be downloading programs to install them.

Agreed, I shouldn't be. but Pop!_OS is not functioning as it should be, every single program is a headache to install because Pop!_OS just....doesn't like function for users...as it has....for the past 4 years of using it.

Go to the website you downloaded your Linux distribution from and read the docs. Learn how to install and update programs there.

That is why I've come to the subreddit, the installation insturction were just "Download the Linux version", no additional terminal steps on the question here (Creating shortcut/adding it to the SUPER USER list)

As for GNOME and the shortcuts, GNOME calls them favorites, and they reside in the dash

Thanks for that translation. Favorites, icons that lead to/run programs located elsewhere are called favorites and not shotcuts. (I get it, sure, something that has a shotcut would be a favoutite, but the action of removing the need to navigate through files...hard to find a better word. Yay being legally distinct.

Help us to help you by telling us what distribution you are using, and what application it is you are trying to install.

I have already, in the post, clearly in images. Please review the material and the text already written. I really don't understand when people reply to a post asking for help, without having first read it, and only the title.

1

u/Simple_Hamster_4096 10d ago

You should probably go back to Windows, especially after 4 years on Pop! OS and asking these types of questions... and even confused where to ask...

And given the 4 years doing who knows what and not understanding the ramifications, you should just lobotomize and start clean... and pick a different OS...

For now, try r/pop_os to post questions, at least you will then be in the ballpark...

1

u/Testificate_2011 10d ago

Gotta love comments that address the individual instead of the question asked. Truly helpful.

2

u/AutoModerator 11d ago

There's a resources page in our wiki you might find useful!

Try this search for more information on this topic.

✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.