I found the crash in the svn version: for some reason the "Left Panel
Homepage" in krusaderrc pointed to "${HOME}/develop/". Don't know how this
came here; the kde3 version just shows an error message in this case, the
kde4 version shows the error mesage and crashes - there a lot more to do!
As the beta 4 does not show up in kubuntu, I submitted my changes. The svn
version will now no longer compile under beta 2! No idea what will happen
under beta 4...
I spent the last week hunting the nasty icons (which are all question marks).
I read documentation (almost non existing), googled, copied the icons into
almost every directory, tried to understand the kde 4 source code (object
oriented nightmare) and asked in the kde-devel mailing list (triggered a
flame war between two others, but non could help me really). Finally I hacked
into the kdelib and printed out the directory actually searched. I think, its
still buggy in kde4 OR that we are missing a magic command, which adds our
icon directory to the list of searched directories.
By accident I found, that by adding a
iconLoader->addExtraDesktopThemes();
in krusader.cpp, suddenly
/usr/lib/kde4/share/apps/krusader/icons/oxygen/32x32/actions
(or other resolutions) are searched as well! So if you copy the icons into
this directory, some more icons show up (see picture below). The missing were
obviously kde 3 default icons which are no longer, at least not in oxygen.
For a test I replaced the reload icon by the oxygen version and its now
there!
So for the icons the following is to be done:
- if crstal should remain our theme, find out how to let KIconLoader search in
crystalsvg
- OR if we move to oxygen replace the icons by oxygen versions and install
them there
- select new icons for the missing ones OR create new for them
The current look is attached (just a small change to the previous state but
endless hours of tedious searching...)
Good night
Heiner
Hi Heiner,
nice to see some icons at last. :)
I think we should switch to Oxygen since it's the new default in KDE4.
The icons have a big impact on the look of the GUI. If i had more time on my
hands i would join the ride. Unfortunately i didn't even have time to install
KDE4 yet. Maybe next weekend...
BTW, where do the two (broken) icons in the menubar come from? The look pretty
misplaced.
bye,
Dirk
--
Dirk Eschler <mailto:dirk.e...@gmx.net>
http://www.krusader.org
I think that the right way how to deal with icons is rename them from
cr32... to hi32... because HiColor is place where not themed icons
should go and then put line:
kde4_install_icons( ${ICON_INSTALL_DIR} )
into CMakeList.txt.
I'm not sure if kde4_install_icons is in beta3 because I'm using
current svn version.
Hi!
It is. I renamned the icons from cr... to ox... so that just some artists have
to replace them lateron with oxygen looking pictures. But with the
kde4_install_icons( ${ICON_INSTALL_DIR} ) they go to
.../share/icons/oxygen/32x32/actions/...
instead of
.../share/apps/krusader/icons/oxygen/32x32/actions/...
So here some other cmake command is necessary. I have created a list of files,
which will be installed:
cmake -DCMAKE_INSTALL_PREFIX=/tmp/kde4 .
make install
cat install_manifest.txt
see end of this mail. From this you can see, that all icons and the
documentation would end up in a global directory (not krusader local). The
locales, man page and services are not there. Either not installed or not
influenced by -DCMAKE_INSTALL_PREFIX.
So here is some work to be done.
Heiner
/tmp/kde4/bin/krusader
/tmp/kde4/share/applications/kde4/krusader.desktop
/tmp/kde4/share/applications/kde4/krusader_root-mode.desktop
/tmp/kde4/share/apps/krusader/krusaderui.rc
/tmp/kde4/share/apps/krusader/midnight_commander.color
/tmp/kde4/share/apps/krusader/total_commander.color
/tmp/kde4/share/apps/krusader/total_commander.keymap
/tmp/kde4/share/apps/krusader/total_commander.keymap.info
/tmp/kde4/share/apps/krusader/useraction_examples.xml
/tmp/kde4/share/apps/krusader/splash.png
/tmp/kde4/share/icons/oxygen/48x48/apps/krusader_user.png
/tmp/kde4/share/icons/oxygen/48x48/apps/krusader_red.png
/tmp/kde4/share/icons/oxygen/48x48/apps/krusader_blue.png
/tmp/kde4/share/icons/oxygen/32x32/apps/krusader_root.png
/tmp/kde4/share/icons/oxygen/48x48/apps/krusader_root.png
/tmp/kde4/share/icons/oxygen/22x22/apps/krusader_user.png
/tmp/kde4/share/icons/oxygen/32x32/apps/krusader_shield.png
/tmp/kde4/share/icons/oxygen/48x48/apps/krusader_shield.png
/tmp/kde4/share/icons/oxygen/22x22/apps/krusader_red.png
/tmp/kde4/share/icons/oxygen/16x16/apps/krusader_root.png
/tmp/kde4/share/icons/oxygen/32x32/apps/krusader_user.png
/tmp/kde4/share/icons/oxygen/22x22/apps/krusader_root.png
/tmp/kde4/share/icons/oxygen/32x32/apps/krusader_blue.png
/tmp/kde4/share/icons/oxygen/16x16/apps/krusader_user.png
/tmp/kde4/share/icons/locolor/32x32/apps/krusader2.png
/tmp/kde4/share/icons/oxygen/32x32/apps/krusader_red.png
/tmp/kde4/share/icons/oxygen/64x64/apps/krusader_blue.png
/tmp/kde4/share/icons/oxygen/64x64/apps/krusader_root.png
/tmp/kde4/share/icons/locolor/32x32/apps/krusader.png
/tmp/kde4/share/icons/oxygen/64x64/apps/krusader_user.png
/tmp/kde4/share/icons/oxygen/16x16/apps/krusader_red.png
/tmp/kde4/share/icons/oxygen/64x64/apps/krusader_shield.png
/tmp/kde4/share/icons/oxygen/22x22/apps/krusader_shield.png
/tmp/kde4/share/icons/oxygen/22x22/apps/krusader_blue.png
/tmp/kde4/share/icons/locolor/16x16/apps/krusader.png
/tmp/kde4/share/icons/oxygen/16x16/apps/krusader_blue.png
/tmp/kde4/share/icons/oxygen/64x64/apps/krusader_red.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_compare.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_unselectall.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_syncdirs.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_mountman.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_combine.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_arc_unpack.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_calc.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_unselectall.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_dependencies.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_mountman.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_mountman.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_unselect.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_ftp_connect.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_unselectall.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_comparedirs.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_fullview.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_ftp_disconnect.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_arc_pack.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_bookman.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_useractions.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_ftp_connect.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_bookman.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_profile.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_selectall.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_addbookmark.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_bookman.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_addbookmark.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_split.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_ftp_new.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_hwinfo.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_selectall.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_invert.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_treeview.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_arc_test.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_split.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_select.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_comparedirs.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_comparedirs.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_diskusage.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_selectall.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_bookmark.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_select.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_fullview.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_arc_test.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_fullview.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_jumpback.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_terminal.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_arc_unpack.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_syncdirs.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_calc.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_unselect.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_arc_pack.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_bookmark.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_properties.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_properties.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_diskusage.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_ftp_disconnect.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_hwinfo.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_terminal.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_diskusage.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_invert.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_ftp_disconnect.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_addbookmark.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_invert.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_treeview.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_calc.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_profile.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_compare.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_syncbrowse_off.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_arc_unpack.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_ftp_new.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_syncdirs.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_arc_test.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_ftp_new.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_ftp_connect.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_treeview.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_unselect.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_setjumpback.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_combine.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_compare.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_combine.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_arc_pack.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_syncbrowse_on.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_terminal.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_select.png
/tmp/kde4/share/icons/oxygen/22x22/actions/kr_properties.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_profile.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_bookmark.png
/tmp/kde4/share/icons/oxygen/32x32/actions/kr_hwinfo.png
/tmp/kde4/share/icons/oxygen/16x16/actions/kr_split.png
/tmp/kde4/share/doc/HTML/en/en/introduction.docbook
/tmp/kde4/share/doc/HTML/en/en/credits.docbook
/tmp/kde4/share/doc/HTML/en/en/glossary.docbook
/tmp/kde4/share/doc/HTML/en/en/occupied-space.docbook
/tmp/kde4/share/doc/HTML/en/en/more.docbook
/tmp/kde4/share/doc/HTML/en/en/diskusage.docbook
/tmp/kde4/share/doc/HTML/en/en/features.docbook
/tmp/kde4/share/doc/HTML/en/en/editors-note.docbook
/tmp/kde4/share/doc/HTML/en/en/krusader-tools.docbook
/tmp/kde4/share/doc/HTML/en/en/bookmarks.docbook
/tmp/kde4/share/doc/HTML/en/en/archives.docbook
/tmp/kde4/share/doc/HTML/en/en/search.docbook
/tmp/kde4/share/doc/HTML/en/en/locate.docbook
/tmp/kde4/share/doc/HTML/en/en/viewer-editor.docbook
/tmp/kde4/share/doc/HTML/en/en/keyboard.docbook
/tmp/kde4/share/doc/HTML/en/en/release-overview.docbook
/tmp/kde4/share/doc/HTML/en/en/faq.docbook
/tmp/kde4/share/doc/HTML/en/en/synchronizer.docbook
/tmp/kde4/share/doc/HTML/en/en/checksum.docbook
/tmp/kde4/share/doc/HTML/en/en/splitter.docbook
/tmp/kde4/share/doc/HTML/en/en/index.docbook
/tmp/kde4/share/doc/HTML/en/en/profiles.docbook
/tmp/kde4/share/doc/HTML/en/en/vfs.docbook
/tmp/kde4/share/doc/HTML/en/en/help.docbook
/tmp/kde4/share/doc/HTML/en/en/commands.docbook
/tmp/kde4/share/doc/HTML/en/en/konfigurator.docbook
/tmp/kde4/share/doc/HTML/en/en/useraction-xml.docbook
/tmp/kde4/share/doc/HTML/en/en/configuration-files.docbook
/tmp/kde4/share/doc/HTML/en/en/using-krusader.docbook
/tmp/kde4/share/doc/HTML/en/en/mount.docbook
/tmp/kde4/share/doc/HTML/en/en/remote-connections.docbook
/tmp/kde4/share/doc/HTML/en/en/java.docbook
/tmp/kde4/share/doc/HTML/en/en/user-interface.docbook
/tmp/kde4/share/doc/HTML/en/en/compare.docbook
/tmp/kde4/share/doc/HTML/en/en/installation.docbook
/tmp/kde4/share/doc/HTML/en/en/mouse.docbook
/tmp/kde4/share/doc/HTML/en/en/useractions.docbook
/tmp/kde4/share/doc/HTML/en/ru/introduction.docbook
/tmp/kde4/share/doc/HTML/en/ru/credits.docbook
/tmp/kde4/share/doc/HTML/en/ru/glossary.docbook
/tmp/kde4/share/doc/HTML/en/ru/features.docbook
/tmp/kde4/share/doc/HTML/en/ru/editors-note.docbook
/tmp/kde4/share/doc/HTML/en/ru/krusader-tools.docbook
/tmp/kde4/share/doc/HTML/en/ru/keyboard.docbook
/tmp/kde4/share/doc/HTML/en/ru/release-overview.docbook
/tmp/kde4/share/doc/HTML/en/ru/faq.docbook
/tmp/kde4/share/doc/HTML/en/ru/index.docbook
/tmp/kde4/share/doc/HTML/en/ru/help.docbook
/tmp/kde4/share/doc/HTML/en/ru/commands.docbook
/tmp/kde4/share/doc/HTML/en/ru/konfigurator.docbook
/tmp/kde4/share/doc/HTML/en/ru/useraction-xml.docbook
/tmp/kde4/share/doc/HTML/en/ru/configuration-files.docbook
/tmp/kde4/share/doc/HTML/en/ru/using-krusader.docbook
/tmp/kde4/share/doc/HTML/en/ru/user-interface.docbook
/tmp/kde4/share/doc/HTML/en/ru/installation.docbook
/tmp/kde4/share/doc/HTML/en/ru/mouse.docbook
/tmp/kde4/lib/kde4/kio_krarc.so
/tmp/kde4/lib/kde4/kio_iso.so
> BTW, where do the two (broken) icons in the menubar come from? The look
> pretty misplaced.
Hi!
There are not only 2 misplaced icons but also 2 additional text items: "go"
and "settings". One of each is from us, the other - I don't know.
Interesting: If you click on the left question mark in the menu bar, the right
mouse button menu opens at the location of the selected file of the active
panel!
No idea
Heiner
To put icons in krusader local directory just replace
kde4_install_icons( ${ICON_INSTALL_DIR} )
with
kde4_install_icons( ${DATA_INSTALL_DIR}/krusader/icons )
About extra Settings and Go menus - it seems that standard action
always go to their menu. "Home" goes to menu "go_web", "Show toolbar"
goes to menu "settings". If menu with given name doesn't exists, it
creates a new one. Renaming "go" to "go_web" and "options" to
"settings" in krusaderui.rc file will fix it.
On 11/13/07, Heiner <h.eic...@gmx.de> wrote:
>
Hi!
Cool - I should have guessed it by myself :-/ If all problems would have such
an easy solution!
Do you have a simmilar hint for the documentation? Currently it goes to
/tmp/kde4/share/doc/HTML/en/en/
The directive is
kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
Okay, the trailing /en is wrong. But it means, that HTML_INSTALL_DIR
is /tmp/kde4/share/doc/HTML/ and that the language is added magically. So
kde4_create_handbook(index.docbook INSTALL_DESTINATION
${HTML_INSTALL_DIR}/en/krusader)
will place the english documentation to
/tmp/kde4/share/doc/HTML/en/krusader/en/
One "en" too much! Currently it is in /usr/local/share/doc/HTML/en/krusader/
Thanks,
Heiner
Hi!
Nice trick. It indeed removes the the additional "go" and "settings" - but it
now merges its contents. In other words: our "go" and "settings" menus now
contain menu itmes, which are not from us!
If I find some free minutes I will try to access the menu bar in the code and
kick the nasty items off...
Thanks,
Heiner
> Nice trick. It indeed removes the the additional "go" and "settings" - but it
> now merges its contents. In other words: our "go" and "settings" menus now
> contain menu itmes, which are not from us!
I don't see any extra items in Setting menu, I can see only extra Up
in Go menu. I think that it's there because krusader defines his own
Up action (dirUp) and then define standard Up action in code.
Standard Up action then creates it's own item in menu.
Merging of standad items can be disabled using noMerge parameter:
<Menu name="go_web" noMerge="1">
But I think better solution will be using only correct names for
standard actions. This way actions will also get correct icon.
Anyway there is other problem in menu. For example std_quit and
std_home doesn't mean anything. You can see this items in menu only
because they're merged from standard menu. These actions should be
either renamed or removed from krusaderui.rc.
kde4_create_handbook should install doc to krusader directory
automatically. I have no idea what it doesn't work. Anyway following
command will make it work for sure:
kde4_create_handbook(index.docbook INSTALL_DESTINATION
${HTML_INSTALL_DIR}/en SUBDIR krusader)
Hi!
Done, works fine.
Thank you very much,
Heiner
Hi,
kde4_create_handbook should install doc to krusader directory
automatically. I have no idea what it doesn't work. Anyway following
command will make it work for sure:kde4_create_handbook(index.docbook INSTALL_DESTINATION${HTML_INSTALL_DIR}/en SUBDIR krusader)
> Do you have a simmilar hint for the documentation? Currently it goes to
>
> /tmp/kde4/share/doc/HTML/en/en/
>
> The directive is
>
> kde4_create_handbook( index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
Hi!
Okay, I think I now understood what you ment. I've removed the action for "up"
(backspace) for the moment and renamed all std actions and menu names in
krusaderui.rc to hit the new names. Now indeed the two additional menu items
(go, settings) are gone and now these two menu itmes contain what they
should.
Just: in settings teh order is not as set in krusaderui.rc. Do you know why?
Thanks again,
Heiner
Just add noMerge="1" to settings menu, it will make actions sorted in
krusader order, not in standard order:
<Menu name="settings" noMerge="1">
Show toolbar and Show menu actions will disapear from menu. Show
toolbar because you have typo in it, it should be
options_configure_toolbars. Show menu because it's commented out in
krusader.cpp.
Hi!
Seems to be a kind of mixup. I re-installed it today (kdebase-workspace and
kde4base-dev) and now I have:
root@kubuntu:/home/he# dpkg -l | grep "KDE 4"
ii kde4base 3.94.0-0ubuntu1
core applications for KDE 4 testing
ii kde4base-data 3.94.0-0ubuntu1
core shared data for KDE 4 testing applicati
ii kde4base-dev 3.94.0-0ubuntu1
development files for the KDE 4 testing appl
rc kde4games 3.94.0-0ubuntu1
games applications for KDE 4 testing
rc kde4graphics 3.94.0-0ubuntu1
graphics applications for KDE 4 testing
rc kde4multimedia 3.94.0-0ubuntu1
multimedia applications for KDE 4 testing
rc kde4network 3.93.0-0ubuntu2
network applications for KDE 4 testing
rc kde4pim 3.94.0-0ubuntu1
KDE PIM suit for KDE 4 testing
rc kde4sdk 3.93.0-0ubuntu1~feisty1
sdk applications for KDE 4 testing
rc kde4utils 3.93.0-0ubuntu2
utils applications for KDE 4 testing
ii kdebase-workspace 3.94.0-0ubuntu2
core workspace applications for KDE 4 testin
ii kdebase-workspace-data 3.94.0-0ubuntu2
workspace shared data for KDE 4 testing appl
ii kdelibs5 3.95.0-0ubuntu1~gutsy1
core libraries for all KDE 4 alpha applicati
ii kdelibs5-data 3.95.0-0ubuntu1~gutsy1
core shared data for all KDE 4 testing appli
ii kdelibs5-dev 3.95.0-0ubuntu1~gutsy1
development files for the KDE 4 testing core
So I think the libs are beta4!
Heiner
Hi!
Looks now as in kde3. Thanks again and committed.
Heiner
Hi!
Not sure - on my system it suddenly doesn't run anymore. Maybe one of the
updates yesterday or today broke something. I will trigger a rebuild all. If
I end up in compile errors, we have the same libs - and problems :-)
Heiner
No, it still compiles here but crashes on startup. Hopefully I can look at it
tomorrow.
Good night
Heiner
Hi!
I've installed them. Now cmake complains, that KDE4Internal_DIR is not set. I
have the feeling, that things get worse from day to day :-(
Hope you have more luck....
Good night
Heiner