OK
Pages: 1 2 3
Rating:
7.83
Thread Listing » AWN Applets
Awn Terminal Applet
#17307 by aantn (0.9829) posted on 6:15am Friday, November 23rd, 2007
I've created a small little terminal applet. Its my first applet (and my first gtk program). Its really a very simple applet, but hopefuly someone will find it useful.
[Q]



The only dependency is libvte.
[Q]



To install, unpack the tar.gz to a folder and run the following commands.
[Q]



 
cd awn-terminal
./autogen.sh
make
sudo make install
[Q]
 



If you encounter any unmet dependencies in the process, just install them and try again.
Comments and suggestions are appreciated.
[Q]






feedback
[Q]

--
http://theesylum.com

*Edited at 9:00am, 02/24/08
Score: 0 points
Any particular reason?
#17308 by davim (0.9996) posted on 6:23am Friday, November 23rd, 2007
any dependencies for this applet???
[Q]

Score: 0 points
Any particular reason?
#17313 by dolfje (0.9832) posted on 7:02am Friday, November 23rd, 2007
I had to install libvte-dev
[Q]



Geat applet, Now I don't have to start the terminal anymore!!!
[Q]



a screenshot:
[Q]



small bug:
If you open a terminal and you go to another window, you have to click twice on the terminal icon before the terminal comes to front.
[Q]



features?
- maybe support for tabs? So you can open several terminals
- a button for forcing the terminal on top of everything. (handy if you have to look to an manual on the web)
[Q]

Score: 0.16 points
Any particular reason?
#17317 by guillaume (0.2510) posted on 8:11am Friday, November 23rd, 2007
wow!,this is my new favorite applet. so useful. thanks you
[Q]

Score: 0 points
Any particular reason?
#17320 by ryancr (1.0000) posted on 8:43am Friday, November 23rd, 2007
and maybe a middle click to launch an external terminal window, so it could be used as a applet/launcher.
[Q]

Score: 0.16 points
Any particular reason?
#17321 by dirken (0.6479) posted on 8:58am Friday, November 23rd, 2007
great, i will give this one a try as soon as i get home!
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#17323 by davim (0.9996) posted on 9:26am Friday, November 23rd, 2007
maybe you could look in the code of stjerm to get more features into this applet :)
[Q]




Score: 0 points
Any particular reason?
#17330 by plunn (1.0000) posted on 10:24am Friday, November 23rd, 2007
Nice work, thanks !
[Q]



I also like "davims" idea about stjerm :-)
[Q]

Score: 0 points
Any particular reason?
#17340 by 88BigC (0.1741) posted on 3:07pm Friday, November 23rd, 2007
( no avatar )
id love to have that applet but unfortunately i only get a white line and this..:
[Q]



** (awn-applet-activation:18840): WARNING **: This desktop file does not exist None
[Q]




** (awn-applet-activation:18842): WARNING **: Unable to load module /usr/local/lib/awn/applets/awnterm/awnterm.so
[Q]




** (awn-applet-activation:18842): WARNING **: /usr/local/lib/awn/applets/awnterm/awnterm.so: cannot open shared object file: No such file or directory
[Q]



** (awn-applet-activation:18842): WARNING **: Could not create plug
[Q]



do i need to install some extra package for this to run?
[Q]

Score: 0 points
Any particular reason?
#17343 by searayman (1.0000) posted on 5:50pm Friday, November 23rd, 2007
awesome!!! can't wait to try it out!
[Q]
Score: 0 points
Any particular reason?
#17347 by AndrewGene (0.5968) posted on 11:23pm Friday, November 23rd, 2007
AWESOME!!! awesome applet!!! thanks alot!
[Q]

Score: 0 points
Any particular reason?
#17348 by dirken (0.6479) posted on 12:56am Saturday, November 24th, 2007
I totaly like it but this, is it possible to make it as transparant as the normal terminal?
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0.16 points
Any particular reason?
#17354 by aantn (0.9829) posted on 7:57am Saturday, November 24th, 2007
I'm glad that you guys like it and find it useful. :)
[Q]



The only requirment is libvte.
[Q]



dolfje said:
features?
- maybe support for tabs? So you can open several terminals
- a button for forcing the terminal on top of everything. (handy if you have to look to an manual on the web)
[Q]



I'll see about those. I'm not sure how to implement tabs (maybe the notebook widget) so I'll have to look over the source for another app.
[Q]



ryancr said:
and maybe a middle click to launch an external terminal window, so it could be used as a applet/launcher.
[Q]



That doesn't seem too hard to add... I'll work on it.
[Q]



davim said:
maybe you could look in the code of stjerm to get more features into this applet :)
[Q]



I never heard of stjerm, but I'll look into it. I already have the code for gnome-termnal and gtk-terminal on my computer.
[Q]



dolfje said:
small bug:
If you open a terminal and you go to another window, you have to click twice on the terminal icon before the terminal comes to front.
[Q]



I just have to add a hide event for when the terminal loses focus. It'll be fixed in the next version.
[Q]



dirken said:
I totaly like it but this, is it possible to make it as transparant as the normal terminal?
[Q]



Absolutely. The only dificulty will be finding an intuitive way to alter the transparancy level. Perhaps I'll add on a settings window if I can figure out how.
[Q]



I'm surprised none of you have noticed, but it also doesn't support copy and paste yet. I'll see if I can roll out another version tonight.
[Q]



Have you ever noticed how many smilies this forum has?
[Q]

--
http://theesylum.com

*Edited at 7:57am, 11/24/07
Score: 0.16 points
Any particular reason?
#17361 by gilir (0.9999) posted on 9:01am Saturday, November 24th, 2007
Looks great ! :) I'll take a look at it when I came back at home.
A Blueprint on Launchpad is already available : https://blueprints.edge.launchpad.net/awn-extras/+spec/embedded-terminal
[Q]

Score: 0 points
Any particular reason?
#17362 by aantn (0.9829) posted on 9:06am Saturday, November 24th, 2007
gilir said:
Looks great ! :) I'll take a look at it when I came back at home.
A Blueprint on Launchpad is already available : https://blueprints.edge.launchpad.net/awn-extras/+spec/embedded-terminal
[Q]



I just got the email. :)
[Q]
Score: 0 points
Any particular reason?
#17363 by dolfje (0.9832) posted on 9:22am Saturday, November 24th, 2007
Yes, I knew about the copy paste problem. (It is very anoying, but forget to post it) So I see forward to your new version
[Q]



aantn said:
Have you ever noticed how many smilies this forum has?
[Q]



Yes qft
corn2Drotfllmaoheadbang
[Q]

Score: 0 points
Any particular reason?
#17365 by aantn (0.9829) posted on 9:25am Saturday, November 24th, 2007



Hehe. Or should I say lol
[Q]



**goes back and edits his original post
[Q]
Score: 0 points
Any particular reason?
#17372 by aantn (0.9829) posted on 12:10pm Saturday, November 24th, 2007
Version 0.2
It just fixes the focus bug.
[Q]



I'm working on the copy and paste. Tabs will probably come after that.
[Q]
Score: 0 points
Any particular reason?
#17377 by kantor (0.1815) posted on 1:32pm Saturday, November 24th, 2007
( no avatar )
I think it would be a great applet if i can try it...
[Q]



i installed the first version... without satisfied the dependencies(so i know it's my fault here)... then i installed libvte with my package manager, then the last version of the applet... and awn don't want even to show me it in the applets list... but i had no error at installation time. Maybe a bug? How can i reset the installation the applet?
[Q]



There isn't the directory in /usr/lib/awn/applets... and when i try to reinstall the applets awn says me "Applet Successfully Updated"... quite strange.
[Q]



*Edited at 1:41pm, 11/24/07
Score: 0 points
Any particular reason?
#17379 by searayman (1.0000) posted on 1:39pm Saturday, November 24th, 2007
kantor said:
I installed the first version... then the second version... and awn don't want to show me it in the applets list... but i had no error in the installation. Maybe a bug? How can i reset the installation of your applet?
[Q]



same here...
[Q]
Score: 0 points
Any particular reason?
#17380 by moonbeam (1.0000) posted on 1:43pm Saturday, November 24th, 2007
( no avatar )
searayman said:
same here...
[Q]




kantor said:
I think it would be a great applet if i can try it...
[Q]



everyone does realize this a C applet?
[Q]
Score: 0 points
Any particular reason?
#17381 by kantor (0.1815) posted on 1:44pm Saturday, November 24th, 2007
( no avatar )
moonbeam said:
everyone does realize this a C applet?
[Q]



sorry... but this means... what?
[Q]

Score: 0 points
Any particular reason?
#17383 by moonbeam (1.0000) posted on 1:57pm Saturday, November 24th, 2007
( no avatar )
kantor said:
sorry... but this means... what?
[Q]



That awn-manager can't be used to install. Last I checked awn-manager does not really detect whether a file is a python applet or not... though that may have changed.
[Q]



[EDIT]
Just checked... awn-manager is still oblivious.
[Q]



It's necessary to untar the file and go through the normal configuration and build process.
[Q]



--
http://moon-shiny.blogspot.com/

*Edited at 2:00pm, 11/24/07
Score: 0 points
Any particular reason?
#17385 by kantor (0.1815) posted on 2:08pm Saturday, November 24th, 2007
( no avatar )
Ok. Thanks... can you link or at least write down where i can find the normal configuration and build process for the awn applet?
[Q]



edit: maybe do you mean the ./configure&&make&&make install procedure?
[Q]



*Edited at 2:10pm, 11/24/07
Score: 0 points
Any particular reason?
#17386 by moonbeam (1.0000) posted on 2:12pm Saturday, November 24th, 2007
( no avatar )
kantor said:
Ok. Thanks... can you link or at least write down where i can find the normal configuration and build process for the awn applet?
[Q]



Assuming an applet is not part of awn-extras etc...
[Q]



unpack the file. Command line in this case would be.
[Q]



tar xzvf awn-terminal-0.2.targ.gz
[Q]



cd to the directory created... in this case
[Q]



cd awn-terminal
[Q]



then
[Q]



sh autogen.sh
[Q]



assuming that completes without errors then
[Q]



make
[Q]



assuming that completes without errors then
[Q]



sudo make install
[Q]



--
http://moon-shiny.blogspot.com/

*Edited at 2:12pm, 11/24/07
Score: 0 points
Any particular reason?
#17387 by kantor (0.1815) posted on 2:17pm Saturday, November 24th, 2007
( no avatar )
Ok thanks... i know what you mean i just thought there was a special procedure for the awn applets. Ok and here comes the trouble:
[Q]



 
autogen.sh: 2: autoreconf: not found
[Q]
 



this is the terminal answer when i launch autogen.sh
[Q]



*Edited at 2:17pm, 11/24/07
Score: 0 points
Any particular reason?
#17388 by soro (0.5346) posted on 2:30pm Saturday, November 24th, 2007
( no avatar )
 
kantor said:
autogen.sh: 2: autoreconf: not found
[Q]
 



which probably means that you have to install autoreconf first, or whatever package that is a part of. D
[Q]



http://wiki.awn-project.org/index.php?title=InstallingFromSource for all you need for compiling from source
[Q]



*Edited at 2:42pm, 11/24/07
Score: 0 points
Any particular reason?
#17390 by kantor (0.1815) posted on 2:57pm Saturday, November 24th, 2007
( no avatar )
 
kantor@PC1:~/awn-terminal$ ./autogen.sh
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal --force
aclocal:configure.ac:55: warning: macro `AM_GCONF_SOURCE_2' not found in library
aclocal:configure.ac:62: warning: macro `AM_GCONF_SOURCE_2' not found in library
autoreconf2.50: configure.ac: tracing
autoreconf2.50: configure.ac: not using Libtool
autoreconf2.50: running: /usr/bin/autoconf --force
configure.ac:11: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:55: error: possibly undefined macro: AM_GCONF_SOURCE_2
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
[Q]
 



ok libtool are installed what do i have to do now?
ok i'm installing all the dependencies suggested at the link you give me... let's see what happen
[Q]



*Edited at 3:05pm, 11/24/07
Score: 0 points
Any particular reason?
#17393 by kantor (0.1815) posted on 3:19pm Saturday, November 24th, 2007
( no avatar )
 
I installed all the dependecies for compiling this applet but... i have this by the terminal:
checking for DEPS... configure: error: Package requirements (gtk+-2.0
awn
libgnome-menu
gnome-desktop-2.0
librsvg-2.0
vte) were not met:
[Q]
  


No package 'awn' found
No package 'libgnome-menu' found
No package 'librsvg-2.0' found
[Q]
  


Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
[Q]
  


Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[Q]
 



maybe it's a little problem but i can't fix it... someone can help me?
[Q]

Score: 0 points
Any particular reason?
#17394 by soro (0.5346) posted on 3:29pm Saturday, November 24th, 2007
( no avatar )
You need the development headers of those packages as well. libgnome-menu-dev and librsvg2-dev probably if you're with Debian/Ubuntu. Also awn-dev, but I'm not sure you're going to get that from whatever repository you are using. You might have to install the entire Awn from source (as explained in the Wiki), or you just wait for a few hours/days until somebody puts this applet into awn-extras. It's quite fresh and not feature complete anyway, and those things usually come very quickly into the repositories.
[Q]



Also libvte-dev as mentioned above, and libgnome-desktop-dev, of course
[Q]



*Edited at 3:31pm, 11/24/07
Score: 0 points
Any particular reason?
#17395 by moonbeam (1.0000) posted on 3:33pm Saturday, November 24th, 2007
( no avatar )
kantor said:
No package 'awn' found
No package 'libgnome-menu' found
No package 'librsvg-2.0' found
[Q]



If you happen to be on Ubuntu Gutsy and are using reacocard's repo then he does have a dev package.
[Q]



libawn-bzr-dev
[Q]


Score: 0 points
Any particular reason?
#17397 by kantor (0.1815) posted on 5:01pm Saturday, November 24th, 2007
( no avatar )
Ok it works! Thanks to all this applets rulez!!
[Q]



*Edited at 5:02pm, 11/24/07
Score: 0 points
Any particular reason?
#17406 by aantn (0.9829) posted on 8:50pm Saturday, November 24th, 2007
Oh... Hehe. I forgot to mention that. Sorry guys.
[Q]



Thanks to moonbeam for clearing that up while I slept.
[Q]
Score: 0 points
Any particular reason?
#17407 by searayman (1.0000) posted on 8:59pm Saturday, November 24th, 2007
once copy and paste work, i will be even more estatic!
[Q]
Score: 0 points
Any particular reason?
#17413 by dzzsky (0.2043) posted on 6:25am Sunday, November 25th, 2007
( no avatar )
Very nice applet. Is there any chance you can make this applet use your themes icon? Or even just an option to change the icon.
[Q]



The ability to change font/background colour would also be welcomed :)
[Q]

Score: 0 points
Any particular reason?
#17414 by aantn (0.9829) posted on 6:46am Sunday, November 25th, 2007
dzzsky said:
Very nice applet. Is there any chance you can make this applet use your themes icon? Or even just an option to change the icon.
[Q]



It does. It uses the icon "terminal" from your current theme.
[Q]



dzzsky said:
The ability to change font/background colour would also be welcomed :)
[Q]



I probably won't be able to get that done any time in the next few days, but I'll put it on my list of things to do.
[Q]
Score: 0.20 points
Any particular reason?
#17416 by dzzsky (0.2043) posted on 6:55am Sunday, November 25th, 2007
( no avatar )
aantn said:
It does. It uses the icon "terminal" from your current theme.
[Q]



Ah, my mistake. I thought it would be using the gnome-terminal icon.
[Q]

Score: 0 points
Any particular reason?
#17417 by aantn (0.9829) posted on 6:58am Sunday, November 25th, 2007
dzzsky said:
Ah, my mistake. I thought it would be using the gnome-terminal icon.
[Q]



I tried that first but it didn't work for me. It could just be my iconset.
[Q]
Score: 0 points
Any particular reason?
#17419 by Photon (0.6711) posted on 7:06am Sunday, November 25th, 2007
( no avatar )
Anyone tried to run "exit" in this terminal? D*just a joke*
[Q]



Really really great applet! Also waiting for Copy&Paste. smile
[Q]

Score: 0 points
Any particular reason?
#17432 by aantn (0.9829) posted on 8:57am Sunday, November 25th, 2007
I've added copy and paste.
[Q]



I've edited my original post to link to the new version (0.3).
[Q]



I intend to keep on rolling out new versions each with one or two small features added.
[Q]



Photon said:
Anyone tried to run "exit" in this terminal? D*just a joke*
[Q]



:-)
[Q]

--
http://theesylum.com

*Edited at 8:58am, 11/25/07
Score: 0 points
Any particular reason?
#17434 by searayman (1.0000) posted on 9:37am Sunday, November 25th, 2007
aantn said:
I've added copy and paste.
[Q]



thank you!!! this rocks now!
[Q]
Score: 0 points
Any particular reason?
#17435 by aantn (0.9829) posted on 9:48am Sunday, November 25th, 2007
searayman said:
thank you!!! this rocks now!
No problem. :)
[Q]



Does anyone have any ideas for showing tabs in a non ugly way?
[Q]
Score: 0 points
Any particular reason?
#17438 by plunn (1.0000) posted on 10:04am Sunday, November 25th, 2007
aantn said:
Does anyone have any ideas for showing tabs in a non ugly way?
[Q]



Well, stjerm :-)
[Q]



The challenge is that stjerm is rather undocumented...
[Q]



On this page there are several changes and tabs introduced
http://bbs.archlinux.org/viewtopic.php?id=34718&p=3
[Q]



Latest version
http://home.gna.org/stjerm/
[Q]







Score: 0 points
Any particular reason?
#17441 by dirken (0.6479) posted on 1:40pm Sunday, November 25th, 2007
nice, really nice
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#17442 by gilir (0.9999) posted on 2:02pm Sunday, November 25th, 2007
I have an error when I launch the applet
[Q]




Setting up the applet and the terminal...Awn Terminal Applet: symbol lookup error: /usr/lib/awn/applets/awnterm/awnterm.so: undefined symbol: vte_terminal_new
[Q]



Score: 0 points
Any particular reason?
#17454 by aantn (0.9829) posted on 8:29pm Sunday, November 25th, 2007
gilir said:

Setting up the applet and the terminal...Awn Terminal Applet: symbol lookup error: /usr/lib/awn/applets/awnterm/awnterm.so: undefined symbol: vte_terminal_new
[Q]



Do you have libvte installed?
[Q]




--
http://theesylum.com

*Edited at 8:30pm, 11/25/07
Score: 0 points
Any particular reason?
#17459 by dirken (0.6479) posted on 12:14am Monday, November 26th, 2007
the only problem is that you should get around the exit command
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#17461 by aantn (0.9829) posted on 4:45am Monday, November 26th, 2007
dirken said:
the only problem is that you should get around the exit command
[Q]



I suppose I could just check for the exit command and ignore it... For the most part, I'm just relying the fact that most people are smart enough not to enter it to begin with. If an occasional person types "exit," the result is (surprisingly) nothing apocalyptical, and you can just restart the applet. I suppose I'll add in the protection if I have some extra time.
[Q]
Score: 0 points
Any particular reason?
#17464 by dirken (0.6479) posted on 9:32am Monday, November 26th, 2007
yeah and most people will be smart enough not to do so but yesterday i was runnan a script from the terminal applet and apparently there was an exit command at the end of the script so it really should be igonored!
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#17468 by Photon (0.6711) posted on 10:47am Monday, November 26th, 2007
( no avatar )
Hmm, how should C&P work? There seems to be no right click menu in the terminal and Ctrl+V doesn't work either.shrug
[Q]

Score: 0 points
Any particular reason?
#17470 by gilir (0.9999) posted on 11:36am Monday, November 26th, 2007
aantn said:
Do you have libvte installed?
[Q]



Yes. but it's ok now, it was just a little mistake for me :) Working good now :)
[Q]

Score: 0 points
Any particular reason?
#17473 by gilir (0.9999) posted on 12:00pm Monday, November 26th, 2007
And the copy/paste work as long as you know how to use "the magic Linux copy/paste command" :)
[Q]

Score: 1.00 points
Any particular reason?
#17475 by aantn (0.9829) posted on 12:26pm Monday, November 26th, 2007
dirken said:
yeah and most people will be smart enough not to do so but yesterday i was runnan a script from the terminal applet and apparently there was an exit command at the end of the script so it really should be igonored!
[Q]



Fair enough. I'll see if there's anything I can do.
[Q]



Photon said:
Hmm, how should C&P work? There seems to be no right click menu in the terminal and Ctrl+V doesn't work either.shrug
Control+shift+c
[Q]



gilir said:
And the copy/paste work as long as you know how to use "the magic Linux copy/paste command" :)
[Q]



Hehe. I guess you could call it that.
[Q]
Score: 0 points
Any particular reason?
#17481 by searayman (1.0000) posted on 3:12pm Monday, November 26th, 2007
Photon said:
Hmm, how should C&P work? There seems to be no right click menu in the terminal and Ctrl+V doesn't work either.shrug
[Q]



i will be nice enough to share with you the secret.
[Q]



To copy and paste in a terminal you need to use:
[Q]



ctr+shift+c
[Q]



or
[Q]



ctr+shift+v
[Q]



Score: 0 points
Any particular reason?
#17482 by plunn (1.0000) posted on 3:18pm Monday, November 26th, 2007
Or the magic middle mouse click.... :-)
[Q]

Score: 1.00 points
Any particular reason?
#17483 by dirken (0.6479) posted on 3:23pm Monday, November 26th, 2007
plunn said:
Or the magic middle mouse click.... :-)
[Q]



that's only a copy of the current selection!
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#17484 by plunn (1.0000) posted on 3:26pm Monday, November 26th, 2007
dirken said:
that's only a copy of the current selection!
[Q]



I am using it for paste commands.
[Q]



Often you takes a command with right click/copy from a webpage, then
a middle click for paste to the terminal
[Q]



*Edited at 3:28pm, 11/26/07
Score: 0 points
Any particular reason?
#17489 by searayman (1.0000) posted on 4:22pm Monday, November 26th, 2007
plunn said:
Or the magic middle mouse click.... :-)
[Q]



thats one i didn't know, thanks
[Q]
Score: 0 points
Any particular reason?
#17492 by gilir (0.9999) posted on 4:51pm Monday, November 26th, 2007
I pushed it to awn-extras, it's too usefull for me :D
[Q]

Score: 0 points
Any particular reason?
#17506 by baldmonkey (0.4036) posted on 10:32pm Monday, November 26th, 2007
I'm loving this, although some options to change the colours would be nice.
[Q]



Anyway, this applet got me thinking. Is there any way to make something similar for a text editing applet?
[Q]

Score: 0 points
Any particular reason?
Pages: 1 2 3
Thread Listing » AWN Applets » Awn Terminal Applet

Post A Reply:

Powered by Metaforum ©2004-2012
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.