LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Would like to highlight the selected tab in gedit - Wheezy, w fluxbox WM, no desktop (http://www.linuxquestions.org/questions/linux-software-2/would-like-to-highlight-the-selected-tab-in-gedit-wheezy-w-fluxbox-wm-no-desktop-4175429000/)

jford_oldman 09-25-2012 03:37 PM

Would like to highlight the selected tab in gedit - Wheezy, w fluxbox WM, no desktop
 
I currently use gedit to write TeX for preparing lectures. I frequently wish to have several files open simultaneously. When I do, I see no visual indication of which tab has the focus, other than the filename at the very top of the gedit screen. I've tried a few color schemes within gedit, but haven't found one that changes the tabs. I have not found a plug-in which does, either.

I see such visual distinction when I use firefox or mrxvt, but I don't know whether it's built-in to the app (seems most likely), or provided through the window manager.

I usually use fluxbox and am not interested in using gnome or kde.
I'd appreciate any guidance on how the color scheme of the tab having the focus in gedit might be changed. Alternately, recommendations for a good, easy-to-learn editor with simultaneous multi-file capability would be helpful. I like and still use vim for single files, but find it less suited to my tastes for multiple files simultaneously.

Thanks.

Terminator3000 09-27-2012 06:40 AM

You might like Beaver editor. It's lightweight, GTK based and written in C. It has highlighted tabs as standard and there is plenty of scope for producing your own plugins or at least getting someone to write them. I use it on Centos with Fluxbox and find it easy to use.

jford_oldman 09-27-2012 10:32 AM

Terminator3000 -
Beaver isn't in the Debian Wheezy repository, but it compiles and installs without a glitch (so far, at least). And it DOES show me which tab I'm using.
Many, many thanks.
I'm not marking the thread as "SOLVED" just yet, to see what else people may suggest, but sincerely - thanks.

Terminator3000 09-27-2012 10:59 AM

No, its not available in any binary formats but compiles easily and there is scope for further add ons although there aren't many at present.

teckk 09-30-2012 07:42 PM

GEdit is a gtk3 app.

Colors are set by your gtk3 theme. They'll be different than your gtk2 apps.
Look somewhere like
~/.config/gtk-3.0/settings.ini
~/.themes/<themename>/gtk-3.0/gtk.css

You can download them or make your own. With some effort you can make your gtk2 and gtk3 apps look the same.

jford_oldman 10-01-2012 08:01 AM

I don't have files in my home directory with either of those names, but thanks for pointing this out. I need to find out how these themes are set in my system and where they are. There seems to be gtk3.0/gtk.css (style sheets?) in a couple of the /usr/share/themes sub-directories, but right now I have no clue as to where gedit learns which theme to use.

teckk 10-01-2012 07:36 PM

http://comments.gmane.org/gmane.linu...an.user/441382

Those are hidden files. That's what the dot means. ~/.hidden

jford_oldman 10-01-2012 08:03 PM

Yes, I understand that. There are no such files in my home directory. Remember, I'm running fluxbox - not gnome and I didn't use the default "desktop" during installation, instead installing xorg, xdm, fluxbox and a handful of other files to get the x system running with fluxbox. As far as I can tell, I don't have gtk3.0 installed, only gtk2. My .config directory contains
brasero gedit libreoffice openbox vlc
dconf glade.conf lxpanel pcmanfm xarchiver
enchant leafpad lxterminal Trolltech.conf yelp
epdfview libfm nautilus Unknown Organization.conf zathura
(Sorry for the unreadable format - seems to lose spaces when displayed)
and the .config/gedit directory contains only the file "accels"
I do appreciate your help - I know now that I need to find where the gtk3 theme gets initialized for gedit. Previously, I was under the impression that it had something to do with the window manager.


All times are GMT -5. The time now is 01:42 PM.