You are not logged in.

#1 2007-06-30 14:49:11

stjepan
Member
Registered: 2006-07-02
Posts: 76

Stjerm - yet another quake-like terminal

Hi, I've created a terminal similiar to kuake, yakuake or tilda.
It's point is to be minimalistic, to look nice and to work well with Compiz.

Download:
DOWNLOAD

Screenshot:
screenshot2.png

Last edited by stjepan (2007-07-01 14:51:43)

Offline

#2 2007-06-30 16:16:36

ezzetabi
Member
Registered: 2006-08-27
Posts: 943

Re: Stjerm - yet another quake-like terminal

I can't even start it....
Whats wrong in

stjerm -m Control -k XK_A

?

Offline

#3 2007-06-30 16:19:43

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,537

Re: Stjerm - yet another quake-like terminal

I haven't tried the app, but I'm amused by the pun (Stjepan + Skjerm = Stjerm) lol

Offline

#4 2007-06-30 16:26:02

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

ezzetabi wrote:

I can't even start it....
Whats wrong in

stjerm -m Control -k XK_A

?

No, it's simply stjerm -m Control -k a

Offline

#5 2007-06-30 17:10:37

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

Today or tommorow I'll make a new version without this mess with keys and case sensitiveness.

Offline

#6 2007-06-30 21:57:15

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

OK, new version (0.3) is here. The mess is finally vanished. No more problems with keys nor case sensitiveness. If you simply run "stjerm" you'll also get a few examples...
To explain it better, I'll show ya some:
F12 = -k f12
alt+f = -m alt -k f
shift+tab = -m shift -k tab
ctrl+F1 = -m ctrl -k f1  (or -m control -k f1)

Offline

#7 2007-07-01 04:47:20

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Stjerm - yet another quake-like terminal

Any reason you haven't put it in AUR?


I am a gated community.

Offline

#8 2007-07-01 06:39:18

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

stonecrest wrote:

Any reason you haven't put it in AUR?

OK, now it is in AUR.

Anyone tried the app? Tell me what do you think about it.

Last edited by stjepan (2007-07-01 06:39:56)

Offline

#9 2007-07-01 07:42:22

ezzetabi
Member
Registered: 2006-08-27
Posts: 943

Re: Stjerm - yet another quake-like terminal

What about that?

$ stjerm -k F12
error: no composite manager running

Offline

#10 2007-07-01 08:10:46

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: Stjerm - yet another quake-like terminal

@ezzetabi: if you aren't running compiz or beryl you need to use

-t fake

among the options.

@stjepan: I do like it but I have a couple of problems:
- bg and fg options don't work correctly, bg never works while fg works only if it's not specified a background color.
- same thing with opacity (maybe it needs a composite manager running?)

Overall it's very good, I'd suggest, if I may, to add some more options like mixed positioning (top+left, center, bottom+right and so on), Esc and Winkey support and maybe a configuration file with complete configurability (colors, border width, size and all the usual stuff).


To get something done, a committee should consist of no more than three persons, two of them absent.
--
Twitter Github

Offline

#11 2007-07-01 10:25:57

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Stjerm - yet another quake-like terminal

Here is my listing of bugs/feature requests:

1. Toggling using the shortcut key rarely works correctly. 9 times out of 10, if stjerm is visible and I press my shortcut key (F10 in this case), stjerm will hide and then show itself again automatically about half a second later.

2. When I right-click, stjerm suddenly disappears and I get the popup menu floating in space.

3. Typing "exit" into stjerm doesn't cause the terminal to quit. It seems the only way to quit the terminal is to right-click and choose 'quit'?

4. Support for ~/.Xdefaults seems to be pretty universal for terminals. I imagine it's a decent amount of work, but it'd be great if stjerm could make use of this file.

I'm using xfce 4.4 with composite enabled. Hopefully this helps you squash some bugs, keep up the good work smile


I am a gated community.

Offline

#12 2007-07-01 11:56:04

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

onearm wrote:

- bg and fg options don't work correctly, bg never works while fg works only if it's not specified a background color.
- same thing with opacity (maybe it needs a composite manager running?)

I'd suggest, if I may, to add some more options like mixed positioning (top+left, center, bottom+right and so on), Esc and Winkey support and maybe a configuration file with complete configurability (colors, border width, size and all the usual stuff

- yes I see the problem, I'll try to fix it
- yes you need a composite manager

No problem, I'll try to add those features...

stonecrest wrote:

Here is my listing of bugs/feature requests:

1. Toggling using the shortcut key rarely works correctly. 9 times out of 10, if stjerm is visible and I press my shortcut key (F10 in this case), stjerm will hide and then show itself again automatically about half a second later.

2. When I right-click, stjerm suddenly disappears and I get the popup menu floating in space.

3. Typing "exit" into stjerm doesn't cause the terminal to quit. It seems the only way to quit the terminal is to right-click and choose 'quit'?

4. Support for ~/.Xdefaults seems to be pretty universal for terminals. I imagine it's a decent amount of work, but it'd be great if stjerm could make use of this file.

I'm using xfce 4.4 with composite enabled. Hopefully this helps you squash some bugs, keep up the good work smile

1. Do you use version 0.3? Yes I know that bug and I have fixed it in revision 117 in svn. I don't see that bug anymore. It works OK with compiz, metacity and xfwm4.

2. I don't see that bug with compiz, only metacity and xfwm4. I'll try to fix it.

3. Yes that's ok, it reloads it. Should it quit the app? neutral

4. Hmm I see no use of config files for such a terminal app... you never start it manualy, do you?

Last edited by stjepan (2007-07-01 12:04:11)

Offline

#13 2007-07-01 14:16:30

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Stjerm - yet another quake-like terminal

seems like a great alternative! I don't like some things in both yakuake and tilda, and I'm eager to try it.

3. Yes that's ok, it reloads it. Should it quit the app?

it should be an option. personnally I expect it to be persistent i.e always there even if I exit the shell (i.e exit shell=>load a new shell) but some people expect exit the shell=quit the app, so yes, making it an option is the best smile

oh, could you make it arch=('i686' 'x86_64') ?

Last edited by lloeki (2007-07-01 14:32:36)


To know recursion, you must first know recursion.

Offline

#14 2007-07-01 14:48:45

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

Version 0.4 is released!

What's new?
* Fixed bug with -bg (reported by onearm)
* Fixed bugs with opacity
* Fixed bug with popup menu (reported by stonecrest)
* Mixed positioning (requested by onearm)
* Winkey support (requested by onearm)
* Scrollbar


@onearm
For Esc use -k escape

Offline

#15 2007-07-01 19:07:47

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Stjerm - yet another quake-like terminal

stjepan wrote:

1. Do you use version 0.3? Yes I know that bug and I have fixed it in revision 117 in svn. I don't see that bug anymore. It works OK with compiz, metacity and xfwm4.

2. I don't see that bug with compiz, only metacity and xfwm4. I'll try to fix it.

3. Yes that's ok, it reloads it. Should it quit the app? neutral

4. Hmm I see no use of config files for such a terminal app... you never start it manualy, do you?

1. I was usinig 0.3, yes. I still see this behavior with 0.4 too, using xfwm4. Maybe it's the way I have xfwm4 configured, I don't know. Here are my xfwm4 config files, if that helps:

~/.config/xfce4/mcs_settings/xfwm4.xml -> http://pastebin.archlinux.org/7278
~/.config/xfce4/mcs_settings/wmtweaks.xml -> http://pastebin.archlinux.org/7279

2. Thanks, looks fixed smile

3. I have never seen a terminal where it didn't quit the app, although I admit that I didn't even consider you were doing it this way on purpose. IMO, there should definitely be some way to quit the app other than having to use the mouse.

4. The point is that, right now, I can switch between urxvt, aterm, eterm, etc etc without having to manually configure each one. I took the time to create a .Xdefaults since it's pretty much universally used. I think many others would expect this, but it's your application wink


I am a gated community.

Offline

#16 2007-07-01 19:21:49

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Stjerm - yet another quake-like terminal

3. I have never seen a terminal where it didn't quit the app

yakuake. closing/exiting the last tab makes it recreate one in place. while closing a term like *term/konsole makes sense, it doesn't (at least to me) for a 'persistent' app like a drop down console. I mean, you always expect to find a console ready right under the toggle key, even if you have exited the last shell.

my 2 cents app-behaviour suggestion: exiting the last shell closes the shell and makes the term respawn, but toggles the console to be hidden. that way, it 'exits' but pressing the toggle key to show the console again presents you with a fresh new shell.
and make that an option, like "action on last shell exit: {respawn shell | hide term+respawn shell | close term}".

PS: I can't find the app in the AUR anymore... is that intended?

Last edited by lloeki (2007-07-01 19:32:05)


To know recursion, you must first know recursion.

Offline

#17 2007-07-01 21:23:53

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

@stonecrest
1. I guess this line is the problem:  <option name="Xfwm/PreventFocusStealing" type="int" value="0"/>
Focus stealing should be disabled.
4. Can you show me your .Xdefaults file just for an example?

@lloeki
Tnx for the info. I think hide+respawn should be default behaviour.
And yes it's removed from AUR. I just don't want to mess that much with packaging, releasing and maintaining it. Get the PKGBUILD from the download link.

Tnx to all who have tried stjerm.
I add this to my todo list for v0.5 smile :
- customizable borders
- hide+respawn behaviour

Offline

#18 2007-07-02 00:28:24

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Stjerm - yet another quake-like terminal

stjepan wrote:

@stonecrest
1. I guess this line is the problem:  <option name="Xfwm/PreventFocusStealing" type="int" value="0"/>
Focus stealing should be disabled.
4. Can you show me your .Xdefaults file just for an example?

1. Actually, value=0 means it's disabled wink And I went through the various options until I found the problem. When "automatically give focus to newly created windows" in the window manager's settings is enabled, I have the problem. When disabled, stjerm works fine. Hopefully you can do something about it since I don't want to have to click on stjerm to manually give it focus everytime I toggle it visible.

2. Sure, here you go: http://pastebin.archlinux.org/7314
As you can see, it specifies some fonts, colors, etc. Some of the things are urxvt-specific.


I am a gated community.

Offline

#19 2007-07-02 06:49:02

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

@stonecrest
1. No, sorry I can't fight with a WM.

2. Thanks. I'll see what can I do.

Last edited by stjepan (2007-07-02 06:49:15)

Offline

#20 2007-07-02 07:11:08

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Stjerm - yet another quake-like terminal

tried it (0.4) today, excellent application indeed!
blazingly fast and insanely lightweight. great work!


To know recursion, you must first know recursion.

Offline

#21 2007-07-02 08:24:31

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: Stjerm - yet another quake-like terminal

Thanks for all your improvements/bugfixes, it's indeed a great term. Using right now instead of yakuake smile

Last edited by onearm (2007-07-02 08:24:48)


To get something done, a committee should consist of no more than three persons, two of them absent.
--
Twitter Github

Offline

#22 2007-07-02 10:52:55

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: Stjerm - yet another quake-like terminal

Version 0.5 is released!

News:
* transparency type option is removed and now it's autodetected
* new option: border type
* basic Xdefaults support: font, foreground, background, scrollBar (suggested by stonecrest)
* hide+respawn behaviour (suggested by lloeki)
* a bug related to popup menu is fixed

I'm very fast with releases, aren't I? big_smile

Offline

#23 2007-07-02 13:39:37

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Stjerm - yet another quake-like terminal

Great work with 0.5! I have two "bugs" to report.

1. The border remains black when you use black bg. The effect is that no border is visible.
2. I have to "click to focus" stjerm. I use gnome 2.18.


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#24 2007-07-02 15:16:51

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Stjerm - yet another quake-like terminal

suggestion:
when -w and/or -h args value end with %, then it's a percentage of actual screen width/height.

edit: arg value <100 is probably better, given that the term is unlikely to be 100px wite/tall anyway tongue

Last edited by lloeki (2007-07-02 15:25:26)


To know recursion, you must first know recursion.

Offline

#25 2007-07-03 04:02:29

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Stjerm - yet another quake-like terminal

stjepan wrote:

@stonecrest
1. No, sorry I can't fight with a WM.

Well, perhaps your choice of implementation causes you to have to fight with the WM when you shouldn't have to? I obviously don't know the details, but others (e.g. tilda, urxvt's kuake extension) don't have this problem.

Thanks for implementing the ability to use .Xdefaults.


I am a gated community.

Offline

Board footer

Powered by FluxBB