[Konsole-devel] [Bug 161280] bookmark infrequent or important commands

Greg Rundlett greg at freephile.com
Mon Nov 10 15:27:22 UTC 2008


http://bugs.kde.org/show_bug.cgi?id=161280


Greg Rundlett greg freephile com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg at freephile.com




--- Comment #2 from Greg Rundlett <greg freephile com>  2008-11-10 16:27:20 ---
Rob,

Please consider re-opening this bug.    I present a workaround at the bottom.

In current Konsole, you can save any string you want in the URL portion of a
bookmark, but those bookmarks do not get echoed out to the Konsole window
unless they meet some (unknown) criteria.

I'd say this is a bug (and actually a regression) because I too used the prior
(Konsole 3.5.x Bookmarks) system to organize and "remember" a whole series of
shell commands and 'shortcuts' .  In my example, I have the following
categories of "bookmarks" in konsole:  

'development'
'network tricks'
'file ops'
'system info'
'setup, configuration'
'math tricks with bc'
'mail'
'sys admin'

The fact that I can write my own scripts, or use bash history is not a
consolation.   Those methods are not nearly as useful nor convenient as having
a bookmark menu built-in.  Infrequent commands will not even be accessible in
bash history unless you set that to be "unlimited" (non-default).

For new and experienced users alike, it is very handy to be able to give a
command a place to remember it, and a name to remember it by:

"list them all"                 ls -al
"list the newest files"    ls -alt | head
"list the oldest files"      ls -alt | tail

While those examples may look trivial and not significant enough to call this a
regression, how about this example "bookmark":

"Take Temperature"   
tc=$(cat /proc/acpi/thermal_zone/THM/temperature|cut -d' ' -f 14); tf=$(echo
"scale=2;((9/5) * $tc) +32" |bc); echo "temp is $tc C or $tf F" 

I use Konsole bookmarks expressly because they are favorite or useful shell
commands that I can not only use and edit easily from within Konsole, but I can
also back up, and replicate them across machines easily.  That is not something
you'd even want to do with a history file. 

I am guessing that this regression is due to some new parsing and validation of
the URL part by the KbookmarkEditor?  /If/ that is the cause for the change,
then I'd have to say it's not considering the use cases that I mention here. 
While http:// scheme is _one_ valid scheme for HTTP bookmarks, it is not even
desirable for Konsole bookmarks to be "validated".  In limited testing, konsole
does not echo bookmarks that begin with the string "http://", while bookmarks
that begin with the string "file://" get translated to "cd /some/path"

This issue is reported again at https://bugs.kde.org/show_bug.cgi?id=173212 and
https://bugs.kde.org/show_bug.cgi?id=174361

=== WORKAROUND ====
Click 'Bookmarks'
Position mouse to highlight desired bookmark
Right-click and select 'Copy Link Address'
In Konsole window, Right-click and Paste or press Ctrl+Shift+V


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list