Menu Items File Locations

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
benjam

Menu Items File Locations

Post by benjam »

I have a program (PhpStorm) that I'm trying to run via Albert, and it was working previously, but for some reason, Albert is no longer finding the `PhpStorm.desktop` file that it uses to launch.

I can launch PhpStorm from the menu, and have added it to my favorites, but I'm unable to find the actual `.desktop` file so I can copy it somewhere that Albert can read it so I can launch it from there.

Can anybody point me to the actual files for the favorites? I've already looked in `/usr/share/applications`, `/usr/local/share/applications`, and `~/.local/share/applications` with no luck in any of those locations.

I also did a `find / -type f -iname "phpstorm.desktop"` as root and only found entries in `/snap/...` that didn't seem to work when I copied them over.

Thanks in advance.


----

Code: Select all

$ inxi -Fxz
System:    Host: benjam-dev Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.2 Sonya
Machine:   System: Dell product: Precision T1700 v: 01
           Mobo: Dell model: 0JVY7H v: A00 Bios: Dell v: A08 date: 04/25/2014
CPU:       Quad core Intel Xeon E3-1270 v3 (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27934
           clock speeds: max: 3900 MHz 1: 3500 MHz 2: 3500 MHz 3: 3499 MHz 4: 3500 MHz 5: 3500 MHz 6: 3500 MHz
           7: 3500 MHz 8: 3500 MHz
Graphics:  Card: NVIDIA GK107GL [Quadro K600] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1200@59.95hz, 1920x1200@59.95hz
           GLX Renderer: Quadro K600/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GK107 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Intel Ethernet Connection I217-LM driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Broadcom NetXtreme BCM5722 Gigabit Ethernet PCI Express driver: tg3 v: 3.137 bus-ID: 05:00.0
           IF: enp5s0 state: down mac: <filter>
Drives:    HDD Total Size: 2256.5GB (5.8% used) ID-1: /dev/sda model: LITEONIT_LCS size: 256.1GB
           ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB
Partition: ID-1: / size: 219G used: 70G (34%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472M used: 68M (15%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 17.12GB used: 0.25GB (1%) fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 39.0C mobo: 27.8C gpu: 0.0:64C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 345 Uptime: 4 days Memory: 12486.8/15989.0MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Menu Items File Locations

Post by Flemur »

I'm not familiar wtih PhpStorm or Albert, but in general if you think you're missing parts of a package,

Code: Select all

sudo apt-get install albert --reinstall
or

Code: Select all

sudo dpkg-reconfigure albert
can sometimes fix it. ("albert" --> whatever the real package-names are).

That won't help with problems with files in your $HOME, though.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
benjam

Re: Menu Items File Locations

Post by benjam »

While I appreciate the info about reinstalling packages, that's not what I was asking.

I'm looking for the location of the .desktop files that are used to create the menu.

PhpStorm is manually installed via a tar file with binaries, and there's nothing wrong with Albert.
Locked

Return to “Cinnamon”