How do I create folders for the apps on my home screen? I can only seem to be able to add to favorites or view details. Isn’t the phone OS based on android? I should be able to long tap and drag but that isn’t working.
The Librem 5 runs PureOS, which is not based on android. That is one of the major selling points. It is entirely independent from google. PureOS is a linux distribution that is based on Debian, and the Librem 5 also has Phosh to give it a mobile interface.
I don’t think Phosh supports folders yet, but it will eventually become similarly feature-rich like iOS and android but without the malicious code.
The answer is here already here.
Create a file with texteditor, save it
~/.local/share/application and name it
[Filename].desktop. (Replace [Filename] with what ever you want.)
[Desktop Entry] Name=[Desktop Folder Name] Ecec=nautilus /[Full Path] Type=Application Icon=folder
You can replace [Desktop Folder Name] with everything you want. That will be displayed below the desktop icon.
Replace [Full Path] with the path. For Downloads-folder for example
Exec=nautilus /home/purism/Downloads. Not allowed is the short way
That may not be the question though.
If the actual requirement is to be able to group apps into “folders” then just launching
nautilus isn’t really the right answer, although it may somewhat work.
iOS does what I think the OP is asking for. For example, the default “Utilities” app is actually a “folder” of apps. When you touch the Utilities app, instead of launching an app, it expands that group of apps, modally, in front of the app screen, and then you can touch one of the apps inside that group.
So it is a way of having more and more apps on the main screen - instead of adding more app screens (per the way iOS works now) and without having to scroll and scroll and scroll through apps (per the way the Librem 5 works now).
The only problem is … the first thing I do with a new iPhone is pull the useful utilities out of the Utilities group of apps and banish the Utilities app, with the remaining, non-useful utilities, to one of the later app screens.
Still, someone might want this functionality.
I see - was not happy with smartphones and so I didn’t use them a lot. However, a workaround should be to put application-links inside that folder. I just don’t know right now how to link application starts this way (would have to search about it).
You can add actions to one or more
.desktop files and paste the
Exec= command from whichever packages you want to launch. I made a post here about adding actions to
This would be how to make a folder-like
.desktopfile in a text editor like gedit and add this:
[Desktop Entry] Name=Folder Type=Application Icon=/PATH/TO/ICON/ Exec=DEFAULT APPLICATION OR COMMAND Categories=Utility; ##Define Actions (as many as you want) Actions=app_1;app_2;app_3; [Desktop Action app_1] Name=APPLICATION NAME (or whatever you want) Exec= [Desktop Action app_2] Name=APPLICATION NAME (or whatever you want) Exec= [Desktop Action app_3] Name=APPLICATION NAME (or whatever you want) Exec=
For the packages that you want to add, open the
/usr/share/applications/and copy/paste the
Exec=line into your new
.desktopfile for one of the actions.
To run one of the commands, tap and hold on the
.desktopicon (or right-click it if you have a mouse connected) and tap (or click) the action on the popup menu.
This is how I handle my Librem 5, and I also have custom scripts for useful things.
Hello. Thank you so much for this tutorial. Great stuff.
However, I am having trouble creating an action (Execution) to create a folder to open the SD card folder.
What would be the correct command to do that?
I think the command is
nautilus /media/purism/3438-3439 (replace the number with your own.) @flanders51
Worked like a charm. Thank you!