Gedit’s little annoying “Untitled Document” feature, which apparently isn’t a bug ?

While I’m pretty much used to use gedit for all my text-editing needs. One of it’s most annoying, and therefore distracting “ features, ” is : When you wish to use alt+f2 — which pops up a ‘ run command window ’ akin to win+run. To run for example : kdesudo gedit /etc/fstab in kde, and gksudo gedit /etc/fstab in gnome. Then gedit does indeed open the intended file, plus 1. I’m glad to see I’m not the only one, who has this annoyance.

So I followed the instructions at : UBF

Exec=gedit $1 < /dev/null

And got surprised at the new behavior. Which is described perfectly at LMF. 😆

But if I then open the same file from Nautilus it actually makes things several times worse. I get a file called ‘$1’, another called ‘<' , another called 'dev/null' and lastly the file that I actually want to open.

So I took their suggestion, and as of right now, except for : While using gksudo ? Everything is in working order now. 😉

Exec=gedit %u

See the pictures at my cloudup for examples, of this particular behavior.

Target : Self.

Duck duck, go…, a different type of search-engine, or is it?

What is DuckDuckgo?

Duckduckgo is a search-engine I recently discovered, and have been playing with for the last couple of weeks. 🙂

Until recently, whenever I needed to find something. Or simply wanted to know something, of relevance to what I was reading about/looking at. I usually used to just “ google it ”, nowadays I “ duck it ”. And with great pleasure, as I’ve noticed no real differences between the great giant google, and the small duck. There are, however, many differences between the two! Those mainly exist beneath the hood, and for all intents and purposes is the main reason for making the permanent switch to little Dax, the duckduckgo mascot. 😉

Chromium's omnibox.

How I generally search for things.

Which results in being taken to.

Which results in being taken to.

Now usually I wouldn’t write any post, about a minor change in habits I’ve made. Were it not, that I found out something about how my system handles search queries! Allow me to illustrate this with a series of pictures. 😉

Searching for ‘Duckduckgo’ on wikipedia.

Searching for ‘Duckduckgo’ on wikipedia.

The resultant page.

The resultant page.

Searching for ‘Duckduckgo’ on google.

Searching for ‘Duckduckgo’ on google.

The resultant page.

The resultant page.

Searching for ‘Duckduckgo’ on duckduckgo.

Searching for ‘Duckduckgo’ on duckduckgo.

The resultant page.

The resultant page.

Now that you have seen how I regard the “ dash ”, in a similar manner as I do the omnibox (search-box) in chromium (or chrome ™). 😉 It’s time for me to show you how to add duckduckgo to your gnome-shell (or unity) dash.

gksudo gedit /usr/share/gnome-shell/open-search-providers/duckduckgo.xml

gksudo gedit /usr/share/gnome-shell/open-search-providers/duckduckgo.xml

First you press “ alt+f2 ” and then you enter:

gksudo gedit /usr/share/gnome-shell/open-search-providers/duckduckgo.xml

And paste in the following:

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>DuckDuckGo</ShortName>
<Description>Search DuckDuckGo (SSL)</Description>
<InputEncoding>UTF-8</InputEncoding>
<LongName>DuckDuckGo Search (SSL)</LongName>
<Image width="16" height="16">http://duckduckgo.com/favicon.ico</Image>
<Url type="text/html" method="get" template="https://duckduckgo.com/?q={searchTerms}"/>
</OpenSearchDescription>

While you’re at it, be sure to change the “ google.xml ” file:

<Url type="text/html" method="GET" template="http://www.google.com/search?q={searchTerms}"/>
<Url type="text/html" method="GET" template="https://encrypted.google.com/#q={searchTerms}"/>

Do the same for the “ wikipedia.xml ” file:

<Url type="text/html" method="GET" template="http://{language}.wikipedia.org/wiki/Special:Search?search={searchTerms}"/>
<Url type="text/html" method="GET" template="https://{language}.wikipedia.org/wiki/Special:Search?search={searchTerms}"/>

Basically put, I just asked you, to replace the insecure ‘ http ’ links, with their secure ‘ https ’ counterparts. 😉 Therefore, from now on, your search queries won’t be broadcasted out into the open anymore. 😉 ← Which, after all, was the whole reason for this post!

Tiny Matroska pinguins

Tiny Matroska pinguins (Photo credit: Act, don’t think)


That’s all folks! 😆

Kindest regards,

Alex

ღ Ƹ̵̡ Ӝ̵̨̄ Ʒ ☆ ˜ ” * ° • . ¸ł¸ . • ° * ” ☆ ★ ☆ ę ˜

♫ d(。◕‿◕。)b ♪♪

Use the contact-form below, for feedback purposes.







Back to top.