![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2007
Location: Pittsburgh, PA
Beans: 148
Ubuntu 8.04 Hardy Heron
|
This is my first how-to. I wrote it so you can follow it step by step. Hope everyone enjoys it and finds it useful.
So you got LightScribe working. If you have not check out these threads: HOWTO: Install Lightscribe Software How-to: Lightscribe under Feisty Fawn This has been tested with Ubuntu 7.04 Feisty Fawn x64 bit, but this should work with 32 bit version. Explanation: This is a how-to to get lightscribe properly launch from the menu with root permission. I wrote this small script because I wanted the menu option and did not want to always have the terminal open while burning the label on the disc. Required Items: Lightscribe drive working (Use the links above to help you get it working if you have not gotten it working.), Root Access Uninstalling/Undoing Delete the created menu link and the script 1) Save the following script as lightscribe.sh: Code:
#!/bin/sh # Opens 4L-gui under sudo to print foo=`gksudo -u root -k -m "Enter your password for 4L-gui root access (It needs it to burn the label image.)" /bin/echo "got r00t?"` sudo 4L-gui 3) Now Right Click on the Applications Menu and select Edit Menus 4) Decide where you want Lightscribe listing to show. I placed it in the Sound and Video folder. Click New Item on the right. 5) A dialog box will appear. Just fill in the following: Type: Application Name: Lightscribe (Or whatever you wish) Command: sh [script location] Comment: Label a disc (This comment appears when your mouse is hovering over the icon. In my case: Command: sh /home/user/scripts/lightscribe.sh If you want to use an icon, use the following attached image. Most icons are kept in this folder: /usr/share/pixmaps/ Now hit close If you want to keep the all your icons in a localized and central place. Follow these steps: 1) Save the attached image to your desktop or somewhere you can easily access. 2) Open a terminal (Applications -> Accessories -> Terminal) 3) cd (Change Directory) into the folder with the downloaded image 4) Type Code:
sudo cp lightscribe.png /usr/share/pixmaps/ Code:
cd /usr/share/pixmaps/ Code:
ls Code:
exit |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2007
Location: Pittsburgh, PA
Beans: 148
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
A simpler method I found out recently instead of using a script is just calling the command within the shortcut.
Type: Application Name: Lightscribe (Or whatever you wish) Command: sudo 4L-gui Comment: Label a disc (This comment appears when your mouse is hovering over the icon.
__________________
HOWTO: Lightscribe work from Menu (SCRIPT) Howto: Make Conky display information on different parts of screen Specs:Intel Core 2 Duo 2.13 @ 3.2 GHz | Nvidia GeForce 7900 GT | 2 GBs Ram | 640 GB - HDD All watercooled and overclocked!!! |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2007
Beans: 114
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
Help !!! I am not understanding this ! I have it in the menu. it opens up. but I can not use it because I can't get the root thing right.
|
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2007
Location: Pittsburgh, PA
Beans: 148
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
I don't understand what you mean by "can't get the root thing right". You have to edit the Lightscribe application from the menu. So, right click on applications and click "Edit Menus". For your Lightscribe link, under the command option, use either "sudo 4L-gui" or "gksudo 4L-gui". Either of these options, when you click on the newly created link, it will ask for your password so 4L-gui can run as root and thus fully access the Lightscribe drive and burn your label.
__________________
HOWTO: Lightscribe work from Menu (SCRIPT) Howto: Make Conky display information on different parts of screen Specs:Intel Core 2 Duo 2.13 @ 3.2 GHz | Nvidia GeForce 7900 GT | 2 GBs Ram | 640 GB - HDD All watercooled and overclocked!!! |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2007
Beans: 114
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
I see...... It was not working with sudo. It works with gksudo. Why is that , I always use sudo in the terminal ?
Thank you for your Help !! |
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2007
Location: Pittsburgh, PA
Beans: 148
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
So sudo is designed for terminal and gksudo is the graphical sudo for use with gnome.
__________________
HOWTO: Lightscribe work from Menu (SCRIPT) Howto: Make Conky display information on different parts of screen Specs:Intel Core 2 Duo 2.13 @ 3.2 GHz | Nvidia GeForce 7900 GT | 2 GBs Ram | 640 GB - HDD All watercooled and overclocked!!! |
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Location: East London, South Africa
Beans: 39
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
Hey AegisTalons
Thanks for the instructions.. Works well.
__________________
vijay |
|
|
|
|
|
#8 |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: Lightscribe work from Menu with root permission (SCRIPT)
I must be missing something. Why do you need to run LightScribe as root? I have used the following instructions to successfully setup the LightScribe Simple Labeler software.
LightScribe is used to label LightScribe discs. - obtain the software from: LightScribe website. Both the System Software and the Simple Labeler software are required. These should be saved to your desktop. 32-bit Linux - install the software. There are two components. The core software must be installed first, then the Application. 64-bit Linux (This needs to be installed using the following commands in a Terminal). The version numbers will need to be changed to match the actual download files. The first two commands will install the LightScribe software. The remaining commands will resolve issues with referencing a required library. Code:
sudo dpkg -i --force architecture lightscribe-1.18.6.1-linux-2.6-intel.deb sudo dpkg -i --force architecture lightscribeApplications-1.10.19.1-linux-2.6-intel.deb sudo ln -s /usr/lib/liblightscribe.so.1 /usr/lib32/ sudo ln -s /usr/lib/liblightscribe.so /usr/lib32/ sudo ldconfig Code:
sudo /usr/lib/lightscribe/elcu.sh 1. Right-click on Applications and select Edit Menu from the context menu. 2. Click on Accessories, which is where the lightscribe menu item will be placed. 3. Click the New Item button, and enter the following information into the fields: a. Ensure that Type is set to Application. b. Name may be anything. I use LightScribe Labeller. c. Command is: /opt/lightscribeApplications/SimpleLabeler/SimpleLabeler (the browse button may be used to locate the application, which is in the /opt/lightscribeApplciations/SimpleLabeler folder. d. Comment may be anything. I use Writes a label on Lightscribe-enabled discs e. Click on the icon and browse to /opt/lightscribeApplications/SimpleLabeler/content/images folder. Once browsed, a list of suitable icons appears. Select one. f. Click on the Close button, which will complete the application. I am attaching a screenshot showing the final setup of the Application Launcher Panel. To use, select the launcher from Applications > Accessories > LightScribe Labeller (or whatever was put in the Name field. Hope this helps,
__________________
"Always take the high road! That way, nothing will hit you when the brown, gooey stuff hits the fan." |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|