-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Bind F4(open terminal) to Yakuake

   0.2.5  

KDE Improvement

Score 71%
Bind F4(open terminal) to Yakuake
zoom


Link:  Link
Downloads:  1176
Submitted:  Oct 21 2005
Updated:  Dec 16 2005

Description:

This is a simple script to bind F4 (open terminal) to Yakuake (http://www.kde-look.org/content/show.php?content=29153), it slides out Yakuake, creates a new tab in Yakuake and changes to the current dir for the focused Konqueror window.

You'll need to have Yakuake installed before you can use this script.

Supported KIO-slaves
file:// (/ that is)
fish://

How to install
- Put the yakuake-F4 in your $PATH, I've put mine in ~/bin for example.
For kcontrol users (debian for example)
1.a - Make a keyboard shortcut to handle this. You'll find it in Kcontrol->Regional & Accessibility->KHotKeys.
For system settings users (kubuntu for example)
1.b - Make a keyboard shortcut to handle this. You'll find it in system settings->Accessibility->Input Actions

2 - Click "New action" and choose F4 as keyboard shortcut and choose the yakuake-F4-script (where you have put it) under command/url.

TODO
Rename tabs properly
Move to the right dir with fish:// as well
Use Kwallet to pick up passwords (if someone knows how to handle qbytearrays in bash just shout it out=)




Changelog:

0.2.5
Cleaned up the code quite a bit, fixed a miss with sed and spaces (thanks laszlok2).

0.2.4
Added some kind of support for fish://, you get hooked up to the right host but nothing more.

0.2.2
Just adds new tab when dealing with local urls (thanks Marco).

0.2
Check with dcop if Yakuake already runs (thanks laszlok2 and ZeeD).
Don't add new tab if yakuake isn't running when pressing F4.




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from peppelorum
Report inappropriate content



goto page:  1  2  3 

-

 yakuake dcop

 
 by laszlok2 on: Oct 22 2005
 
Score 50%

One thing: the script should not call yakuake to start each time. It should see if a dcop call returns "call failed". If it does, then start the program. I have yakuake come up on startup so its always on, and I don't want more instances launched.


Reply to this

-

 Re: yakuake dcop

 
 by laszlok2 on: Oct 22 2005
 
Score 50%

I used the following code to solve the above problem. Replace yakuake with:
if [ "`dcop yakuake yakuake-mainwindow#1 hidden`" != "true" -a "`dcop yakuake yakuake-mainwindow#1 hidden`" != "false" ]; then
yakuake
fi


Reply to this

-

 Re: Re: yakuake dcop

 
 by peppelorum on: Oct 22 2005
 
Score 50%

Thanks for the tip=)


Reply to this

-

 Re: Re: yakuake dcop

 
 by ZeeD on: Oct 22 2005
 
Score 50%

Instead of 2 dcop calls, isn' t better to do something like

if `! dcop yakuake >/dev/null 2>/dev/null`; then
yakuake
fi


By ZeD
Reply to this

-

 Oh?

 
 by Ekardnam on: Oct 22 2005
 
Score 50%

This sounds great! Maybe I'll try YaKuake again, because this is (was) one of the features that I missed.


Reply to this

-

 Tip requires

 
 by EazyVG on: Oct 23 2005
 
Score 50%

Under KHotkeys I don't have ->Menu Editor Entries. How I activate this in SUSE running KDE 3.4.3

I would really love this on my desktop.

Thanks.


linux.wordpress.com
Reply to this

-

 Re: Tip requires

 
 by peppelorum on: Oct 23 2005
 
Score 50%

Just click the "New action"-button and skip the menu editor-thingie, I have removed that part from the installation guide.


Reply to this

-
.

 kde component

 
 by fungs on: Oct 24 2005
 
Score 50%

Why not enter it as terminal application, under kcontrol->kde components->terminal

I have done so and it works just fine in konqueror.

I don't know where else it is used in kde, but just adding an -e switch to the script would make it compatible to most virtual terminal calls. So this should work quite genericly.


Reply to this

-
.

 Re: kde component

 
 by peppelorum on: Oct 24 2005
 
Score 50%

Sweet, that was a much better solution. I have to check it out some more during the day.


Reply to this

-

 Re: kde component

 
 by thoand on: Nov 13 2005
 
Score 50%

but what, when there is already a sessiopn of yakuake startet?


Reply to this

-

 terminal call

 
 by vanaedium on: Oct 25 2005
 
Score 50%

I've followed the instructions but if I press F4 a normal terminal appears not on yakuake
any suggestions?


Reply to this

-

 Re: terminal call

 
 by thoand on: Nov 13 2005
 
Score 50%

you know that you have to be in some dir with your konquerer?


Reply to this

-

 more improvements...

 
 by laszlok2 on: Dec 16 2005
 
Score 50%

Good job on this update, but again here's some bugs i found.

1. The $url2 should pipe the text into sed 's/ /\\ /g' because the g makes sure that all the spaces are escaped -- useful for when the filename has more than one space.

2. Because of the issue with space, in the final if statement:
if [ $url2 ];
this should be instead:
if [ "$url2" ];
so that it isn't false when there is a \ and a space in the string.

Keep up the good work!


Reply to this

-

 Re: more improvements...

 
 by peppelorum on: Dec 16 2005
 
Score 50%

Thanks for the comment and the bug report, it should be fixed now.

//Peppe


Reply to this

goto page:  1  2  3 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.