Posts: 5
.-083
Joined: 06 Mar 2017
#1
I'd like to add another option to the login screen, icewm + pcmanfm, so I can start a session where it already is the default file manager, i.e., the one which shows up when I click"open folder" in the Firefox or Chrome downloads list, and the one which shows up when I click"file manager" in the menu

How can I do that?

I'm running antiX 17 b2
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
the easiest way is to simply set the default file manager in"Preferred Applications" in the control center. The default filemanager can be set to anything, it doens't have to be whatever is running the desktop. that will cover the menu...not sure about the others.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
Try this in terminal and follow the prompts. I can't swear it will work in Antix 17 though

Code: Select all

change-default-desktop 
Might have to run it twice maybe for it to take if it comes up.
Posts: 64
reverseDog
Joined: 13 Jul 2016
#4
If you set PCManFM as the default application for the mime type"inode/directory", browsers will open the download folder with PCManFM.
Make this assignment by running

Code: Select all

xdg-mime default pcmanfm.desktop inode/directory
in your terminal.
Posts: 604
thriftee
Joined: 27 Feb 2009
#5
You never did say what it was you were looking for that Spacefm and Roxfiler don't have, or are you just used to PCManfm?

There might be someone here that knows how to make them do what you are looking for...
Posts: 1,062
Dave
Joined: 20 Jan 2010
#6
The easiest way I think will be to use the"icewm" option and add pcmanfm to the startup file. Then use desktop-defaults to set pcmanfm as the preferred file manager. Also you may need to use the mime type editor as stated above.

If you want to make it an"official" option I think you could start by editing /usr/lib/desktop-session/lib-desktop-session.sh as root
on line 9 under" icon_manager=" add" ,pcman" to the list
under line 11 add" pcman_enabled='icewm'" (Note: add ',fluxbox' for pcman-fluxbox and ',jwm' for pcman-jwm)
then under line 14 add" pcman_manager='pcmanfm --desktop &'"
save and then run as root /usr/local/lib/desktop-session/desktop-session-slim-update.sh
which should as a pcman-icewm option in slim and desktop-session

Then edit /usr/local/bin/desktop-defaults-run as root
under line 65 add" pcman-*) Exec="pcmanfm" ;;"
which should add pcmanfm to the desktop-defaults follow file manager option.

There may need to be a change made for the wallpaper app. Will need to look sometime and see if it could be made easier.