LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2011, 03:56 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
PCManFM + fluxbox + Network Browsing


I've been trying for ages to find a way of getting Go -> Network Drives to work in pcmanfm.

It works fine in xfce, as does thunar, but in fluxbox it looks like it needs certain daemons running but I haven't found out which yet.

Can anyone shed any light on this?

Things I'm trying:

Code:
if [ -z $(pgrep gvfsd) ]; then
    /usr/libexec/gvfsd &
fi
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

/usr/bin/gnome-keyring-daemon --start --components=ssh &
/usr/bin/gnome-keyring-daemon --start --components=gpg &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11 &
/usr/bin/gnome-keyring-daemon --start --components=secrets &
/usr/libexec/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
*Edit well a bit of an improvement - now I can browse but still cannot open a text file with anything other than kwrite. I'm trying to avoid kde stuff but gvim just opens an empty file.

Last edited by dive; 06-04-2011 at 05:42 AM.
 
Old 06-04-2011, 10:35 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,174

Rep: Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227
I added only the dbus session part to .xinitrc
Code:
--- .xinitrc	2011-06-04 17:30:58.000000000 +0200
+++ .xinitrc.fluxbox	2011-06-04 17:30:40.000000000 +0200
@@ -24,6 +24,10 @@
     xmodmap $usermodmap
 fi
 
+if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+       eval "$(dbus-launch --sh-syntax --exit-with-session)"
+fi
+
 # Start the window manager:
 if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
   exec ck-launch-session /usr/bin/startfluxbox
then I'm starting polkit-gnome from ~/.fluxbox/startup
Code:
--- .fluxbox/startup.orig	2011-06-04 17:34:46.000000000 +0200
+++ .fluxbox/startup	2011-06-04 17:23:43.000000000 +0200
@@ -4,6 +4,8 @@
 #
 # Lines starting with a '#' are ignored.
 
+/usr/libexec/polkit-gnome-authentication-agent-1 &
+
 # Change your keymap:
 xmodmap "/home/poncez/.Xmodmap"
and when I launch pcmanfm seems to work fine (I opened a text file on the samba share with leafpad and gvim too)

Last edited by ponce; 06-04-2011 at 10:37 AM.
 
Old 06-04-2011, 10:48 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Yeah I tried both of those. Still no go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PcmanFM and fluxbox problems? michaelinux Linux - Desktop 3 03-12-2011 11:24 AM
Fluxbox + pcmanfm With no.Mute Linux - Desktop 4 10-27-2009 06:25 AM
Fluxbox and PCManFM questions skazhy Linux - Desktop 1 05-20-2009 07:56 AM
Network shortcuts and Browsing to Network ? AgentZ86 Linux - Networking 2 09-04-2006 11:47 AM
Browsing the Network David@330 Linux - Newbie 4 09-10-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration