Image 01
profile-image

ptitpoul

Guillaume Millet Paris, France
Various KDE 1.-4. Improvements
Kopete Log Sync Toolkit

Chat & Messenging 6 comments

Score 58.0%
Aug 08 2008
There should be the LIBXML2 include directory in CMakeLists.txt:

cmake_minimum_required (VERSION 2.6)
project(klt)

#if you don't want the full compiler output, remove the following line
set(CMAKE_VERBOSE_MAKEFILE ON)

#add definitions, compiler switches, etc.
add_definitions(-Wall -g -O2 )

#list all source files here
add_executable(klt main.c merger.c)

#need to link to some other libraries ? just add them here
find_package(LibXml2 REQUIRED)
include_directories("${LIBXML2_INCLUDE_DIR}")
target_link_libraries(klt ${LIBXML2_LIBRARIES}) - Apr 27 2011
Quick File BrowserMenu applet

Various KDE 1.-4. Improvements 22 comments

Score 50.0%
Mar 24 2008
It's not possible, this applet works only with kicker.
The bookmark toolbar reads and saves its content in a xml file (~/.kde/share/apps/konqueror/bookmarks.xml). A way to have a "file" browser in the bookmarks (just links towards files) would be to write a script that creates a bookmarks.xml which lists the content of a directory. - Mar 05 2009
Good question. The built-in applet does not support KIO slaves (its code only looks for files and folders). So adding this support needs a almost whole rewriting of the built-in applet's code.
I think it's not worth doing this with the current development of Plasma for KDE 4. Moreover I have no time anymore untill the end of the year, PhD ending...

I don't know who is currently coding a quick file browser plasmoid, if there is someone for the moment. I hope this applet will be soon available in Plasma, with filters, KIO slaves, choice of commands, context menus. - Jun 30 2008
Have you got the kdelibs4-dev and libkonq4-dev packages ? There are required to compile the applet. Sorry I haven't stated in the description. - Apr 29 2008
Hello,
at the beginning, I started with the Kicker-applet template in KDevelop (proposed by the wizard of KDevelop). Also I downloaded the source of kicker (for kubuntu, it's in the kdebase package) to read the code of the Browser applet of kicker.
For what you want to do, you may read the code of the Quick Launcher applet (at kicker/applets/launcher in the source).
Contact me if you need more details (but I'm not an expert, browsermenu is my first applet). - Mar 25 2008
The 0.3.4.1 version is still a subclass method, I like the difficulty.

Forking the built-in will able to correct some kicker bug such as drag&drop a file in the highlighted folder instead of in the highlighted popup (= one-level up folder). - Mar 24 2008
Thank you for your comments.

Indeed, I forgot to check the case when all the files of a "More" popup are removed by a filter. Therefore, filtering in the 0.3.4 version is limited to 30 (the max number of entries, mutable in the Kicker configuration) filtered entries per directory.

Actually, in the released versions (0.2 to 0.3.4), I subclass (C++) the built-in Browser button of Kicker, i.e. the classical browser menu is firstly created and, before being shown, I modify it in adding/removing commands and filtering items.
The other method is forking the built-in Kicker applet.

For just modifying commands, the benefit of the subclass method is to obtain a short and simple code (cf v0.2).
But the add of the filtering feature with this method requires a difficult coding (due to the removing the "More" popups) as compared with the fork method because, in the fork method, items are filtered during the popup creation, not after.

Therefore, for next versions with non-bugged filters and other more features, I will fork the built-in Kicker browser button. - Mar 20 2008
I will see this with the next kubuntu, in April. I have not already seen whether Plasma has a Quick File Browser built-in applet. - Mar 12 2008
Indeed, I forgot to write the regex filter in the TODO list, it is intended; particularly for hiding backup files with "~", system folders like "lost+found" and "Recycled". - Feb 19 2008
You can either dowload the source package browsermenu_0.2.orig.tar.gz and then compile it if the building tools are installed (autotools, g++, ...) ; or use alien to convert the deb package in your package format.

I have just added a rpm package, alienized from the deb one. If someone can confirm its validity, it would be great. - Feb 18 2008
KBibTeX

Science 25 comments

Score 82.7%
Aug 11 2015
the "patent" entry is not standard, but some bibtex styles recognize it, such as IEEEtran. It could nice to propose it in KBibTex, with the add of special fields such as nationality, dayfiled, monthfiled and yearfiled (cf www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex/IEEEtran_bst_HOWTO.pdf). - Nov 05 2008
Thunderbird Service Menu

Dolphin Service Menus 30 comments

Score 50.0%
Apr 09 2010
Better, add quotes : Exec=thunderbird -compose "`echo attachment=\'file://%F\' | sed 's/ \//,file:\/\/\//g'`"
This allows to take filenames which comprise " -" (a space followed by a dash). However it can't attach filename comprising a comma. - Nov 18 2007
for Thunderbird 2 (Gutsy), this Exec key allow to attach more than one file:

Exec=thunderbird -compose `echo attachment=\'file://%F\' | sed 's/ \//,file:\/\/\//g'` - Oct 01 2007
Attach to Email Service Menu

Dolphin Service Menus 110 comments

Score 50.0%
Oct 30 2006
For using with Mozilla Thunderbird 2 (Kubuntu gutsy), I had to change the python script:
- line 109, no \' around %s : attachments.append("%s" % (path))
- line 117, comma separation and "file://" : attachments=join(attachments,",file://")

Good servicemenu, but a little heavy for the translation system in my opinion: for 4 sentences, you may include them in the python script rather than to create a lot of tiny locale folders.

Why did you choose ~/.kde/bin rather than the common ~/bin ? As ~/bin is already in the PATH variable, you don't have to modify attachToEmail.desktop during the install process (more simple).

Regards - Sep 26 2007