[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot-time script



2009/1/27 Ron Johnson <ron.l.johnson@cox.net>

Please don't cross-post.


On 01/26/2009 09:26 PM, Umarzuki Mochlis wrote:
I tried making boot-time script for deluge like below

#!/bin/bash
/usr/bin/deluge

Then I ran update-rc.d to the deluge script hat I saved in /etc/init.d
# update-rc.d deluge defaults

But when I rebooted my PC, it didn't start. Please tell me where I got it wrong?

It's a *GUI* *client*, not a daemon.
Now I get it. It only works with deamon. That's why I got

nastything:~# /etc/rc.local start
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
1.1.1
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:48: Warning: invalid (NULL) pointer instance
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:48: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:48: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:48: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:48: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/queuedtorrents.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:64: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/var/lib/python-support/python2.5/deluge/ui/gtkui/queuedtorrents.py:64: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: Warning: invalid (NULL) pointer instance
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: Invalid icon size 1

  "glade/main_window.glade"))
/var/lib/python-support/python2.5/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  "glade/main_window.glade"))
/etc/rc.local: line 14:  3592 Segmentation fault      /usr/bin/deluge
 

Do you really want it to start up when you log in?
Yes, my little sister alwas forgot to start deluge when using my PC (I'm always not at home during weekdays)

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Regards,

Umarzuki Mochlis
http://gameornot.net

Reply to: