Choose style:

Author Topic: recent files launcher [SOLVED]  (Read 1954 times)

0 Members and 1 Guest are viewing this topic.

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
recent files launcher [SOLVED]
« on: May 01, 2017, 04:39:53 pm »
Hi, I nearly have every thing sorted on my peppermint 7 with the exception of two issues one of which is to create a launcher for recently used files. I have been using the below tutorial.

https://unix.stackexchange.com/questions/199542/how-to-create-a-launcher-to-show-recent-files

And it works only for one irritating  behavior. It throws recent files by icon and I would prefer to see them in a column list format. I can change it to list view using the icons at the top right. But when I close the list and relaunch the view defaults back to icon view. So my question is whether there is a way to display the recent files in list view by default.?

Thank you in advance.

Siawacsh
« Last Edit: May 02, 2017, 08:26:24 am by siawacsh »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher
« Reply #1 on: May 01, 2017, 09:42:58 pm »
Are you using nemo (default file manager) or nautilus (as per your link) to display the recent folder ?
« Last Edit: May 01, 2017, 10:22:57 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: recent files launcher
« Reply #2 on: May 02, 2017, 06:41:45 am »
I don't know. How can I find out?

Siawacsh

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher
« Reply #3 on: May 02, 2017, 07:24:16 am »
What is the contents of the launcher you created ?

And what's the output from:
Code: [Select]
ls -al ~/ | grep .local && ls -l ~/.local | grep share && ls -l ~/.local/share | grep gvfs-metadata && ls -al ~/.local/share/gvfs-metadata
« Last Edit: May 02, 2017, 07:34:15 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: recent files launcher
« Reply #4 on: May 02, 2017, 07:31:19 am »
Thanks! It is nautalius.

Code: [Select]
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Recent files
Comment=Show recent files in Nautilus
Exec=nautilus recent:///
Icon=file-manager
Terminal=false

Siawacsh
« Last Edit: May 02, 2017, 06:56:49 pm by AndyInMokum, Reason: Encapsulating output with [code]. »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher
« Reply #5 on: May 02, 2017, 07:35:17 am »
Can you post the output from:
Code: [Select]
dpkg -l | grep nautilus
and
Code: [Select]
dpkg -l | grep nemo
and
Code: [Select]
ls -al ~/ | grep .local && ls -l ~/.local | grep share && ls -l ~/.local/share | grep gvfs-metadata && ls -al ~/.local/share/gvfs-metadata
« Last Edit: May 02, 2017, 07:40:35 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: recent files launcher
« Reply #6 on: May 02, 2017, 07:44:53 am »
Here you are

nautilus
Code: [Select]
siawacsh@siawacsh-sager ~ $ dpkg -l | grep nautilus
ii  libnautilus-extension1a:amd64                 1:3.18.4.is.3.14.3-0ubuntu5                amd64        libraries for nautilus components - runtime version
ii  nautilus                                      1:3.18.4.is.3.14.3-0ubuntu5                amd64        file manager and graphical shell for GNOME
ii  nautilus-data                                 1:3.18.4.is.3.14.3-0ubuntu5                all          data files for nautilus
ii  nautilus-sendto                               3.8.2-1ubuntu1                             amd64        integrates Evolution and Pidgin into the Nautilus file manager
siawacsh@siawacsh-sager ~ $


nemo
Code: [Select]
siawacsh@siawacsh-sager ~ $ dpkg -l | grep nemo
ii  gir1.2-nemo-3.0                               2.8.7-1~webupd8~xenial07                   amd64        libraries for nemo components - gir bindings
ii  libnemo-extension1                            2.8.7-1~webupd8~xenial07                   amd64        Nemo component system facilities
ii  nemo                                          2.8.7-1~webupd8~xenial07                   amd64        File manager and graphical shell for Unity
ii  nemo-data                                     2.8.7-1~webupd8~xenial07                   all          File manager and graphical shell for Unity (data files)
ii  nemo-dropbox                                  2.2.1+peppermint                           amd64        Dropbox integration for Nemo
ii  nemo-fileroller                               2.8.0-2~webupd8~xenial0                    amd64        File Roller integration for Nemo
ii  nemo-gtkhash                                  2.8.0-1~webupd8~xenial0                    amd64        nemo extension for computing checksums and more using gtkhash
siawacsh@siawacsh-sager ~ $


Code: [Select]

siawacsh@siawacsh-sager ~ $ ls -al ~/ | grep .local && ls -l ~/.local | grep share && ls -l ~/.local/share | grep gvfs-metadata && ls -al ~/.local/share/gvfs-metadata
drwxr-xr-x  3 siawacsh siawacsh  4096 Mar 31 18:14 .local
drwxr-xr-x 18 siawacsh siawacsh 4096 May  2 12:36 share
drwx------ 2 siawacsh siawacsh   4096 May  1 23:50 gvfs-metadata
total 420
drwx------  2 siawacsh siawacsh  4096 May  1 23:50 .
drwxr-xr-x 18 siawacsh siawacsh  4096 May  2 12:36 ..
-rw-------  1 siawacsh siawacsh 38964 May  1 23:50 home
-rw-rw-r--  1 siawacsh siawacsh 32768 May  1 23:50 home-a1946053.log
-rw-------  1 siawacsh siawacsh   440 Apr 11 17:23 mtp:host=%5Busb%3A002%2C006%5D
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr 11 17:23 mtp:host=%5Busb%3A002%2C006%5D-b0fe6c7c.log
-rw-------  1 siawacsh siawacsh   304 Apr  5 17:36 mtp:host=%5Busb%3A002%2C007%5D
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr  5 17:36 mtp:host=%5Busb%3A002%2C007%5D-bc52a3dd.log
-rw-------  1 siawacsh siawacsh   676 Apr 13 22:45 mtp:host=%5Busb%3A002%2C008%5D
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr 13 22:45 mtp:host=%5Busb%3A002%2C008%5D-a8610c43.log
-rw-------  1 siawacsh siawacsh   400 May  1 21:02 recent:
-rw-rw-r--  1 siawacsh siawacsh 32768 May  1 21:02 recent:-3eb539f2.log
-rw-------  1 siawacsh siawacsh 16792 May  1 23:50 root
-rw-rw-r--  1 siawacsh siawacsh 32768 May  1 23:50 root-ca469090.log
-rw-------  1 siawacsh siawacsh   156 Apr 24 15:52 uuid-0000-006F
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr 24 15:52 uuid-0000-006F-89db882e.log
-rw-------  1 siawacsh siawacsh   280 Apr 14 21:47 uuid-3665-3061
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr 14 21:47 uuid-3665-3061-1749ebdd.log
-rw-------  1 siawacsh siawacsh   384 May  1 18:32 uuid-6C57-E98C
-rw-rw-r--  1 siawacsh siawacsh 32768 May  1 18:32 uuid-6C57-E98C-ebe1be30.log
-rw-------  1 siawacsh siawacsh   384 Apr 14 14:16 uuid-9016-4EF8
-rw-rw-r--  1 siawacsh siawacsh 32768 Apr 14 14:16 uuid-9016-4EF8-d4e256d4.log
siawacsh@siawacsh-sager ~ $


« Last Edit: May 02, 2017, 06:56:15 pm by AndyInMokum, Reason: Encapsulating output with [code]. »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher
« Reply #7 on: May 02, 2017, 07:54:05 am »
Okay, run:
Code: [Select]
sudo apt-get remove --purge nautilus nautilus-sendto
then
Code: [Select]
pluma ~/.local/share/applications/recent-files.desktop
and change it's contents from:
Code: [Select]
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Recent files
Comment=Show recent files in Nautilus
Exec=nautilus recent:///
Icon=file-manager
Terminal=false
to
Code: [Select]
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Recent files
Comment=Show recent files in Nemo
Exec=nemo recent:///
Icon=file-manager
Terminal=false
SAVE the file and exit pluma

Now try your launcher

Set it to list view

then close and reopen it

did it remember the list view ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: recent files launcher
« Reply #8 on: May 02, 2017, 08:08:07 am »
That worked a treat!

Thank you PCNETSpec.

Siawacsh

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher
« Reply #9 on: May 02, 2017, 08:18:30 am »
You're most welcome :)

Can you please remember to mark the topic (SOLVED) .. you can do this by editing the FIRST posting in this topic and changing:

Subject: recent files launcher (SOLVED)

Thanks in advance.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline siawacsh

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • New Forum User
    • View Profile
Re: recent files launcher
« Reply #10 on: May 02, 2017, 08:25:53 am »
Sorry I forgot.  Consider it done.

Siawacsh

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25100
  • Karma: 2779
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: recent files launcher [SOLVED]
« Reply #11 on: May 02, 2017, 08:32:50 am »
TVM :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec