Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139697 - kde apps should appear in gnome menu
Summary: kde apps should appear in gnome menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 11:44 UTC by Fab
Modified: 2007-01-27 19:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
konqueror.desktop patch (konqueror.desktop.patch,758 bytes, patch)
2006-07-08 11:45 UTC, Fab
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2006-07-08 11:44:01 UTC
Hi,

Kde applications should appear in gnome menu.

For example, I have to apply attached patch and run next command as root to make appear konqueror in the gnome's menu network subcategory.

# ln -s /usr/kde/3.5/share/applnk/konqueror.desktop /usr/share/applications/konqueror.desktop

Currently, only one kde's application appear in the gnome menu : k3b.

Is there a more simple way to do it ?

Thanks.


$ emerge --info
Portage 2.1.1_pre2-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/distpack/distfiles"
FEATURES="autoconfig buildpkg buildsyspkg candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/distpack/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bg-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dlloader dri dts dvd dvdr dvdread emboss encode esd exif fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib isdnlog java jpeg kde ldap libg++ libnotify libwww logrotate mad mikmod mmx motif mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl seamonkey session spell spl sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fab 2006-07-08 11:45:06 UTC
Created attachment 91227 [details, diff]
konqueror.desktop patch
Comment 2 Fab 2006-07-08 12:44:55 UTC
(In reply to comment #0)
> Currently, only one kde's application appear in the gnome menu : k3b.

In fact, I must specify that I'm using kdebase-meta, so all kde's apps are not installed.

Others missing apps :

konsole
khelpcenter
kfontview
kwrite
kate
kde games
kinfocenter
kfind
kjobviewer
Comment 3 Pacho Ramos gentoo-dev 2006-12-15 04:34:49 UTC
If icons are installed in /usr/share/icons or /usr/share/pixmaps instead of /usr/kde/3.5/share/icons/, gnome and KDE are able to show the icon without this line in the patch:
+Icon=/usr/kde/3.5/share/icons/hicolor/64x64/apps/konqueror.png

Comment 4 Pacho Ramos gentoo-dev 2006-12-16 03:20:45 UTC
This bug is caused bad gentoo politics on kde installation. If kde is installed with --prefix=/usr this bug is fixed, but I don't know why gentoo KDE team wants to install KDE in /usr/kde (and with SLOTS). I think that this politic should change, I am not sure about users want to install KDE in slots (May be a pool in forums.gentoo.org... :-/).

I think that is not needed to install KDE in separated SLOTs, migration can be easily and succesfully done without preserve old KDE versions, like the most of distributions does, for example, now, there isn't any other kde version than 3.5 in portage tree, then, SLOTs aren't being used. I think that this behavior should be revised.

Thanks a lot
Comment 5 Pacho Ramos gentoo-dev 2007-01-02 11:55:09 UTC
I have found the FIX :-D

Only is needed to be exported the following variable:
XDG_DATA_DIRS=/usr/kde/3.5/share:/usr/share

I have done the following:
1. Log-out gnome session and switch to console.
2. echo "XDG_DATA_DIRS=/usr/kde/3.5/share:/usr/share" > /etc/env.d/99kdemenu
3. env-update
4. login again in gnome and... kde menu entries also appears ;-)

Thanks a lot for fixing it in the tree for all users :-)
Comment 6 Pacho Ramos gentoo-dev 2007-01-12 16:18:12 UTC
May be this PATH be set in /etc/env.d/45kdepaths-3.5 ?

Thanks a lot for fixing this bug
Comment 7 Pacho Ramos gentoo-dev 2007-01-16 22:07:19 UTC
(In reply to comment #6)
> May be this PATH be set in /etc/env.d/45kdepaths-3.5 ?
> 
> Thanks a lot for fixing this bug
> 

Please, fix this for kde 3.5.6 :-) 

Thanks a lot :-)
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-19 17:19:45 UTC
This is fixed as of 3.5.6.
Comment 9 Pacho Ramos gentoo-dev 2007-01-19 22:55:20 UTC
Thanks a lot :-)
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 10:13:07 UTC
*** Bug 164034 has been marked as a duplicate of this bug. ***
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2007-01-27 17:08:56 UTC
*** Bug 164034 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 19:15:00 UTC
*** Bug 164034 has been marked as a duplicate of this bug. ***