SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Help & Support (Stable) » File Manager Folder Icons » 2011-08-04 19:03:54

I've tried PcManFM, Rox & Thunar. Unless there's an option I can't see  None of those can do it.
Ultimately what I'm after is a way to accomplish this in a File Browser without having to run Nautilus.

#2 Help & Support (Stable) » File Manager Folder Icons » 2011-08-04 17:59:16

larsenguitars
Replies: 4

Can any File Manager other than Nautilus set Icons for each folder ?

Screenshot of my Nautilus, so you can see what I mean;
nautilusicons.png

#3 Re: Help & Support (Stable) » [SOLVED] mounting sshfs at startup » 2011-08-04 16:57:09

xaos52 wrote:

All commands in autostart.sh must be backgrounded:

Thanks. Works now.
I can't believe it was that simple. I didn't put the "&" on the end of the line.
I thought that only had to be done for ongoing processes like daemons.

Still, this made me do some research and I found autofs. I'm going to give that a try as a more DE-independent way to mount.

#4 Re: Help & Support (Stable) » [SOLVED] mounting sshfs at startup » 2011-08-03 13:21:08

I have absolutely no experience with Xresources files.
Anyone got any specific details on how I might go about that, in regards to sshfs ?

#5 Help & Support (Stable) » [SOLVED] mounting sshfs at startup » 2011-08-03 09:03:30

larsenguitars
Replies: 5

My Frst post here.
Fresh install. So far very impressed.

However, I have a problem mounting my sshfs from autostart.sh

I have a custom sshd_config file allowing only my user, not root.
My sshfs are set up with passwordless -t rsa -b 4096.
I mount them into ~/Network with a subfolder for each separate sshfs.

I have 2 shares (Raid, Blu-Rays). I mount with:

sshfs username@mainpc:/media/Raid /home/username/Network/Raid -o cache_timeout=120
sshfs username@mainpc:/media/Blu-Rays /home/username/Network/Blu-Rays -o cache_timeout=1000

These commands work perfectly from both the run prompt & terminal.
On my other computers, this works perfectly with Gnome Startup Applications under Debian, SUSE, & BSD.
I have also had this working perfectly a couple of weeks ago under Sid/OpenBox calling from autostart.sh exactly as I am trying to do right now.

For some reason, it just won't work for me.
The sshfs shares actually do mount, but the desktop hangs for a few seconds (no panel, no conky) until autostart.sh finishes, then dumps me back at the login screen.
At the login screen, I can Ctrl-Alt-F1 to get to tty1. There I log in & find that the shares are mounted & browsable.
The desktop just keeps dumping me at the login screen until I either remove or comment the two sshfs lines from autostart.sh

Without the offending lines the desktop takes 5 seconds to load, so I've given them plenty of delay.
I thought maybe it didn't like my syntax, so I tried it a few different ways:

(sleep 11 && sshfs username@mainpc:/media/Raid /home/username/Network/Raid -o cache_timeout=120)
sh -c "sleep 11 && sshfs username@mainpc:/media/Raid /home/username/Network/Raid -o cache_timeout=120"

I even tried writing two different executable .sh scripts in my home folder using both "!/bin/sh -e" & "#!/bin/bash"
...and calling them from autostart.sh with:

sleep 11 && bash /home/username/path/script.sh

...then I tried:

(sleep 11 && bash /home/username/path/script.sh)

...then I tried:

sh -c "sleep 11 && bash /home/username/path/script.sh"

ALL with EXACTLY the same result.
Panel & Conky don't load, then once the script finishes I get dumped at the login screen.
Once I remove any call to sshfs or script.sh from the autostart.sh file, everything works correctly and Panel & Conky load within 5 seconds.

As I said, I have had this working on OpenBox before on an install I did a few weeks ago starting with a minimal Debian.
So, wtf am I doing worng ?

Any suggestions for other ways to load the sshfs at startup ?
I can't use rc.local to do it because, as I said, I have disallowed root in my sshd_config
Questions ?
Suggestions ?

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo