Bodhi Linux Forums: Alternative method for installing dropbox without Nautilus - Bodhi Linux Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Alternative method for installing dropbox without Nautilus

#1 User is offline   beitme 

  • Member
  • Group: Members
  • Posts: 12
  • Joined: 19-June 11

Posted 07 July 2011 - 11:26 PM

So after spending half the day figuring this out, I noticed someone already posted a wiki how-to page on it: http://www.bodhilinu...all_no_nautilus

Well, I figure, to avoid regret over losing 4 or 5 hours of my time, here's the method I came up with. This is somewhat differently implemented.

download dropbox: https://www.dropbox....nloading?os=lnx
unzip
key file - "dropboxd" in ".dropbox-dist"

register as application w/ enlightenment
- icons are here: /home/beitme/.dropbox-dist/icons/hicolor/16x16/status
register w/ autostart

"open dropbox folder" functionality:
1)create "nautilus" file in /bin
2)enter following script:
#!/bin/bash
exec pcmanfm $@
exit 0
3)make file executable

[EDIT] originally wrote in a purportedly updates nautilus script. It didn't work right, so original is back in the game.
0

#2 User is offline   ylee 

  • King of the Software Page
  • Group: Moderators
  • Posts: 1209
  • Joined: 11-April 11
  • LocationWest Virginia, USA

Posted 07 July 2011 - 11:45 PM

I am sorry you spent half a day trying to figure that out when I wrote a wiki on how to do it. The wiki started out as my own notes and it looks like a few others have added some stuff to it. But I probably should post a link to the drop box no install wiki on the wiki index. The reason I haven't yet is because Jeff told me he has been considering implementing this type of approach and changing the bodhi-drop box package or perhaps having two dropbox packages, one with nautilus and one without. If he does so it would make the wiki a moot point. But anyway thanks for posting this and linking to the wiki both. I have not noticed any problems with path names in the wiki implementation which by the way is a modification of something I found on the crunch-bang forums, at least I think I originally found it there. Since then I have seen similar solutions posted elsewhere. But then again I have not investigated potential problems with path names so I am not saying they don't exist ;)

But thanks again.

Edit: added it to the wiki index.
Eight Linux Tech Tips for Beginners The Bodhi Guide to Enlightenment

"No technology can ever be too arcane or complicated for the black t-shirt crowd."
0

#3 User is offline   beitme 

  • Member
  • Group: Members
  • Posts: 12
  • Joined: 19-June 11

Posted 08 July 2011 - 05:05 AM

No worries. Sometimes I just need to geek it, and geek it I did. It's a good break from my studies.
0

#4 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 12 September 2011 - 09:30 PM

I must be doing something wrong here...

At step "Create a DropBox Menu Item" of your guide ylee, I don't have a dropbox entry to select. Am I missing something? I followed the preceding steps to the letter.

Got any idea's?
0

#5 User is offline   ylee 

  • King of the Software Page
  • Group: Moderators
  • Posts: 1209
  • Joined: 11-April 11
  • LocationWest Virginia, USA

Posted 12 September 2011 - 09:55 PM

View Postaeonius, on 12 September 2011 - 09:30 PM, said:

I must be doing something wrong here...

At step "Create a DropBox Menu Item" of your guide ylee, I don't have a dropbox entry to select. Am I missing something? I followed the preceding steps to the letter.

Got any idea's?


did you manually create and save a .desktop file:

Quote

Create a DropBox Menu Item

Copy and paste the code below into Leafpad and save it at ~/.local/share/applications with the name DropBox.desktop

[Desktop Entry]
Hidden=false
Exec=(sleep 60s && ~/.dropbox-dist/dropboxd) &
Type=Application
NoDisplay=false
Version=1.0
StartupNotify=false
Terminal=false
Name=DropBox
Name[en_US]=DropBox


Eight Linux Tech Tips for Beginners The Bodhi Guide to Enlightenment

"No technology can ever be too arcane or complicated for the black t-shirt crowd."
0

#6 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 12 September 2011 - 10:09 PM

I did

/home/joris/.local/share/applications/DropBox.desktop
0

#7 User is offline   ylee 

  • King of the Software Page
  • Group: Moderators
  • Posts: 1209
  • Joined: 11-April 11
  • LocationWest Virginia, USA

Posted 12 September 2011 - 10:19 PM

View Postaeonius, on 12 September 2011 - 10:09 PM, said:

I did
http://www.bodhilinu...1725&qpid=20777
/home/joris/.local/share/applications/DropBox.desktop


And your problem is that Dropbox is not showing up in the Startup Applications dialogs when you try to add it to enlightenments start up?

If so have you tried restarting enlightenment on rare occasions a new .desktop menu item is not added to e-17s menu until enlightenment is restarted. I have had that happen before. Give that a try and note DropBox should also show up in your Main menu.
Eight Linux Tech Tips for Beginners The Bodhi Guide to Enlightenment

"No technology can ever be too arcane or complicated for the black t-shirt crowd."
0

#8 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 12 September 2011 - 10:21 PM

View Postylee, on 12 September 2011 - 10:19 PM, said:

And your problem is that Dropbox is not showing up in the Startup Applications dialogs when you try to add it to enlightenments start up?

If so have you tried restarting enlightenment on rare occasions a new .desktop menu item is not added to e-17s menu until enlightenment is restarted. I have had that happen before. Give that a try and note DropBox should also show up in your Main menu.

It doesn't show up, not after restarting E or the pc...
0

#9 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 12 September 2011 - 11:15 PM

We figured it out via IRc, sorry to say I can't really explain it.

Seems to be connected to the .desktop file.

Anyway: Ylee, thanks a million! You rule!
0

#10 User is offline   ylee 

  • King of the Software Page
  • Group: Moderators
  • Posts: 1209
  • Joined: 11-April 11
  • LocationWest Virginia, USA

Posted 12 September 2011 - 11:47 PM

View Postaeonius, on 12 September 2011 - 11:15 PM, said:

We figured it out via IRc, sorry to say I can't really explain it.

Seems to be connected to the .desktop file.

Anyway: Ylee, thanks a million! You rule!


I can't really explain it either, but it seems the first .desktop file had something wrong with it. I couldn't see anything wrong tho, but we created another one just like it and got it to work... so beats me. Must have been some flaw in the first I just overlooked or maybe a ghost in the machine ;)

Whatever it was it I am glad we sorted it out aeonius :)
Eight Linux Tech Tips for Beginners The Bodhi Guide to Enlightenment

"No technology can ever be too arcane or complicated for the black t-shirt crowd."
0

#11 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 13 September 2011 - 07:42 AM

Ditto!
0

#12 User is offline   Charles@Bodhi 

  • Old Faithful
  • Group: Moderators
  • Posts: 2660
  • Joined: 23-February 11
  • LocationZeist, The Netherlands

Posted 13 September 2011 - 09:03 AM

Can you post the working .desktop file? It might be working for others too.

Thanx,
Charles.
EEE Box202, 1GB RAM, 80 GB HDD, WIN-XP SP3, Bodhi 2.3.0-32_non-pae
EEE PC 901, 1GB RAM, 12 GB SSD, WIN-XP SP3, Bodhi 1.4.0

How to mark a thread as [SOLVED]
The Bodhi Guide to Enlightenment
0

#13 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 13 September 2011 - 10:06 AM

Will do when i get home, good call Charles
0

#14 User is offline   aeonius 

  • Lord of the Website
  • Group: Administrators
  • Posts: 2463
  • Joined: 17-July 11
  • LocationThe Netherlands

Posted 13 September 2011 - 02:37 PM

Quote

[Desktop Entry]
Hidden=false
Exec=(sleep 60s && ~/.dropbox-dist/dropboxd) &
Type=Application
NoDisplay=false
Version=1.0
StartupNotify=false
Terminal=false
Name=DropBox
Name[en_US]=DropBox

Still looks a lot like the one in the guide to me... guessing ylee has a point, will call the ghostbusters tonight.
0

#15 User is offline   tshann 

  • Member
  • Group: Members
  • Posts: 4
  • Joined: 16-October 11

Posted 20 October 2011 - 08:38 PM

Hi,
I've done what it says on the wiki. However no dropbox comes up upon rebooting. So then I went to the Dropbox.desktop file and double clicked it. I get this error: Failed to execute child process "(sleep"(no such file or directory). Then I click the Okay button. I copied and pasted the exact text from the wiki. So what am I doing wrong here folks?

Peace
0

#16 User is offline   Duma 

  • Artist
  • Group: Members
  • Posts: 1869
  • Joined: 20-February 11
  • LocationRivalta (TO) - Italia

Posted 20 October 2011 - 08:45 PM

maybe you missed the package that have sleep program. What append if you type
sleep 10s
on your terminal? You might have the terminal blinking for 10 seconds .
Se sei italiano e interessato a Linux, clicca qui!
0

#17 User is offline   tshann 

  • Member
  • Group: Members
  • Posts: 4
  • Joined: 16-October 11

Posted 20 October 2011 - 09:02 PM

View PostDuma, on 20 October 2011 - 08:45 PM, said:

maybe you missed the package that have sleep program. What append if you type
sleep 10s
on your terminal? You might have the terminal blinking for 10 seconds .


Hi, nope, sleep 10s does what it's supposed to do, pause for 10. Thanks though. I have to admit, I'm puzzled by this one.

Peace
0

#18 User is offline   Duma 

  • Artist
  • Group: Members
  • Posts: 1869
  • Joined: 20-February 11
  • LocationRivalta (TO) - Italia

Posted 20 October 2011 - 09:11 PM

mmm what exactly have you wrote on .desktop file? could you post your
cat ~/.local/share/applications/Dropbox.desktop


If you type on your terminal
(sleep 60s && ~/.dropbox-dist/dropboxd) &

what do you get?
Se sei italiano e interessato a Linux, clicca qui!
0

#19 User is offline   tshann 

  • Member
  • Group: Members
  • Posts: 4
  • Joined: 16-October 11

Posted 20 October 2011 - 09:23 PM

View PostDuma, on 20 October 2011 - 09:11 PM, said:

mmm what exactly have you wrote on .desktop file? could you post your
cat ~/.local/share/applications/Dropbox.desktop


If you type on your terminal
(sleep 60s && ~/.dropbox-dist/dropboxd) &

what do you get?


Hi the cat meow says:

[Desktop Entry]
Hidden=false
Exec=(sleep 60s && ~/.dropbox-dist/dropboxd) &
Type=Application
NoDisplay=false
Version=1.0
StartupNotify=false
Terminal=false
Name=DropBox

I'm trying a workaround since I can't figure this one out. So I created a script called dropbox.sh and placed it in /etc/xdg/autostart. The script contains the following complex :mellow: code:

#!/bin/bash
(sleep 60s && ~/.dropbox-dist/dropboxd) &


When I run the script, 60 seconds later dropbox comes up. So at least that works. I'll just have to wait to reboot to see if it auto loads.

Thanks, any other solutions to the above mystery would be greatly appreciated. But it appears as if the issue is solved.

Peace
0

#20 User is offline   Duma 

  • Artist
  • Group: Members
  • Posts: 1869
  • Joined: 20-February 11
  • LocationRivalta (TO) - Italia

Posted 20 October 2011 - 09:27 PM

In my personal opinion, your solution is much elegant than create a .desktop file (it goes in "Launcher list" for everything or in a menu). It's only not editable with Settings -> Applications -> Startup Applications.
If it works, I think you could feel solved your problem, but IMHO, of course :D
Se sei italiano e interessato a Linux, clicca qui!
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users