Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 16 Dec 2019, 09:57
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
PCmanfm opens at boot, won't stay closed (SOLVED)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
proebler

Joined: 24 Jan 2012
Posts: 161
Location: TAS

PostPosted: Sun 20 Oct 2019, 07:51    Post subject:  PCmanfm opens at boot, won't stay closed (SOLVED)
Subject description: Dpup Stretch 7.5 on USB
 

I have set up a frugal Dpup Stretch 7.5 on USB and done some customizing using a savefile.
Pcmanfm is set as default file manager.
Upon booting the system or on restart-X I get an automatic pcmanfm window showing the filesystem "/".
When I close that window by any method Ctrl+Q/Exit/Close , the window immediately re-appears in a slightly different position on the desktop.

I have to close this window 11 (eleven) times before it no longer re-appears.
Only one instance ever shows in the task bar.
If I use restart-X, the sequence gets set up again.

Any suggestions on what goes on here?
I am much puzzled.

Last edited by proebler on Mon 21 Oct 2019, 08:13; edited 1 time in total
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 1022

PostPosted: Sun 20 Oct 2019, 14:47    Post subject:  

Check in /root/Startup for a script or link that might be starting it wrong,

And .. check /etc/X11/Xsession.d for the offending script, as well.

That should help you get started, anyway. It's hard to guess unless we know more.
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 161
Location: TAS

PostPosted: Sun 20 Oct 2019, 17:07    Post subject:  

Thanks for the pointers, jafadmin.

However, I cannot see anything in either /root/Startup or /etc/X11/Xsession.d that looks as if it could be the culprit Sad
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3548
Location: 500 seconds from Sol

PostPosted: Sun 20 Oct 2019, 17:55    Post subject:  

Hi proebler,

I wouldn't know what to look for in it, but there may also be a pcmanfs config file somewhere in /root; perhaps hidden, i.e. starting with or within a folder starting with "."/dot.

FWIW, I use xfe in order to have a dual-pane + tree view file-manager. I haven't ran across a puppy it doesn't play nice with.
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 1022

PostPosted: Sun 20 Oct 2019, 18:12    Post subject:  

The only other possibility is Voodoo. Have you angered any witch doctors lately? Surprised
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 215

PostPosted: Sun 20 Oct 2019, 18:49    Post subject:  

If not in /root/.config/autostart it might be in
/etc/xdg/autostart

It might be a script or a dot desktop file.

You could try searching for it.

grep -Ri pcmanfm /root/*
grep -Ri pcmanfm /etc/*

if pcmanfm is what starts it.

find /root/ /etc/ -iname *desktop
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 215

PostPosted: Sun 20 Oct 2019, 19:24    Post subject:  

If /usr/local/bin/roxfiler was changed to execute pcmanfm
then when Puppy tries to start the pinboard (desktop wallpaper and icons)
it will run pcmanfm instead.

And the drive icons that appear on the desktop.
Each icon is created with a roxfiler command.

Is the desktop still working?
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 161
Location: TAS

PostPosted: Mon 21 Oct 2019, 08:12    Post subject:  

Thank you all.
@williams2, that "find /root/ /etc/ -iname *desktop" is really useful line.

I have now found the reason for the weird behavior:
Default Application for Filemanager was set to 'pcmanfm /'.
The correct setting is without the "/", simply 'pcmanfm'.
Both setting versions are available in the drop-down list.

Both /root/.config/autostart and /etc/xdg/autostart were involved in the weird behavior.
There are a total of 11 items in the two autostart directories.
The system would deal with the 1st item, open the file manager and then stop till the file manager got closed. Then the 2nd item would be dealt with .. and so forth.
This showed in tray icons for clipit, firewall status, etc. appearing one after the other as the file manager window(s) got closed.
Attached is a screenshot of HTOP which shows the system at the (stopped) clipit sequence.

No Voodoo after all, but certainly very confusing.
Screenshot-1.png
 Description   
 Filesize   40.74 KB
 Viewed   50 Time(s)

Screenshot-1.png

Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 1022

PostPosted: Mon 21 Oct 2019, 11:33    Post subject:  

proebler wrote:

No Voodoo after all, but certainly very confusing.


"Like sands through the hourglass, so are the days of our lives .." Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0553s ][ Queries: 13 (0.0195s) ][ GZIP on ]