LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Firefox/Thunderbird install and KDE how-to? (https://www.linuxquestions.org/questions/slackware-14/firefox-thunderbird-install-and-kde-how-to-255262/)

Slovak 11-15-2004 04:51 PM

Firefox/Thunderbird install and KDE how-to?
 
I installed firefox, and thunderbird from my root account to /usr/local. My question is how the heck do I add it to my KDE menu in both my root and user accounts?
Right now the only way I know to launch it is for example...
/usr/local/firefox/firefox
then it launches.
I tried munu updating tool, and menu editor from root and user, and I get errors saying it can't write to root or something like that.
Any ideas?

sio 11-15-2004 05:01 PM

well if the whatever the hell your talking about is giving you errors, then this should be pretty uhh... proof.

right click on your kde desktop -> Create New.. -> File -> Link To Application

fill in the fields. Choose the icon from the firefox install directory, its in their somewhere. Hit ok etc.

This will create a shortcut with a .desktop extension on your desktop. If you called the shortcut firefox then do a

cp ~/Desktop/firefox.desktop /opt/kde/share/applnk/Internet/

shutdown kde and restart it. Now navigate your "K" menu under Internet. I think you can play with it from there in the future.

Slovak 11-15-2004 05:08 PM

Quote:

Originally posted by sio
.

This will create a shortcut with a .desktop extension on your desktop. If you called the shortcut firefox then do a

cp ~/Desktop/firefox.desktop /opt/kde/share/applnk/Internet/


Didn't work

john@slovak:~$ cp ~/Desktop/firefox.desktop /opt/kde/share/applnk/Internet/
cp: cannot stat `/home/john/Desktop/firefox.desktop': No such file or directory

Brian1 11-15-2004 05:25 PM

Did it not create the icon on the desktop?

If it did then does it work? If not then it is not pointing to the firefox app.

If it is there and works then drag it to that folder above.

Brian1

Slovak 11-15-2004 05:31 PM

This is the error I get with KDE menu editor, as root too...

Menu changes could not be saved because of the following problem:

Could not write to /root/.config/menus/applications-kmenuedit.menu

Slovak 11-15-2004 05:33 PM

Quote:

Originally posted by Brian1
Did it not create the icon on the desktop?

If it did then does it work? If not then it is not pointing to the firefox app.

If it is there and works then drag it to that folder above.

Brian1

Yes it created the icon on the desktop, and it works, but I want it placed in my KDE menu under Internet with the default install of Slack 10 browsers.
Drag it to what folder?

Brian1 11-15-2004 05:48 PM

Sorry copy to root goes here. /root/.kde/share/applnk/Internet/firefox.desktop
If Internet directory is not there create it.
Make sure you capitalise the ' I ' in Internet otherwise it will create a new folder in menus.

Same for each user /home/"username here minus this and quotes"/.kde/share/applnk/Internet/firefox.desktop

ps:
Once done you can change the icon of the link under ~/.kde/share/applnk/Internet/firefox.desktop by left clicking the properties of the .desktop file and change the icon by click on the icon in the properties on the General tab and changing it to the one under file:/usr/lib/firefox-1.0/icons/mozicon16.xpm. Or where ever you created your firefox directory. The other one there might work better.

Brian1

Slovak 11-15-2004 07:32 PM

Quote:

Originally posted by Brian1
Sorry copy to root goes here. /root/.kde/share/applnk/Internet/firefox.desktop


Brian1

So drag and drop, or cut and paste the desktop icon that works into /root/.kde/share/applnk/Internet ?
Do I just do that logged in as root and it will work for root and users?

Brian1 11-15-2004 07:46 PM

You can login as a user to do that user. You will need to be root or sudo in to do root for root.
Brian1

Boow 11-16-2004 12:50 PM

and I suppose you open up stange files you get off the net as root lol.


All times are GMT -5. The time now is 02:25 AM.