Results 1 to 6 of 6

Thread: Why Thunar hangs before opening

  1. #1
    Join Date
    Mar 2005
    Location
    Oregon
    Beans
    1,023
    Distro
    Ubuntu 20.04 Focal Fossa

    Why Thunar hangs before opening

    I'm using Xubuntu 13.10

    I've noticed every time I use Xfce and opening Thunar file manager most of the time it opens quickly, but sometimes it stalls and won't open for a while. Why is this? How can I fix this issue?

  2. #2
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Why Thunar hangs before opening

    Silly question: did you try to remove saved session?
    Code:
    rm -rf ~/.cache/sessions
    and reboot
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  3. #3
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Why Thunar hangs before opening

    Quote Originally Posted by dentaku65 View Post
    Silly question: did you try to remove saved session?
    Code:
    rm -rf ~/.cache/sessions
    and reboot
    Note that to do so, you will need to
    • log out first
    • open a console with Ctrl+Alt+F1
    • log in from the keyboard
    • delete the contents or move the files elsewhere
    • close the console using Ctrl+Alt+F7
    • log in again


    I'm not sure that a reboot is needed.

    If the problem persists, please try to look for some sort of pattern of activity that makes Thunar hang. Thunar hanging when first opened in a session used to be an issue about a year ago but isn't now, AFAIK.

  4. #4
    Join Date
    Mar 2005
    Location
    Oregon
    Beans
    1,023
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Why Thunar hangs before opening

    That was the wrong advice. After running that command it removed all my files!! Now I have to transfer most of them from my backup.

    Maybe someone else knows how to fix thunar. for now I'll live with it or go back to another OS!

  5. #5
    Join Date
    Dec 2009
    Beans
    6,771

    Re: Why Thunar hangs before opening

    I haven't noticed this problem in a while but a few releases ago it was caused by the default way Thunar will search for Samba shares on the network - regardless if you even have samba shares on the network.

    [1] Make a backup copy of a file:
    Code:
    sudo cp -a /usr/share/gvfs/mounts/network.mount /usr/share/gvfs/mounts/network.mount.bak
    [2] Then edit the original network.mount file and set AutoMount to false:
    [Mount]
    Type=network
    Exec=/usr/lib/gvfs/gvfsd-network
    AutoMount=false
    The downside to this is if you do have samba shares on the network then when you access "Browse Network" it will take a while to find them.

  6. #6
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Why Thunar hangs before opening

    Hi,

    Quote Originally Posted by geovino View Post
    That was the wrong advice. After running that command it removed all my files!! Now I have to transfer most of them from my backup.

    Maybe someone else knows how to fix thunar. for now I'll live with it or go back to another OS!
    Which command you enter in order to remove all your files?

    Removing cache sessions as I indicated in post #2 do not delete any personal data though
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •