PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:05:47 AM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: How do I replace PCLOS-LXDE's PCManFM with Thunar+XFDesktop?  (Read 1539 times)
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« on: September 02, 2010, 04:49:29 AM »

Hi, all! Thanks for the attention. I've never posted on a forum before, so please bear with me if I seem a bit noob-ish.  Tongue

I'm trying to do a PCLOS-LXDE 2010 remaster for myself and a few friends, and I've fallen in love with the simplicity of LXDE, but I don't much care for PCManFM.

As PCManFM handles both file and desktop management functions (icons, etc), I'd like to replace it with the two programs used in XFCE: Thunar for files, XFDesktop for the desktop.

Since LXDE is largely comprised of openbox+lxpanel, I'm guessing that to set these as the defaults I'd have to edit an Openbox config file (that or a startup script), but I don't know where such a file exists; I'm not that familiar with the *boxes, and I've never swapped DE components like this.

I don't doubt that what I'm trying to do is possible, but am I in the right ballpark?
Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: September 02, 2010, 04:55:07 AM »

Hi NotBOB - big welcome to the PCLinuxOS forum, nice to have you with us.

As for your PCManFM issue I'll leave that to someone who uses lxde (I'm an KDE user) but I'm sure someone will come along with some sound advice.

Enjoy!
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
uncleV
Guest
« Reply #2 on: September 02, 2010, 05:11:52 AM »

I didn't do that but saw both are in Synaptic.
What about just installing them?
Logged
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #3 on: September 02, 2010, 05:49:19 AM »

menotu, thanks for the welcome  Grin

uncleV, thanks for the info. I know they are in the repos, but I don't know how to make them the default. setting up Thunar as the file browser will probably be easy, but in the case of XFDesktop I've never changed default desktop managers before and don't know how to configure it...   Undecided

I'm currently installing a fresh instance of PCLOS-LXDE to mess with, and maybe I'll figure it out on my own, but any further help is appreciated  Wink
Logged
uncleV
Guest
« Reply #4 on: September 02, 2010, 06:07:14 AM »

I see if you install XFDesktop it installs with xfce-utils so I suppose (but am not sure) that it will replace automatically the LXDE desktop features.

xfce-utils
-----------------
The utilities and scripts provides an about dialog for
Xfce 4, an application launcher, and several useful
scripts that are also used by other Xfce components such
as the panel and the desktop menu.
------------------

It is worth you wait some more for the guys from USA to wake up and come in Wink, especially Neal for LXDE advice.
.
Logged
timeth
Hero Member
*****
Offline Offline

Posts: 788


Location: Japan, but I'm Aussie > G'day mate! See?


« Reply #5 on: September 02, 2010, 06:19:05 AM »

Hey NotBOB,

As uncleV said, maybe Neal would be the one to help you with this but I was just thinking, LXDE is the desktop manager so if you change that, it wouldn't be LXDE anymore. That's just my thoughts, I'm not too sure though, I'm a KDE user too. Have you tried the XFCE release? I think it uses Thunar as default. 
Logged

宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #6 on: September 02, 2010, 06:59:25 AM »

Hey timeth,

As I understand, a desktop manager is the program that manages desktop icons, etc. effectively posting the contents of /home/$YOUR_NAME/Desktop onto your desktop for all the world to see, whereas LXDE is the desktop ENVIRONMENT, which is the name we give to the group of programs that make up the entire environment: the panel, the control center, the window manager, the desktop manager, and then some. So, technically it wouldn't be LXDE anymore since LXDE is made up of lxpanel, lxdecc, openbox and pcmanfm. It'd be more of a hybrid between LXDE and XFCE.  Roll Eyes

I'd rather start with LXDE and replace pcmanfm than start with Phoenix XFCE and replace the xfce panel with lxpanel, mostly because I don't like the XFCE control center as much.   Cheesy

Basically I'm trying to do this because with intensive use PCManFM has a tendency to lock up (I've experienced this on multiple computers with multiple distros, so I know it's not just my hardware or PCLOS). If anyone has an idea of a better lightweight file manager to use, or a better desktop icons manager (one that supports manually moving and rearranging icons and creating files/folders on the desktop), please let me know. XFCE's stuff just came to mind first because I know it's light and works.   Grin
Logged
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #7 on: September 02, 2010, 07:13:57 AM »

UncleV,

I've installed thunar and xfdesktop now (along with their dependencies --- pretty much the whole XFCE desktop environment), but it still starts with PCManFM. I know I can go into a terminal and do [killall pcmanfm] and then [xfdesktop & exit] and everything works fine that way, but I don't know how to configure the environment to start with xfdesktop first rather than my manually having to kill PCManFM. Ideally I'd like to be able to REMOVE (as in uninstall) PCManFM.
Logged
uncleV
Guest
« Reply #8 on: September 02, 2010, 07:20:04 AM »

Look in Configure Your Computer-->System-->GDM Settings-->General-->Default Session if there is something like Xfce.
I'd logout or even reboot prior to this.
Logged
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #9 on: September 02, 2010, 07:37:38 AM »

I couldn't find GDM settings in Configure Your Computer-->System, but I logged out and was able to go into session and change it to XFCE, so yes, apparently in installing those dependencies it DID end up giving me the entire XFCE desktop environment, as I can and have now just booted into XFCE, but I don't want to settle for one or the other; I want my custom DE. I'm starting to think maybe I should just go find a pure openbox remaster over at the project forum. I could start with that, download lxpanel, thunar, xfdesktop and lxdecc, and just create a startup script to run lxpanel and xfdesktop at boot...

EDIT: by 'the project forum' I meant the community project site at mypclinuxos.com, in case that wasn't clear
Logged
uncleV
Guest
« Reply #10 on: September 02, 2010, 07:43:59 AM »

I can't help further NotBOB Smiley
Logged
NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #11 on: September 02, 2010, 07:57:46 AM »

Thanks anyway, uncleV. I should go to bed anyway; I'm just another American with poor sleeping habits, and I've gotta be up in 3 hours   Grin Grin Roll Eyes

By the way, about the pure openbox idea, I'm going to try melodie's PCLinuxOS Openbox 2010.7. Seems to be exactly what I had in mind (I'd try the mini, but aparently it doesn't work quite right yet).

Still, if anyone knows how to set the default desktop icons manager, or of a more standalone program than xfdesktop with the same functions, I'm still all ears. This case ain't closed yet!   Wink
Logged
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15201


LXDE! Coffee, Bacon and Cheesecake!


« Reply #12 on: September 02, 2010, 07:58:35 AM »

NotBob.
LXDE is the desktop environment, yes. Openbox is the desktop manager. PCManFM is the desktop manager, as well as file manager.

I've not done as you say you want, so this will require some guess work. Smiley
 
Look in /home/<you>/.config/pcmanfm/ for the file main.lxde. Open it with leafpad and comment out the line
Code:
show_wallpaper=1

It will appear as -
Code:
#show_wallpaper=1

This will stop PCManFM from controlling your desktop.

Look in /usr/share/applications for the XFDesktop.desktop file and copy it to /home/<you>/.config/autostart. This will start XFDesktop on login.

Or, if you prefer, you can start with the openbox remaster and make the changes you want. Smiley
Logged

NotBOB
Jr. Member
**
Offline Offline

Posts: 12


« Reply #13 on: September 02, 2010, 08:14:00 AM »

Thanks, Neal. Glad I stayed online for one more refresh.  Grin

I will do as you say, but as far as commenting out that line goes, will that disable pcmanfm entirely? as in, wallpaper, desktop icons, etc? I want pcmanfm to not run at all on startup, and xfdesktop or similar to run instead.

I should've thought to copy it to autostart myself, although I prefer to make a .sh file in autostart and put my startup commands in that as opposed to copying the .desktop file. is there any reason not to do it that way?

Thanks again! I'm off to bed!  Roll Eyes
Logged
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15201


LXDE! Coffee, Bacon and Cheesecake!


« Reply #14 on: September 02, 2010, 08:32:57 AM »

Thanks, Neal. Glad I stayed online for one more refresh.  Grin

I will do as you say, but as far as commenting out that line goes, will that disable pcmanfm entirely? as in, wallpaper, desktop icons, etc? I want pcmanfm to not run at all on startup, and xfdesktop or similar to run instead.

I see. Commenting out that line will stop PCManFM from managing your desktop display. However, you should be aware that there is the possibility of that file being rewritten by a future update. In that case, you would need to comment the line again.

Quote
I should've thought to copy it to autostart myself, although I prefer to make a .sh file in autostart and put my startup commands in that as opposed to copying the .desktop file. is there any reason not to do it that way?

Thanks again! I'm off to bed!  Roll Eyes

Okay. If you know how to use the shell script method to autostart an application, I see no reason that you couldn't do so.
Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM