[Pkg-xfce-devel] Bug#535708: xfdesktop4: Please add a toplevel Science menu

Carlo Segre segre at debian.org
Sat Jul 4 17:17:21 UTC 2009


Package: xfdesktop4
Version: 4.6.1-1
Severity: wishlist


Hello:

Since 2007 or so, XFCE4 has conformed to the freedesktop.org "standards" and
put the "Science" category into "Education".  This has been a topic of
discussion on the debian-science list and most agree that Science is not
always Education, and it is misleading to have research-oriented tools under
the "Education" heading.  KDE and Gnome have addressed this by having a top
level Science category and it would be nice if XFCE4 would do this as well. 
It seems unlikely that freedesktop.org will make Science a top level
category (we have asked and filed a bug several years ago).  Because of
this, upstream is unlikely to make changes either so a Debian-specific
change would be nice.  This would involve making changes in two packages,
xfdesktop4 and xfdesktop4-data.  The changes required are listed below.

1. in xfdesktop4 change /etc/xdg/menus/xfce-applications.menu to have an 
entry which reads:
    <Menu>
        <Name>Science</Name>
        <Directory>xfce-science.directory</Directory>
        <Include>
            <Category>Science</Category>
        </Include>
    </Menu>

and modify the Education entry to read:
    <Menu>
        <Name>Education</Name>
        <Directory>xfce-education.directory</Directory>
        <Include>
            <And>
                <Category>Education</Category>
                <Not><Category>Science</Category></Not>
            <And> 
        </Include>
    </Menu>


2. in xfdesktop4-data add a file called xfce-science.directory in 
/usr/share/desktop-directories with the following contents (this has been
taken from kde-science.directory and gnome-science.directory).  The icons
are taken by default from the /usr/share/icons/gnome/32x32/categories
directory and there is an applications-science.png icon there.

[Desktop Entry]   
Version=1.0
Encoding=UTF-8   
Type=Directory  
Icon=applications-science
Name=Science
Name[ar]=العلوÙ

Name[be]=Навука    
Name[bn]=বিজ্ঞান
Name[bs]=Nauka
Name[ca]=Ciència
Name[cs]=Věda
Name[da]=Videnskab
Name[de]=Wissenschaft
Name[dz]=ཚན་རིག   
Name[el]=Επιστημονικά
Name[en_GB]=Science
Name[eo]=Scienco  
Name[eu]=Zientzia
Name[fi]=Tiede     
Name[fr]=Sciences
Name[gl]=Ciencias
Name[gu]=વિજ્ઞાન 
Name[he]=מדע         
Name[hi]=विज्ञान      
Name[hr]=Znanost     
Name[hu]=Tudomány    
Name[id]=IPTEK       
Name[it]=Scienza     
Name[ja]=科学        
Name[km]=វិទ្យាសាស្ត្រ<200B>
Name[ko]=과학
Name[ku]=Zanist
Name[mk]=Наука 
Name[ml]=ശാസ്ത്രം
Name[mr]=विज्ञान
Name[nb]=Vitenskap
Name[ne]=विज्ञान   
Name[nl]=Wetenschap
Name[nn]=Vitskap   
Name[pt]=Ciência   
Name[ro]=Știință   
Name[sk]=Veda      
Name[sq]=Shkencë   
Name[th]=วิทยาศาสตร์ 
Name[tl]=Agham
Name[tr]=Bilim
Name[uk]=Наука
Name[vi]=Khoa học
Name[zh_TW]=科學 
Comment=Scientific applications
Comment[it]=Applicazioni scientifiche
Comment[fr]=Applications scientifique


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfdesktop4 depends on:
ii  exo-utils              0.3.101-2         Utility files for libexo
ii  libatk1.0-0            1.26.0-1          The ATK accessibility toolkit
ii  libc6                  2.9-18            GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.14-3          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.80-4            simple interprocess messaging syst
ii  libexo-0.3-0           0.3.101-2         Library with extensions for Xfce
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libglade2-0            1:2.6.4-1         library to load .glade files at ru
ii  libglib2.0-0           2.20.3-1          The GLib library of C routines
ii  libgtk2.0-0            2.16.2-1          The GTK+ graphical user interface 
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libpango1.0-0          1.24.3-1          Layout and rendering of internatio
ii  libsm6                 2:1.1.0-2         X11 Session Management library
ii  libthunar-vfs-1-2      1.0.1-1           VFS abstraction used in thunar
ii  libwnck22              2.26.1-1          Window Navigator Construction Kit 
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxfce4menu-0.1-0     4.6.1-1           freedesktop.org compliant menu imp
ii  libxfce4util4          4.6.1-1           Utility functions library for Xfce
ii  libxfcegui4-4          4.6.1-1+b1        Basic GUI C functions for Xfce4
ii  libxfconf-0-2          4.6.1-1           Client library for Xfce4 configure
ii  xfce4-panel            4.6.1-3           The Xfce4 desktop environment pane
ii  xfdesktop4-data        4.6.1-1           xfce desktop background, icons and
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

Versions of packages xfdesktop4 recommends:
ii  dbus-x11                      1.2.14-3   simple interprocess messaging syst
ii  gamin                         0.1.10-1   File and directory monitoring syst
ii  librsvg2-common               2.26.0-1   SAX-based renderer library for SVG
ii  xdg-user-dirs                 0.10-1     tool to manage well known user dir
ii  xfce4-utils                   4.6.1-1    Various tools for Xfce

Versions of packages xfdesktop4 suggests:
ii  menu                          2.1.41     generates programs menu for all me

-- no debconf information





More information about the Pkg-xfce-devel mailing list