maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [KDE] How to Burn a CD/DVD with KDE v4 by PB (K3B) (https://talk.maemo.org/showthread.php?t=23961)

penguinbait 2008-09-29 22:52

[KDE] How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Click on the USB icon on the taskbar to enable Host mode
(click on picture to see demo)

http://tablethacker.com/images/usb-bat.jpg

Then install > K3B Deb <
24 mb installed

Or install it first whatever :)


Now that its installed, you need to connect your cdrom/dvd burner.

In order to do this I use a USB Gender Changer, A Female To Female

Click on the picture to link to Cyberguys.com. (where I bought mine)

http://ecx.images-amazon.com/images/...500_AA280_.jpg

I connect this to my 810 cable and then connect that to my USB DVD burner cable.

Start K3b from the menu under Multimedia

http://penguinbait.com/cdburn.png


Notes:
Its setup to run as root, I had nothing but problems getting it to run as user.

When started it will come up and tell you your running it as root, just click close. You can also start k3bsetup, but you don't need to.

I mounted flash and backed it up to CD and DVD perfectly, on two different DVD burners. (Sony and Lite-On)

I was not able to backup the full running filesystem, from crashes to directory loops that go to memory death. Perhaps some kind of ro mount to roots?

Make sure the device is plugged in and turned on before starting K3b or it wont find the device and you will need to restart the application. After plugging in the USB device, wait about 10 seconds for the device to settle before starting K3b

BUGS?
It finishes but cannot seem to verify, it will pop out the disk when its done and you will have to then cancel it the application. It will be at 50% complete. It works perfectly though?


Let me know what your experiences are. If you loaded my cdrom.deb or cdvd-tools.deb you would need to remove them from application manager.

Also, I never ruined one disc :D It works great. Linux Rules!!!!!!!!

penguinbait 2008-09-30 15:56

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Click on picture below to see how to burn a dvd and the time it takes. Its a tad long and about 10MB just an FYI. This is a demo of me burning about 350MB to a DVD. Its about 1-2x for a DVD (about 1-3K KB/s)

Please notice the CPU load is very heavy and running VNC server with an active host added to the load. Vnc seems to use about 10-15% CPU and it also puts extra load on Xomap. So I am saying it may be a little faster without vnc running :)


(click on picture to see demo)
http://tablethacker.com/images/cdburn2.jpg

fatalsaint 2008-09-30 15:59

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Another one someone should port is K9Copy...

Easily make backup-copies of encrypted DVD's and the like. Never tried copying a Video DVD with K3B .. might work just as easy.. always used it for iso files :D.

Good job PB on another great work.

penguinbait 2008-09-30 16:59

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by fatalsaint (Post 228884)
Another one someone should port is K9Copy...

Easily make backup-copies of encrypted DVD's and the like. Never tried copying a Video DVD with K3B .. might work just as easy.. always used it for iso files :D.

Good job PB on another great work.

Well this works great for backups, I don't think video encoding would be possible, just not enough CPU and memory.

I have not appempted any video or audio burning yet.

Benson 2008-09-30 18:29

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Meh, anything's possible. We have the CPU, it'll just take a week. 16 GB of SD as swap -- how much memory do you think we need? Oh, yeah, swapping, so make that a month.

It'll work. I just can't leave my N800 alone long enough...

penguinbait 2008-09-30 19:42

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by Benson (Post 228956)
Meh, anything's possible. We have the CPU, it'll just take a week. 16 GB of SD as swap -- how much memory do you think we need? Oh, yeah, swapping, so make that a month.

It'll work. I just can't leave my N800 alone long enough...

OK, perhaps I should have used the word practical :cool:

penguinbait 2008-10-11 01:59

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Has anyone besides me burned a dvd or cd from their tablet yet?? :D:D:D

penguinbait 2008-10-13 16:35

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 232611)
Has anyone besides me burned a dvd or cd from their tablet yet?? :D:D:D

It's reply to myself day,

Anyone????

Benson 2008-10-13 19:05

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Not me; I just don't have the economic justification to buy a USB burner. My tx2000 has one, and I've got a couple or three 16GB SDs for the Eee, N800, and camera.

The best justification I could make would be for a CD-ROM to install OSes on the Eee, but even that's not needed, and no way is a burner worth it.

penguinbait 2008-10-13 19:36

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by Benson (Post 233265)
Not me; I just don't have the economic justification to buy a USB burner. My tx2000 has one, and I've got a couple or three 16GB SDs for the Eee, N800, and camera.

The best justification I could make would be for a CD-ROM to install OSes on the Eee, but even that's not needed, and no way is a burner worth it.

I didnt imagine people were going to run out and buy new burners to use. I have a CD burner, a DVD burner and a dual layer dvd burner, all usb laying around taking up space.

Maybe I just have more crap than most people :)

What do you do with all your camera images, keep them on SD or Disk? I burn all my camera images to 2 DVD's and store them in separate locations.

Maybe I am just more paranoid than most people too?

Benson 2008-10-13 19:47

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Well, I've got them on the SD, and two different HDDs in different computers, and (as of this past weekend) on Flickr. When I get 16GB worth (not insanely far off, with 12MP jpgs and 1280x720 video), I'll work out some permanent archival method; maybe an off-line HDD or two, or maybe DVDs. (I'm not really sure whether I trust magnetic particles or opto-sensitive chemicals more...)

My burning needs are pretty well covered by internal burners in my laptop and both desktops, so I don't have that laying around. Bet I got you beat for 'scopes though! (I have two, which is two more than most geeks.)

hordeman 2008-10-19 00:16

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 233276)
I didnt imagine people were going to run out and buy new burners to use.

Actually, I did. :) I found a clearanced dual-layer drive at Target for $12.49, and then I bought a $14.99 IDE-to-USB adapter from Fry's. This is the application I was looking forward to the most!

So, I'm having a real hard time installing it, though. I previously had cdvd-tools installed before I cloned to SD and installed KDE. Then, when I tried to install K3B (within KDE), I got an error saying that some stuff was already installed via cdvd-tools. However, switching back in Hildon world to take care of this, cdvd-tools will no longer uninstall; e.g. cannot uninstall error. Now, I'm stuck because both cdvd-tools and k3b-tools (partial install) won't uninstall in the Hildon package manager, and I'm thinking that I might have to uninstall cdvd-tools in flash and reclone.

Any ideas before I do this? Thanks! :)

penguinbait 2008-10-20 14:41

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 234621)
Actually, I did. :) I found a clearanced dual-layer drive at Target for $12.49, and then I bought a $14.99 IDE-to-USB adapter from Fry's. This is the application I was looking forward to the most!

So, I'm having a real hard time installing it, though. I previously had cdvd-tools installed before I cloned to SD and installed KDE. Then, when I tried to install K3B (within KDE), I got an error saying that some stuff was already installed via cdvd-tools. However, switching back in Hildon world to take care of this, cdvd-tools will no longer uninstall; e.g. cannot uninstall error. Now, I'm stuck because both cdvd-tools and k3b-tools (partial install) won't uninstall in the Hildon package manager, and I'm thinking that I might have to uninstall cdvd-tools in flash and reclone.

Any ideas before I do this? Thanks! :)



rm -rf /var/lib/dpkg/info/cdvd*

uninstall it

install K3B, not sure what went wrong but that should fix it

hordeman 2008-10-21 16:54

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 235043)
rm -rf /var/lib/dpkg/info/cdvd*

uninstall it

install K3B, not sure what went wrong but that should fix it

Thanks! And awesome, that did the trick for a success install, but I'm pretty sure I screwed up something along the way. While K3B is in my KDE menu now, it will not start; the icon will bounce for a second, and then go away. Whether I have the burner plugged in or not, nothing happens afterwards.

What command should I run to figure out what error it is throwing?

fatalsaint 2008-10-21 18:52

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
in a terminal .. should just be able to type:

k3b

hordeman 2008-10-21 21:54

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by fatalsaint (Post 235439)
in a terminal .. should just be able to type:

k3b

Good call. I don't know what I was thinking. :)

So, next piece in the puzzle. Running k3b as user brings it up just fine... don't have my burner with me, though, so I couldn't test CD burning or ripping. (BTW, is ripping to MP3 possible with the way K3B was packaged.)

However, there appear to be something wrong in the shortcut menu --- which I've never seen until now. It currently reads "/usr/bin/sudo /usr/bin/su - -c /usr/local/kde/bin/k3b". Executing this command as root or running from the menu does nothing, but running "/usr/local/kde/bin/k3b" as root does the trick to bring up k3b! :)

Penguinbait, not sure if this is only affecting me because of the .deb conflict mentioned earlier, but I thought I'd share.

penguinbait 2008-10-21 22:18

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235486)
Good call. I don't know what I was thinking. :)

So, next piece in the puzzle. Running k3b as user brings it up just fine... don't have my burner with me, though, so I couldn't test CD burning or ripping. (BTW, is ripping to MP3 possible with the way K3B was packaged.)

However, there appear to be something wrong in the shortcut menu --- which I've never seen until now. It currently reads "/usr/bin/sudo /usr/bin/su - -c /usr/local/kde/bin/k3b". Executing this command as root or running from the menu does nothing, but running "/usr/local/kde/bin/k3b" as root does the trick to bring up k3b! :)

Penguinbait, not sure if this is only affecting me because of the .deb conflict mentioned earlier, but I thought I'd share.


I am not sure as you are the first one to hit this issue. The menu is calling the correct command. If you used install tools or bootmenu installer it would add ALL=ALL in /etc/sudoers It seems like maybe you dont have this entry? if not then the shortcut will not work. I also thought my KDE installed set this up also, but I honestly dont remember :)

They add this line to the bottom of /etc/sudoers
user ALL = (ALL) NOPASSWD: ALL

Do you have this entry?


If you do then you can run sudo any command and it will run as root with no password. So the sudo command in the menu is run as user and runs k3b as root.

sudo apt-get install xxx
sudo rm -rf xxx


if you do have the entry already? what happens when you run the following command as user in a terminal?
/usr/bin/sudo /usr/bin/su - -c /usr/local/kde/bin/k3b

------------------------
As for the MP3 ripping, I am not sure, I have not tested anything but data. Let me know what you find out?

hordeman 2008-10-21 23:57

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
"/etc/sudoers" does contain "user ALL = (ALL) NOPASSWD: ALL" as the last line, and running "/usr/bin/sudo /usr/bin/su - -c /usr/local/kde/bin/k3b" as root does nothing. It just returns another prompt. As user, it says "/user/bin/su: command not found". Really, weird, huh?

Though, looking at the app manager in Hildon, I'm seeing that install-tools is somehow corrupt. It's got that little right exclamation point over the icon. Not sure why as this is all (of course) running all on the SD card. Not even sure if this would affect the K3B issue. Though, any other app I run from the KDE menu starts up just fine.

Will have to try tonight with ripping to MP3. Though, I won't be able to tell if all the appropriate lame packages are installed until I get a CD inserted. Will let you know what I find.

penguinbait 2008-10-22 00:01

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235508)
"/etc/sudoers" does contain "user ALL = (ALL) NOPASSWD: ALL" as the last line, and running "/usr/bin/sudo /usr/bin/su - -c /usr/local/kde/bin/k3b" as root does nothing. It just returns another prompt. Really, weird, huh?

Though, looking at the app manager in Hildon, I'm seeing that install-tools is somehow corrupt. It's got that little right exclamation point over the icon. Not sure why as this is all (of course) running all on the SD card. Not even sure if this would affect the K3B issue. Though, any other app I run from the KDE menu starts up just fine.

Will have to try tonight with ripping to MP3. Though, I won't be able to tell if all the appropriate lame packages are installed until I get a CD inserted. Will let you know what I find.


No you cannot run sudo as root, what happens when you run that full command as "user"?

sondjata 2008-10-22 00:46

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
So will it allow me to watch a DVD connected via USB?

penguinbait 2008-10-22 01:52

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by sondjata (Post 235530)
So will it allow me to watch a DVD connected via USB?

it would be very slow, if you only want to watch not burn, use this
http://www.internettablettalk.com/fo...ad.php?t=12491

This will give you read access to cd/dvd no KDE needed

hordeman 2008-10-22 14:24

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 235509)
No you cannot run sudo as root, what happens when you run that full command as "user"?

Oh. We must have just missed each other's post edit. :) I added in afterwards that, as user, it says "/user/bin/su: command not found".

So, I must royally screwed something up. Plugging in my burner, turning on USB host mode, waiting 10 seconds and then running K3B (with the latter part of the earlier mentioned command) does not allow K3B (or even the K3B player) to see my DVD drive. I think I may have to reinstall all this weekend ... might be good since I'm going to try to partition my card different with your advance install-tools. :) :) :)

penguinbait 2008-10-22 14:34

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235675)
Oh. We must have just missed each other's post edit. :) I added in afterwards that, as user, it says "/user/bin/su: command not found".

So, I must royally screwed something up. Plugging in my burner, turning on USB host mode, waiting 10 seconds and then running K3B (with the latter part of the earlier mentioned command) does not allow K3B to see my DVD drive. I think I may have to reinstall all this weekend ... might be good since I'm going to try to partition my card different with your advance install-tools. :) :) :)


Is that a mistype in your post? "user" instead of "usr" or did you type it wrong when you tested?

How did you install KDE?


You can get su from here, if you do not have it?
http://tablethacker.com/wp/?p=56

It may be in /usr/local/bin in my old KDE versions?

hordeman 2008-10-22 15:06

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
whoops... it was a mistype, but for the post only. I just doublechecked the terminal, and it is indeed a "sudo: /usr/bin/su: command not found" response.

As far as where I got KDE, I remember getting it from a plain white page that had all your .debs listed in big blue fonts. Is this the right place to have gotten it from?

fatalsaint 2008-10-22 15:07

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
does
Code:

which su
return anything?

penguinbait 2008-10-22 18:16

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235683)
whoops... it was a mistype, but for the post only. I just doublechecked the terminal, and it is indeed a "sudo: /usr/bin/su: command not found" response.

As far as where I got KDE, I remember getting it from a plain white page that had all your .debs listed in big blue fonts. Is this the right place to have gotten it from?

Well, I guess go to this link and get su
http://tablethacker.com/wp/?p=56

then it would work.

Also if its in /usr/local/bin you could do
ln -s /usr/local/bin/su /usr/bin/su

hordeman 2008-10-22 18:52

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
I haven't tried installing your su package yet, penguinbait, but I did try fatalsaint's question, su is showing up in "/bin/su" instead of "/usr/bin/su". So, I adapted that long command line to reflect this and k3b ran.

I don't have my burner with me (at work right now), but tonight, I'm going to try to set up a symlink from /usr/bin/su to /bin/su and see if that fixes everything... including detecting my burner. It was detected with cdvdtools, but not this package with k3b. (Though, when I set the tablet to host mode, the drive does respond by spinning up.)

penguinbait 2008-10-22 18:58

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235769)
I haven't tried installing your su package yet, penguinbait, but I did try fatalsaint's question, su is showing up in "/bin/su" instead of "/usr/bin/su". So, I adapted that long command line to reflect this and k3b ran.

I don't have my burner with me (at work right now), but tonight, I'm going to try to set up a symlink from /usr/bin/su to /bin/su and see if that fixes everything... including detecting my burner. It was detected with cdvdtools, but not this package with k3b. (Though, when I set the tablet to host mode, the drive does respond by spinning up.)


That won't work. The su I call is the GNU su which supports the -C the /bin/su from busybox does not support the -C

It may be that /bin/su is the correct one, I used to replace the /bin/su with mine, but I stopped doing that.

do an

ls -l /bin/su

is it a link pointing to "busybox" or what does it show?

hordeman 2008-10-22 19:38

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
In KDE, I run that command and I see "lrwxrwxrwx 1 user users 19 2008-10-18 11:53 /bin/su -> ../usr/local/bin/su" Does that help?

penguinbait 2008-10-22 19:47

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235784)
In KDE, I run that command and I see "lrwxrwxrwx 1 user users 19 2008-10-18 11:53 /bin/su -> ../usr/local/bin/su" Does that help?

Yes your running an older version of the KDE install.

Just run (as root)

ln -s /usr/local/bin/su /usr/bin/su

Now the menu shortcut should work

hordeman 2008-10-22 20:05

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 235789)
Yes your running an older version of the KDE install.

Wow... I wonder how that happened? Seriously, I took KDE from that web page I described. :S

penguinbait 2008-10-22 20:16

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235798)
Wow... I wonder how that happened? Seriously, I took KDE from that web page I described. :S

When???????

hordeman 2008-10-22 20:47

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
This past weekend ... Saturday. :S

penguinbait 2008-10-22 21:09

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235818)
This past weekend ... Saturday. :S

you installed this?

http://penguinbait.com/kde-installer-v4.deb

hordeman 2008-10-22 21:49

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 235821)

Yes, I'm looking at the .deb on my tablet right now. Via Konquerer, it says kde-installer-v4.deb, 1.3MB, 10/18/08 10:46am, size 1,054,877

Cue the Twilight Zone music...

penguinbait 2008-10-22 22:05

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by hordeman (Post 235831)
Yes, I'm looking at the .deb on my tablet right now. Via Konquerer, it says kde-installer-v4.deb, 1.3MB, 10/18/08 10:46am, size 1,054,877

Cue the Twilight Zone music...

No music needed, I just pulled the file. You are right, I had something installed, probably windowmaker that slaps su in /usr/bin

I will update the k3b deb to have the shortcut point to /usr/local/bin/su

Sorry for the confusion, if I could only remember what the hell I was doing :D:D:D

penguinbait 2008-10-22 22:21

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
OK, I updated the deb to fix the menu shortcut.

Sorry again for all the confusion.

hordeman 2008-10-22 23:07

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
No problem and no damage here. In the grand scheme of things, I think we are all very Very VERY happy that you made KDE happen for our little tablets. So, thank you!

hordeman 2008-10-23 04:26

Re: How to Burn a CD/DVD with KDE v4 by PB (K3B)
 
Quote:

Originally Posted by penguinbait (Post 235789)
Yes your running an older version of the KDE install.

Just run (as root)

ln -s /usr/local/bin/su /usr/bin/su

Now the menu shortcut should work

BTW, running this command fixed a lot; KDesktop throws an error window that shows "KDEInit could not launch '/usr/bin/sudo'.", but K3B now recognizes my burner.

I could not rip a CD. It turns out the libcdparanoia package is missing. I'm guessing that a few other packages are needed to allow MP3 ripping to work... like libmad and lame.

Will try to burn something soon.


All times are GMT. The time now is 23:08.

vBulletin® Version 3.8.8