You are not logged in.

#1 2011-02-15 23:20:47

MystKid
Member
Registered: 2011-01-24
Posts: 55

l-beam terminal cursor

hello guys i was wondering if there is a way to set the cursor size/shape in terminals by editing the .bashrc file. i am using openbox with lilyterm and lilyterm does not have the l-beam option like Konsole from KDE has. anyone of you know if its possible to set the l-beam cursor system wide.
thanx alot

Offline

#2 2011-02-16 00:10:02

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: l-beam terminal cursor

Nope. Cursor is controlled by the actual terminal, not the shell.


Personally, I'd rather be back in Hobbiton.

Offline

#3 2011-02-16 13:24:58

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: l-beam terminal cursor

I don't know if it can be changed only for the terminal application, but the I-beam cursor is part of the X cursor theme you are using.  It's also used for editing text, like in this firefox textbox in which I'm typing this message.

I assume KDE provides some intuitive and easy way to change the cursor theme, but I believe that with openbox you have to edit ~/.Xdefaults

That's what I did.  Try adding to that file:

Xcursor.theme:  redglass
Xcursor.size: 44

And see if you like that.  You might also be able to use the KDE cursor theme you used before, by using its name instead of redglass.

Offline

#4 2011-02-16 15:10:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: l-beam terminal cursor

Ahh, this raises the question, which cursor is this about, the text cursor or the mouse cursor? If the former, see Anikom15's post. If the latter, see theapodan's post.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2011-02-16 16:26:21

MystKid
Member
Registered: 2011-01-24
Posts: 55

Re: l-beam terminal cursor

i am not talking about the mouse cursor but the terminal cursor. in this image you can see the rectangle cursor i was talking about. there is the full green color one. the empty one like in the image and the l-beam style http://greeennotebook.com/wp-content/up … rminal.jpg

Offline

#6 2011-02-16 18:10:47

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: l-beam terminal cursor

No, lilyterm obviously has no option to set the cursor shape. It uses the vte terminal widget, but the source code simply contains no calls to vte's set_cursor_shape() function at all. So as it is now, lilyterm does not care about cursor shapes.

Why don't you just request a feature to set the cursor shape? This is open source, after all. Vte supports block, rectangle and ibeam shapes, all lilyterm would need to do is to set them according to user preference. It should be quite trivial to implement.

Offline

#7 2011-02-16 23:38:00

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: l-beam terminal cursor

Or use a terminal that already supports the I-beam.


Personally, I'd rather be back in Hobbiton.

Offline

#8 2011-02-17 22:53:52

MystKid
Member
Registered: 2011-01-24
Posts: 55

Re: l-beam terminal cursor

anikom do you know which terminals support I-bean? other than konsole

Offline

#9 2011-02-17 23:17:43

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: l-beam terminal cursor

gnome-terminal for sure
terminal (xfce), terminator, xterm, rxvt, etc can probably be easily configured for it, but I'm not sure.


Personally, I'd rather be back in Hobbiton.

Offline

#10 2011-02-17 23:23:24

Rupp
Member
Registered: 2010-02-14
Posts: 47

Re: l-beam terminal cursor

In roxterm you can set it to be an underline, block, or l-beam. Right click in the terminal for preferences.

Offline

Board footer

Powered by FluxBB