Link Icon to second HDD

Hi, I bought a new computer. I previously used Ubuntu and was thinking about trying Manjaro. Ubuntu wouldn't install properly and Manjaro did so that settled it. I'm slowly getting the hang of it.
Problem: I opted for a SSD drive for the operating system + a conventional HDD for storing music and pictures. To access the conventional HDD I have to open the files manager select "other locations" and select it. I would like an Icon, preferably on the favorites panel but failing that on the desktop, to open it directly. Can anyone help me achieve that. Regarding icons on the desktop stuff in the desktop directory do not appear on the desktop despite the switch in the tweaks menu switched to on.

Start with output

$ inxi -Fxxxza

Search for .desktop file.

Hi I have searched for .desktop file without success. Loads of files such as index.desktop but not .desktop on its own. Tweaks>extensions has a switch for put icons on desktop which is on. It also has an option put trash icon on desktop - I switched that on and no icon appeared. The output you requested:

$ inxi -Fxxxza
  Host: john-ccl Kernel: 4.19.66-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 
  root=UUID=67930aa8-3bf0-4dee-9d80-09de0ba2d45d rw quiet 
  Desktop: Gnome 3.32.2 wm: gnome-shell dm: GDM 3.32.0 Distro: Manjaro Linux 
  Type: Desktop Mobo: Gigabyte model: B360M H v: x.x serial: <filter> 
  UEFI [Legacy]: American Megatrends v: F12 date: 03/14/2019 
  Topology: Dual Core model: Intel Pentium Gold G5400 bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10) 
  microcode: B4 L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 29576 
  Speed: 3700 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 3700 2: 3700 
  3: 3700 4: 3700 
  Vulnerabilities: Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Device-1: Intel vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:3e90 
  Display: x11 server: 1.20.5 driver: intel unloaded: modesetting 
  alternate: fbdev,vesa compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 610 (Coffeelake 2x6 GT1) 
  v: 4.5 Mesa 19.1.4 compat-v: 3.0 direct render: Yes 
  Device-1: Intel Cannon Lake PCH cAVS vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a348 
  Sound Server: ALSA v: k4.19.66-1-MANJARO 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8168 v: 8.047.02-NAPI port: 4000 bus ID: 01:00.0 
  chip ID: 10ec:8168 
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter 
  driver: rtl8192ee v: kernel port: 3000 bus ID: 02:00.0 chip ID: 10ec:818b 
  IF: wlp2s0 state: up mac: <filter> 
  Local Storage: total: 1.35 TiB used: 27.57 GiB (2.0%) 
  ID-1: /dev/sda vendor: Gigabyte model: GP-GSTFS31480GNTD size: 447.13 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 61.3 scheme: MBR 
  ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: CC43 scheme: GPT 
  ID-1: / raw size: 447.13 GiB size: 439.11 GiB (98.21%) 
  used: 27.57 GiB (6.3%) fs: ext4 dev: /dev/sda1 
  System Temperatures: cpu: 42.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
  Processes: 198 Uptime: 1h 14m Memory: 3.72 GiB used: 1.21 GiB (32.6%) 
  Init: systemd v: 242 Compilers: gcc: N/A Shell: bash v: 5.0.7 
  running in: gnome-terminal inxi: 3.0.35 

In order to have the Desktop Icons extension working, once enabled from Tweaks, run this command from terminal:
sudo setcap -r /usr/bin/gnome-shell
then reboot the system (is a must). The icons will show. The issue now is to get the external HDD "Storage" partition to show on desktop ... Initially there was a way by using gconf-editor. That no longer works, neither trough dconf ... Probably you can create a symlink of that by:
ln -s /run/media/yourname/label_or_UUID /home/yourname/Desktop/label_or_UUID

Another way is to use the Removable Drive Menu extension, and will show in the panel when the drive/partition is mounted. If you want to have it mounted automatically, look for adding that entry in fstab ...

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by