Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a puzzle, a couple of apps called gparted and disks has dropped from the application launcher menu. Apper says it is installed. I running DebIan 8.6.0 on a Hp Elitebook 8730w.
What is installed and what you find on your menu are two different things. You usually have a lot more programs installed than your menu shows you. In any case, most desktops have a menu-editing utility. If you want quick access to these tools, you can edit them back in.
Probably this helps:
if you have gnome you need to click on "show application" (this is the last icon on the bottom). There will be a "type to search" field where you can enter gparted. Right click, add to favorites.
Hi everybody,
I'm sorry for the delay in my response. I've tried all of the above to no avail. It says gdisk is installed but it's nowhere to be seen.
Thanks again,
Mike
if you can find the executable in the bin then look in /usr/share/applications to see if it has a desktop file so it will show up in your menu, if no then create one for it.
copy one then change its name to the name of the program you're going to make it for. then open it up in a editor using root privileges, and change everything that needs to be changed so it will work. simple yes?
But is not gdisk just a command line app?
Code:
sudo find / -type f -name gdisk
or
sudo find / -type f -name gdisk*
root@Debian:/home/michael# find / -type f -name gdisk
/sbin/gdisk
/usr/share/lintian/overrides/gdisk
/usr/share/doc-base/gdisk
The /usr/share/doc-base/gdisk part is a document that says: Document: gdisk
Title: Gdisk manuals
Author: Roderick W. Smith
Abstract: Manuals for cgdisk, fixparts, gdisk and sgdisk
Section: System/Administration
Format: HTML
Index: /usr/share/doc/gdisk/index.html
Files: /usr/share/doc/gdisk/*.html
The lintain part saysocument: lintian
Title: Lintian User's Manual
Author: Christian Schwarz, Richard Braakman, Sean 'Shaleh' Perry
Abstract: This manual describes Lintian, the Debian package checker.
Section: Debian
Format: HTML
Index: /usr/share/doc/lintian/lintian.html/index.html
Files: /usr/share/doc/lintian/lintian.html/*.html
Format: text
Files: /usr/share/doc/lintian/lintian.txt.gz
The DebIan site says nothing about lintain at all.
I've tried all of the above to no avail. It says gdisk is installed but it's nowhere to be seen.
maybe it's been moved to a different submenu and/or renamed.
maybe it was a conscious decision to remove it from the menus completely because these are potentially harmful apps.
who knows what DE developers are up to in common, and KDE in particular...
if you're still confused, do this:
Code:
apt search nginx|grep installed
(replace "nginx" with whatever you want to search for, e.g. gparted or disks)
Code:
apt search nginx|grep installed|cut -d/ -f1| while read line; do dpkg -L "$line"|grep bin; done
(replace "nginx" with whatever you want to search for, e.g. gparted or disks)
Something. Not that.
OP: It's called gnome-disks, try it in Alt+F2.
same for gparted
terminal > gparted
now I am wondering where did I get the idea it was about "gdisk" but the same find method would apply, if just typing gnome-disks in the launcher or command line does not work.
But I don't use a wm with menus. Baring rare times that I get less lazy and use dmenu. Full circle from a certain pov as I stopped using gentoo because it didn't update menus, or build them at all, for my non-mainstream wm at that time (IceWM).
I tend to use apt-file to figure these things out.
$ apt-file list gpart | grep -i menu
gparted: /usr/share/menu/gparted
Which means that gpart lacks the /usr/share/menu/ item for a menu entry. So wont be grabbed by update-menus. You can create that entry though.
$ cat /usr/share/menu/gparted
Applications -> System -> Administration -> Gnome partition editor
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.