You are not logged in.

#1 2017-04-03 21:36:36

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

[solved] Stop Dropbox at system startup

Hello,
With my computer (bunsenlabs) dropbox don't start when the system startup.
I am building an openbox stretch. Dropbox is installed and the dropbox menu works perfectly with "bl-dropbox-pipemenu".
When the system start , dropbox start too.
How to modify that?
Thanks.

Last edited by jjr (2017-04-07 07:25:54)


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#2 2017-04-03 23:17:52

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,039
Website

Re: [solved] Stop Dropbox at system startup

I thought there was a panel applet, and one of the settings there was a checkbox to "Run Dropbox at startup."


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Online

#3 2017-04-04 01:02:19

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [solved] Stop Dropbox at system startup

It depends on how Dropbox was installed whether the "Start Dropbox on system startup" box needs to be checked.

@jjr, you installed Dropbox via the Dropbox pipemenu? If so, during the installation process you were asked whether to start Dropbox automatically, and, if so, how many seconds delay you wanted? in that case, look in /home/<yourusername>/.config/openbox/autostart You should find a line at the bottom referring to dropbox.py. Edit, or comment out, that line to suit your needs.

You can start or stop Dropbox any time via the dropbox.py CLI control interface. Run '/path/to/dropbox.py help' to see other options. (If dropbox.py is in your PATH, you can just run 'dropbox.py help')

Normally there is no need to enable Dropbox autostart via the checkbox in the systray applet. That takes the process away from your control.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#4 2017-04-04 08:08:44

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

Ok with options in the applet "préférences" . My pb is solved.
I have install dropbox without the pipemenu.

For information, I have modified "bl-dropbox-pipemenu" to start or stop dropbox.

Original :

line 188 : menuItem 'Start Dropbox' "$0 --start-dropbox"
line 190 : menuItem 'Stop Dropbox' "$0 --stop-dropbox"

Modified :

line 188 : menuItem 'Start Dropbox' "dropbox start"
line 190 : menuItem 'Stop Dropbox' "dropbox stop"

What is your opinion?

Thanks for your help


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#5 2017-04-04 12:09:17

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

Just to add some informations :
If I use "bl-dropbox-pipemenu" for installation, it's impossible to install dropbox .No script .
Probably command is changed like start or stop ?


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#6 2017-04-04 12:28:44

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,740

Re: [solved] Stop Dropbox at system startup

Dropbox trend is dropping anyway (due to their "no-more-public" policy changes I'd guess), so a good candidate for removal from pipe-menu-installers.

Offline

#7 2017-04-05 08:46:06

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

Ok, but it was just to understand.
For me and my family we want to continue with dropbox, with or without pipemenu.
Thanks.


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#8 2017-04-05 09:19:48

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,740

Re: [solved] Stop Dropbox at system startup

Your right, that was totally off-topic, actually I will try to refrain myself from making any proposals from now on (It is going to be an internal battle).

Offline

#9 2017-04-05 10:21:07

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

Sorry,

I am just since 15 months user BL and I am very satisfied.(before : crunchbang)
I try to build openbox with debian stretch net install in order to have very light system.
(just for enjoyment)
For that I use some pipemenus and with bl-dropbox-pipemenu, I meet some pbs.
It's the reason of this post.
If tomorrow Bl-dropbox-pipemu is not in BL, I think it will be possible to add dropbox in the openbox'menu without diffilculties.


Sincerely.


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#10 2017-04-06 03:22:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [solved] Stop Dropbox at system startup

jjr wrote:

Just to add some informations :
If I use "bl-dropbox-pipemenu" for installation, it's impossible to install dropbox .No script .

I've just tested the dropbox pipemenu in a virtual machine and it seems to work fine here. What kind of error message did you get?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2017-04-06 03:24:29

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [solved] Stop Dropbox at system startup

brontosaurusrex wrote:

I will try to refrain myself from making any proposals from now on...

Please don't! Just post them in the appropriate places, eg: https://forums.bunsenlabs.org/viewtopic.php?id=3543
Whether to keep the dropbox pipemenu in BL Helium or not is certainly a valid question.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#12 2017-04-06 21:49:48

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

At the moment dropbox is installed and the openbox'menu is working very well.

jjr@debian:~$ bl-dropbox-pipemenu
    <openbox_pipe_menu>
        <item label="Ouvrir le fichier Dropbox">
            <action name="Execute">
                <command>
                    thunar /home/jjr/Dropbox
                </command>
            </action>
        </item>
        <item label="Démarrer Dropbox">
            <action name="Execute">
                <command>
                    dropbox start
                </command>
            </action>
        </item>
        <separator/>
        <item label="Aller sur le site Dropbox">
            <action name="Execute">
                <command>
                    x-www-browser https://www.dropbox.com/home
                </command>
            </action>
        </item>
        <item label="Conditions Utilisation Dropbox">
            <action name="Execute">
                <command>
                    x-www-browser https://www.dropbox.com/terms
                </command>
            </action>
        </item>
    </openbox_pipe_menu>
jjr@debian:~$ 

I remove dropbox :

jjr@debian:~$ su -
Mot de passe : 
root@debian:~# apt-get remove dropbox
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libpango1.0-0 libpangox-1.0-0
Veuillez utiliser « apt autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
  dropbox
0 mis à jour, 0 nouvellement installés, 1 à enlever et 4 non mis à jour.
Après cette opération, 422 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 145965 fichiers et répertoires déjà installés.)
Suppression de dropbox (2015.10.28) ...
Traitement des actions différées (« triggers ») pour mime-support (3.60) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.23-1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.15-1) ...
root@debian:~# exit
déconnexion

And now I try to install dropbox with the pipemenu and nothing appear : no openning terminal to start installation.

jjr@debian:~$ bl-dropbox-pipemenu
    <openbox_pipe_menu>
        <item label="Installer Dropbox">
            <action name="Execute">
                <command>
                    /usr/bin/bl-dropbox-pipemenu --install-dropbox
                </command>
            </action>
        </item>
        <item label="Conditions Utilisation Dropbox">
            <action name="Execute">
                <command>
                    x-www-browser https://www.dropbox.com/terms
                </command>
            </action>
        </item>
    </openbox_pipe_menu>
jjr@debian:~$ 

I suppose the command line to install is not correct. (I have modified start and stop commands to work).

Nota : My system is minima . Perhaps I need some additionnals packages?

Thanks for your help. (in fact I have solution because it's possible to install dropbox without the pipemenu and after installation the pipemenu works perfectly)


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#13 2017-04-06 22:21:21

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [solved] Stop Dropbox at system startup

If you still have Dropbox components in $HOME/ then the install script will exit, because it tests for an existing installation. Specifically it checks for "$HOME/.dropbox-dist/dropboxd". (Uninstalling with apt-get will not remove anything from the user's $HOME).

See what message is given if you try

LC_ALL=C bl-dropbox-pipemenu --install-dropbox

This command should produce terminal output in English (which is what most of your potential helpers speak!)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2017-04-07 07:25:20

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

I had removed all folders dropbox in my home.

See the following result:

jjr@debian:~$ LC_ALL=C bl-dropbox-pipemenu --install-dropbox
/usr/lib/bunsen/common/yad-includes: line 42: yad: command not found
jjr@debian:~$ 

Problem detected : the yad package is not in my system.
After installation of this package, with your suggested command, I see a little window : This script will install Dropbox. Do you to proceed? Yes or NO.
Also in my openbox'menu I have the same window.
And to finish the installation is perfect.

I had have the similar pb with "bl-recent-files-pipemenu": some packages lua were missed.

I continue my openbox'menu.

Many thanks for your help. I like your forum. Probably is not easy for you to understand my poor english.

I note solved


Toshiba Tecra R950 openbox BL dualboot W7

Offline

#15 2017-04-07 10:02:20

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [solved] Stop Dropbox at system startup

yad is included in BL, as well as lua dependencies, so either you have already removed those packages, or you didn't install pure BunsenLabs.

For your future information, if a graphical application or menu item is failing, then run the command in a terminal to see why!


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2017-04-07 10:31:37

jjr
Member
From: hautes alpes france
Registered: 2016-01-27
Posts: 37

Re: [solved] Stop Dropbox at system startup

I am working with net install debian 9 stretch without desktop, just openbox. That is the reason to have not much packages.
Ok Thanks for your advise.


Toshiba Tecra R950 openbox BL dualboot W7

Offline

Board footer

Powered by FluxBB