KDE Menu's
damian
misc at daminator.com
Fri Jun 8 15:52:31 UTC 2007
John L Fjellstad wrote:
> damian <misc at daminator.com> writes:
>
>
>> Also, could someone give me a guide as to what should be in the menu and
>> what's from Gnome? I don't want to have only Gnome apps in Gnome and KDE
>> apps in KDE, but at the same time, I don't want Gnome's configuration
>> apps showing up in KDE and visa versa.
>>
>
> Run the following scripts:
> ##############
> #!/bin/bash
>
> pushd /usr/share/applications/kde
> for file in *.desktop; do
> grep -q OnlyShowIn=KDE $file
> if [ $? -eq 1 ]; then
> sudo su -c "echo 'OnlyShowIn=KDE' >> $file"
> fi
> done
> popd
> ##############
> #!/bin/bash
>
> pushd /usr/share/applications
> for file in *.desktop; do
> echo $file | grep -q wireshark
> if [ $? -eq 0 ]; then
> continue
> fi
> grep Categories $file | grep -q GNOME
> if [ $? -eq 0 ]; then
> grep -q OnlyShowIn=GNOME $file
> if [ $? -eq 1 ]; then
> sudo su -c "echo 'OnlyShowIn=GNOME' >> $file"
> fi
> fi
> done
> popd
> ##############
>
> The first one will make all KDE programs invisible in the GNOME menu.
> The second one will make all GNOME programs invisible in the KDE menu.
>
> I saved the first script in a file called kdemenu.sh and the second
> script in a file called gnomemenu.sh. Change the permission on the
> files (chmod +x <filename>).
>
But would that mean that I couldn't (for example) use Amarok in Gnome or
Synaptic package manager in KDE? I don't want that, I just want to
neaten things up.
Damian
More information about the kubuntu-users
mailing list