Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 139697
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: netfab <netfab@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
konqueror.desktop.patch konqueror.desktop patch patch netfab 2006-07-08 11:45 0000 758 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139697 depends on: Show dependency tree
Bug 139697 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-08 11:44 0000
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 From netfab 2006-07-08 11:45:06 0000 -------
Created an attachment (id=91227) [details]
konqueror.desktop patch

------- Comment #2 From netfab 2006-07-08 12:44:55 0000 -------
(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 From Pacho Ramos 2006-12-15 04:34:49 0000 -------
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 From Pacho Ramos 2006-12-16 03:20:45 0000 -------
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 From Pacho Ramos 2007-01-02 11:55:09 0000 -------
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 From Pacho Ramos 2007-01-12 16:18:12 0000 -------
May be this PATH be set in /etc/env.d/45kdepaths-3.5 ?

Thanks a lot for fixing this bug

------- Comment #7 From Pacho Ramos 2007-01-16 22:07:19 0000 -------
(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 From Diego E. 'Flameeyes' Pettenò 2007-01-19 17:19:45 0000 -------
This is fixed as of 3.5.6.

------- Comment #9 From Pacho Ramos 2007-01-19 22:55:20 0000 -------
Thanks a lot :-)

------- Comment #10 From Jakub Moc (RETIRED) 2007-01-27 10:13:07 0000 -------
*** Bug 164034 has been marked as a duplicate of this bug. ***

------- Comment #11 From Rémi Cardona 2007-01-27 17:08:56 0000 -------
*** Bug 164034 has been marked as a duplicate of this bug. ***

------- Comment #12 From Jakub Moc (RETIRED) 2007-01-27 19:15:00 0000 -------
*** Bug 164034 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug