Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 682  / 1 Year ago, sun, february 19, 2023, 3:11:49

Trying to get an indicator working to show UbuntuOne progress, like the Dropbox one.



This helped: Is there any way to get an indicator for Ubuntu One?

Also this http://www.webupd8.org/2010/10/ubuntu-one-indicator-applet.html actually gave me the command to run -



/usr/bin/ubuntuone-indicator


However this ties up the terminal so I want to run it in the background and ideally have it in my .bashrc to start on startup.



However when I try /usr/bin/ubuntuone-indicator & the indicator comes up... but the terminal is tied up and doesn't return the command prompt.



I can interrupt it (ctrl-c) and the indicator actually stays, so it seems like the job was actually in the background. Stopping it at this point requires a kill command.



So how can i get this working in the background ok so that I can add it to my .bashrc shell?



At the command line:



If I try /usr/bin/ubuntuone-indicator it starts, but the terminal is hung and indicator gets killed with a ctrl-c



If I try /usr/bin/ubuntuone-indicator & it starts the icon indicator but still hangs the terminal. If I ctrl-c, that works (exits) and the process is left in the background (requires kill to stop it). This is good... except that I can't "ctrl-c" for the .bashrc script.


More From » 11.10

 Answers
0

Try starting the application with nohup



nohup /usr/bin/ubuntuone-indicator &


You should now be able to close the terminal.



Assuming that works, IMO, you want to add that command do a script which then runs at login rather then adding it to .bashrc



Add your script or command to Startup applications



startup applications


[#38247] Monday, February 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
huovie

Total Points: 234
Total Questions: 99
Total Answers: 105

Location: Central African Republic
Member since Sun, Feb 26, 2023
1 Year ago
;