[Bug 368546] Re: init script doesn't launch tpb at startup
** Changed in: tpb (Ubuntu) Assignee: Mahyuddin Susanto (udienz) = (unassigned) ** Changed in: tpb (Ubuntu) Status: In Progress = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/368546 Title: init script doesn't launch tpb at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tpb/+bug/368546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
I believe there is a way to change the boot order so that it boots after X11. However, I don't know enough about upstart to figure it out. I will work on this and try to find a fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/368546 Title: init script doesn't launch tpb at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tpb/+bug/368546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
i take this oopurtunity. hope this bug fixed ** Changed in: tpb (Ubuntu) Status: New = In Progress ** Changed in: tpb (Ubuntu) Assignee: (unassigned) = Mahyuddin Susanto (udienz) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/368546 Title: init script doesn't launch tpb at startup -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
After many tests I have develeped a workaround. It's ugly, but it works. I use TPB only for OSD and I wanted it to start with GNOME on Jaunty. The workaround is to create a script that starts tpb -d (or /etc/init.d/tpb start), call it Default and place it in /etc/gdm/PostLogin. GDM processes this script right after verifying authentication data. You can even have OSD working on GDM login screen itself. Just put similar call to tpb in Default script in /etc/gdm/Init (just before exit 0 line). -- init script doesn't launch tpb at startup https://bugs.launchpad.net/bugs/368546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
The reason that it won't run from startup is because the OSD is on by default. OSD needs an X display and tpb dies saying it can't open display. You would think that it would be as simple as following the instructions in the manual. -o, --osd=STATE Show on-screen display for volume, mute and brightness. Possi‐ ble values are on and off. Default is on. Unfortunately for some reason turning it to off doesn't actually shut it off. Looks like there is something in the code that is forcing this to always be on. Hopefully if you can recompile it so that it is possible to turn it off, it will no longer bomb because it will no longer need the X display to run. -- init script doesn't launch tpb at startup https://bugs.launchpad.net/bugs/368546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
Actually I must have been doing something wrong earlier, the -o off argument works now. I changed /etc/init.d/tpb so that line 16 is tpb -c /etc/tpbrc -d instead of tpb -d In /etc/tpbrc I set MIXER ON as I have to use OSS to control the mixer and I set OSD OFF so that it works on boot. If you want the osd stuff you need to run it from Preferences - Startup Applications and add it as a new startup app, just make sure you start it with sudo. The tpb program is a horrible hack and the faster thinkpad-acpi can handle the volume buttons in the sys rather than the proc the better. -- init script doesn't launch tpb at startup https://bugs.launchpad.net/bugs/368546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368546] Re: init script doesn't launch tpb at startup
Nope I stand corrected again. Even if you turn off OSD, it still gives this error. r...@jgarcia-laptop:~# tpb -o off -m on Unable to initialize xosd. Running without onsceen display. Can't open display, X may not be running! -- init script doesn't launch tpb at startup https://bugs.launchpad.net/bugs/368546 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs