Pcmanfm in deamon-mode without ui

Hey folks!
I run pcmanfm on my openbox as filemanager. And there is the possibility to run pcmanfm as a deamon to automount usb-sticks etc. But there is some small problem: when I run
pcmanfm -d
the filemanager pops up. Since I want to autostart this deamon I do not want to start the gui of pcmanfm on every login. I just want it to run in background.
Does anybody know a solution for this behaviour?
Cheers and thanks
Chris

Hello,
Still searching the answer for that. I think it's a bug.
I'll file it on pcmanfm bug tracker... (edit : https://sourceforge.net/tracker/?func=d … id=801864)
A working dirty hack, close the window
(you need to "pacman -S wmctrl")
pcmanfm -d&
sleep 0.5
pcmanpid=`ps -eo pid,cmd | grep "pcmanfm -d" | grep -v "grep" | awk '{print $1}'\`
pcmanwindow=`wmctrl -lp | grep -e ".* .* $pcmanpid" | awk '{print $1}'`
wmctrl -i -c $pcmanwindow
One-line version I put in openbox autostart.sh
((pcmanfm -d&) && sleep 0.5 && wmctrl -i -c $[`wmctrl -lp | grep -e ".* .* $[\`ps -eo pid,cmd | grep "pcmanfm -d" | grep -v "grep" | awk '{print $1}'\`]" | awk '{print $1}'`])&
It's possible to decrease the sleep if you see the window, but the launching time may vary. If it's too short it will simply not work and keep pcmanfm window.
Instead of sleep, it would be better to wait for the window, but for now, I need to sleep...
Cheers
Last edited by grubshka (2010-11-19 08:51:46)

Similar Messages

  • Is there a way to get iphone 4s out of recovery mode without restoring it?

    i was just using my iphone 4s normally and it just froze randomly. i held down the power and home button like i usually do, because my phone freezes up on me somewhat often. i saw a "connect to itunes" screen that i have never seen before, and once i connected it to itunes, it said that it was in recovery mode and the only way i could use it is to restore it. problem: i don't want to lose everything on my phone! everytime i've tried to back it up something crashes so i've never been able to back it up, so if i restore it i've lost all my pictures for good. is there a way to get it out of recovery mode without restoring it? please help!

    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • IPhone 3GS froze during iOS 5.1.1 update - how do I get out of recovery mode without having to restore?

    So I tried to update my iPhone 3GS to iOS 5.1.1, like iTunes told me to do, and it froze part way through the installation for a couple of hours.  I tried to "reset" the iPhone by pressing both the home and power buttons simultaneously, but now iTunes tells me my iPhone is in recovery mode.  From my limited knowledge, it seems I need to restore my iPhone, but I don't want to lose anything, like my SMS history.
    Is there a way to get out of recovery mode without having to restore?
    Thanks!

    I came across this post as my iPhone 3Gs had gone into recovery mode on its own accord.   I had hundreds of photos unsaved and was gutted when I saw this post, I felt even worse as it was not the information (gdgmacguy) I wanted to read.
    Unfortunately, the above post is simply wrong! A system cannot destroy information in a blink of an eye.   If it were that easy, the forensic teams across the world would have a hard time.  A criminal could simply force a phone into recovery to remove all the data.  Please!
    I managed not only to take the phone out of recovery mode but also, salvaged all the data held on it.  
    To be fair, I am a little annoyed at Apple for not offering a salvage option on the device for such a situation.  And it may be that they will not like me sharing this information, in which case I believe this view to be morally wrong because photos are so important.  We all make mistakes, in terms of forgetting to backup from time to time.
    What I used was the Redsn0w software, running as an administrator in XP compatibility mode.  In the ‘Extras’ section it as a Recovery Fix option.  It simply runs some software that takes the device out of recovery mode.  I had to run it twice for some reason but the second time (out of desperation) worked a treat.  The phone is now exactly as it was before it went into recovery mode.  More to the point, it allowed me to backup all the photos and videos that I had failed to do before hand.  And let’s face it, photos and videos are usually the most valuable stuff we keep on our phones. 
    I hope this help anyone in the same situation. I really hope someone from apple reads it and is able to convince the bosses that a recovery option is very important.  And to take note that YES it is possible to recover data on a phone stuck in recovery mode.  And more than likely it would be easier for apple, compared to other non-apple professionals. 
    Good luck.

  • HT201263 how to place your device into recovery mode without home button?

    How to place your device into recovery mode without home button?

    Try these programs:
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    The Firmware Umbrella - TinyUmbrella

  • The battery of my 2nd gen itouch drained. when i tried to charge it, it's already in recovery mode. how can i get it out of recovery mode without restoring?

    my 2nd gen itouch went to recovery mode after the battery drained. how do i get it out of recovery mode without restoring it? btw, my itouch is not jailbroken and it's on ios4 (don't know which version). thanks!

    you can find softwares like recboot that will remove the recovery mode. you can search it on google
    http://www.google.com.np/search?q=download+recboot&ie=utf-8&oe=utf-8&aq=t&rls=or g.mozilla:en-US:official&client=firefox-a

  • How to I get my phone out of recovery mode without resetting it to factory

    My phone is stuck in recovery mode. I'm just wondering if there is a way to get it out of recovery mode without resetting it to factory settings. I don't have any recent back-up available. There are alot of photos on my phone I would prefer not to lose by ressetting it back to factory.

    You don't. Once it's in recovery mode, anything that was on the phone is already gone.

  • How can i get a iphone 3G out of recovery mode without restoring it

    Need Help, How can I get a iPhone 3G out of recovery mode without restoring it. it has never been backed up so restoring it will loose all contacts etc.

    You can't get it out of recovery mode without restoring it. 
    If it's in recovery mode, your data's almost certainly gone anyway.

  • How do i get out of recovery mode without restoring on my jailbroken iphon 4? i ve tried tiny ubrella, recboot, redsnow etc.. idont want to lose my data base. thank in advance.

    how do i can get out of recovery mode without restoring on my jailbroken iphone 4 (5.1.1)?? i ve tried with tinyubrella, redsnow, recboot etc.. plese help because i dont want to lose my database. thanks in advance..

    Go elsewhere. Jailbreaking can't be discussed in this Apple forum.

  • DFU Mode. Is it possible in anyway to enter this mode without a computer?

    Hello.
    Me and my friend have a big argument about DFU mode.
    * He calims that it is possible to enter DFU mode without a computer at all.
    * I claim that entering DFU mode without a computer or any other external hardware is impossible at all.
    * I also claim that it is possible with a software only, without phisicaly touching the iDevice using iTunes or any other software.
    I also explained him that DFU is "Device Firmware Upgrade" and it must get connected with a PC or MAC to get into this mode.
    Can someone professionaly explain us the correct answer so that we can finaly solve this issue?
    Thanks in advance,
    Asaf Moraz.

    Exactly! while i connect it to the computer it just power on the device.
    When i press the power again without forcing it through hard reset and without connecting it to the computer it just power up.
    That's why i am allmost sure there is no way to enter this mode (DFU) without beeing connected to the computer and tha's what i tried to prove.
    Thanks a lot for your time by the way...

  • Can we put RAC database in Archivelog mode without shutting down

    All,
    Can we put RAC database in Archivelog mode without shutting down.
    Currently our new production database (2 node RAC) is in no archive log mode, Need to enable archive log in the database...
    I believe we need to set the cluster_database=false and then put the DB in archive log mode then we need to bounce the database to take effect...
    Just curious to know in 11gR2 ...Can we put the RAC database in archive log mode without any downtime ...?

    Even RAC or non-RAC, database should bounced and enable/disable archive log mode from mount status.

  • How to put ipod in recovery mode without a home button ???

    how to put ipod in recovery mode without a home button and i cant get in to my devise what can i do ???????????

    Place the iPod in recovery mode using one of these programs:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too

  • Hi! I 've a problem with my ipad mini. Does anyone know if there is a way to get out from recovery mode without reinstall iOS?

    Hi! I 've a problem with my ipad mini. Does anyone know if there is a way to get out from recovery mode without reinstall iOS?

    Many thanks Deggie! I think my iPad has a big problem because is not possible to restore it....I downloaded the most upgraded version of iOS but  when I try to restore an error message occurs (4005)......

  • ORA-22292: Cannot open a LOB in read-write mode without a transaction

    Hi ,
    somebody can help me, what is that problem.
    I run the script by using the Oracle SQL developer to update the clob column.
    error message is :
    ORA-22292: Cannot open a LOB in read-write mode without a transaction.
    Regards,
    Message was edited by:
    user533045

    Without posting the code its difficult for anyone to figure out whats wrong with this
    error.Please paste the code.
    Khurram

  • How to get ipod out of recovery mode without losing media.

    i tryed to update my ipod on another computer and it put it in recovery mode.how do i get it out of recovery mode without losing media.

    If this program does not work then you will have to restore.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • How can I step backwards when in shuffle mode, without reshuffling?

    How can I step backwards though my previously played songs when in shuffle mode, without reshuffling the order of the songs?

    It shouldn't change the order when you step back.

Maybe you are looking for

  • Where did my iTunes go?

    Where did my iTunes go? I upgraded my iphone4 and it removed my iTunes and other apps too. What happend and how can I get iTunes back on my iphone4..? Also a photo album from my iPhoto on my computer sync with my iPhone and I cant figure out how to d

  • Can we add page numbers to ALV Grid Control.

    Hi All, 1.My requirement is to display page numbers when we down load the list in to EXCEL. Can we do this in ALV Grid Control. 2.Can we display the page numbers in the SAP Query,when we down load the out put list in to the EXCEL. Thanks & Regards, S

  • Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST

    Hi everyone, I'm passing the postingkey, WBS element, Sales tax code into the EXTENSION1 variable of BAPI_ACC_DOCUMENT_POST. But it is populating the postingkeys with other values. suppose, i'm passing the posting keys with values 02, 12 but when i c

  • NOT including files in organizer

    Hello all: When I save a file, in the "Save" dialogue, its default is "Include in Organizer" (the box is checked). Is there a way to "Not include in Organizer" as the default? Thanks Mike

  • Can we install two OIM Cluster against same OIM DB Tables?

    Is it possible to run two OIM clustered installations - OIMCLUSTER1 and OIMCLUSTER2 (only one node in each cluster at this time) against the same OIM DB Tables? Thanks!