Konsole Toolview

Kevin Funk kfunk at kde.org
Thu Jul 24 21:09:41 BST 2014


On Wednesday 23 July 2014 19:29:32 Alvin Beach wrote:
> Hello,
> 
> When I open the Konsole Toolview, I get the prompt:
> 
>    rm: remove regular file '/tmp/some_random_file'
> 
> I assume this is the file that is used to communicate between the bash
> session and kdevelop (e.g. s!)
> 
> In my /etc/bash.bashrc.local I have:
> 
> alias rm='rm -i'
> 
> and similar for cp and mv.
> 
> I disabled the alias to rm (logged back in) and confirm that I do not
> receive that prompt.
> 
> These aliases do not effect my bash scripts.
> 
> Just wondering if there is something I can do to KDevelop (config script,
> etc.) that could use 'rm -f' on the temp file? Or perhaps there is some
> trick I could do to the /usr/share/applications/kde4/kdevelop.desktop?
> Basically, anything outside of recompiling KDevelop. Thanks,

There should be a file called kdevplatform_shell_environment.sh somewhere in 
your system. For me it is here:

  kdevplatform7-libs: /usr/bin/kdevplatform_shell_environment.sh

Find the line containing "rm $TEMP", replace it with "rm -f $TEMP".

Does that help?

Greets

-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org



More information about the KDevelop mailing list