PDA

View Full Version : adding to desktop



vijirin
08-10-2005, 04:57 AM
Hi guys,
I just remastered knoppix and added my application into the Knoppix image and created a bootable cd.
There are two things i want to be done.
1. For my applications to run it needs root privileage, coz it access certain files in the proc filesystem. So each time i have to run the application from the terminal i have to 'su'. Is there any way by which i can create a knoppix image with default root privileage.

2. I have added the application in the root directory , so to run the application i have to browse to root directory to run the application. Is there any way to add the application to the desktop and to the Knoppix menu.

The program was developed using QT designer, I just added the executable file.

Plz help
thanks in advance

viji.r

markpreston
08-10-2005, 06:50 AM
I keep my desktop icons in /etc/skel/Desktop
owner knoppix, permissions 644
Linked to these are shell script commands put in
/usr/local/bin
owner root, permissions 755
To link Desktop icons to their shell scripts, under KDE right mouse-click on the icon in /etc/skel/Desktop and
select properties, then select the execute tab and in the box under Command: type
sudo /usr/local/bin/scriptname
to allow the user to execute the script by clicking the Desktop icon.
Regards,
Mark