CVS scott: FvwmTabs:
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: scott 06/01/30 02:11:17 Modified files: modules: ChangeLog modules/FvwmTabs: ConfigFvwmTabs FvwmTabs.1 FvwmTabs.in FvwmTabs.pod Log message: FvwmTabs: Allow user to specify position of new tabbers with: NewTabber --geometry=+0+0 uniqueId bugfix: don't hardcode height of button frame - allow it to be determined by the size of the font/mini-icon.
Re: FVWM: FvwmTabs: questions and suggestions
Hi Andrei, FvwmTabs seems to use a weird format to describe the fonts to use: smth like Helvetica -12 bold, for instance. You can also use the standard notation. ie. *FvwmTabs: buttonFont -*-helvetica-bold-*-*-*-12-*-*-*-*-*-*-* My locale is based on cp1251 (for Russian/Belarusian), and I get garbage in tabs' titles when I cd with MC into a folder that contains Cyrillic chars in its name... =\ I'm not at all familiar with i18n. I'm keen to find a HOWTO that will allow me to test your problem, but at the same time I don't want to convert my whole system to Russian ... cos I don't understand a word of it. :) Also, I have a couple of suggestions, take it or leave it =) All suggestions are most welcome. 1. would be nice if the tabs' height were configurable in the config file. 28 pixels is way too much for me, so I set it right in the module file itself. I've just committed an updated version of FvwmTabs to CVS that should allow the height to be determined by the size of the font mini-icon (if used). 2. It would be great if the module could accept the geometry spec Good idea. With current CVS, try creating a tabber with: NewTabber --geometry=+0+0 uniqueId 3. where is that tab command I read about on the FvwmTabs website? so far zsh responds that tab command is not found. Sorry, I forgot to upload that script on my new site. It's available now from: http://members.optusnet.com.au/~scottsmedley/fvwmtabs/download.html SCoTT. :)
Re: FVWM: Fvwm forum replacing the mailing list
On Sun, 29 Jan 2006, Chris Alexander wrote: I will always prefer a mailing list. A mailing list comes to me, I don't have to go looking for it. I also DEFINITELY prefer mailing lists. Newsgroups may be acceptable. I really can't stand forums, each of them has a different web interface, and I find this painful (while I read mail and news with the same interface). Given the limited traffic on fvwm (this mondary morning was one of the peaks), I find no trouble in deleting the majority of mails which do not concern or interest me, to save for future reference the unsolicited (by me) ones which I find may interest me, to interact in the few cases I have something to contribute, and I am quite pleased to have SOON a reply coming DIRECTLY TO ME when I post a query. Gateway between mailing list and forum could be acceptable, but it should hide e-mail addresses. I am subscribed to a mailing list which is gatewayed with a NG, and just for that reason use a dedicated nospam account to post to it ! Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy) For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
Re: FVWM: Fvwm forum replacing the mailing list
On Sun, Jan 29, 2006 at 11:39:20AM +, seventh guardian wrote: Hi. I've been in the mailing list for some time (both fvwm and fvwm-workers), and also in other mailing lists. It really fills my inbox, as I believe it does to most of you.. The lists are already separated in two subjects, general and development, and it indeed helps us to organize things. But I believe that having a forum would help to further organize things. For those that are interested in the latest CVS snapshots there could be a place where they are anounced, and for those who just want to ask for a feature or inquire about a bug, there would be sections for that too. Also general questions like how do I do that could be in yet another section. That way if someone wants to help he wouldn't need to scroll thru lots of incomming mails to find the one that says how do I do this mixed up with please add that feature and cvs migo. I currently use gmail, and it really helps to filter things out. But it's still difficult, so I can only imagine the trouble it is now for those with less robust mail tools. Or worst, for the devs.. Currently fvwm lair has a great forum, wich could be used for this. This is my suggestion, please feel free to criticize (constructivelly :p ). Cheers Renato Caldas If this moves to a forum I will simply not bother taking part. Forums are simply the worst way (for me) of asking questions and providing support. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: FVWM: GTK problem
On Sat, 28 Jan 2006, Uwe Pross wrote: Hi there, On 28 Jan 2006 at 12:16:30 +0100, Greg BOGNAR wrote: I use fvwm mainly with GTK2 applications. All window menus, etc. get the appropriate decorations, except for OpenOffice, which comes up with a very ugly interface. But it does get the decorations under Gnome and Xfce. So what is it that forces OpenOffice to look like a Gtk application under them? Is there something I should run under Fvwm to get the desired effect? You can try setting the environment variable (bash syntax): export OOO_FORCE_DESKTOP=gnome to use gtk colors from ~/.gtkrc (~/.gtkrc-2.0) or export OOO_FORCE_DESKTOP=kde to use kde colors. I have got SetEnv OOO_FORCE_DESKTOP gnome in my fvwm config file which makes this variable available in all processes started by fvwm. Cheers, Uwe Thank you, I meanwhile found this answer in both an earlier thread of this mailing list and another one. I am all for mailing lists :-) Greg
Re: FVWM: Fvwm forum replacing the mailing list
Parv wrote: in message [EMAIL PROTECTED], wrote seventh guardian thusly... I've been in the mailing list for some time (both fvwm and fvwm-workers), and also in other mailing lists. It really fills my inbox, as I believe it does to most of you.. ... No, not myself. I really do not care of web forums. I prefer mailing lists and newsgroups. Don't let me stop you from creating forums, of course. So do I. -- reply to mailing list only
Re: FVWM: FvwmTabs: questions and suggestions
Hello Scott, Monday, January 30, 2006, 10:27:00 AM, you wrote: FvwmTabs seems to use a weird format to describe the fonts to use: smth like Helvetica -12 bold, for instance. You can also use the standard notation. ie. *FvwmTabs: buttonFont -*-helvetica-bold-*-*-*-12-*-*-*-*-*-*-* Yes, I googled for that and figured that out too. I've been also told by a Tcl developer that Tcl is unicode-based, and is smart enough to use the correct glyphs from the correct encoding of the font being used, so the Helvetica -12 bold font spec can safely omit the encoding part. And yes, you can explicitly specify the encoding using the standard format that xfontsel produces. So far, I get the same results, no matter which font spec format I use -- garbage. So I'm guessing that smth is just missing from the module itself. My locale is based on cp1251 (for Russian/Belarusian), and I get garbage in tabs' titles when I cd with MC into a folder that contains Cyrillic chars in its name... =\ I'm not at all familiar with i18n. Me neither, I'm no developer at all =) I'm keen to find a HOWTO that will allow me to test your problem, but at the same time I don't want to convert my whole system to Russian ... cos I don't understand a word of it. :) It's not about converting the whole system to Russian, it's not about localizing/translating the module's menus and config screens, it's just about understanding the locale encoding, and visualizing directory names in the tabs with the correct encoding. Tcl is unicode-based, and I know for a fact it CAN support any reasonable number of encodings, 8-bit or not. Otherwise it's not usable, unfortunately, even though I personally have very few dir names with Cyrillic. Maybe even German umlauts or French accents are not supported by FvwmTabs... Then many people who use languages other than English are affected. Now, the problem is relatively easy to reproduce, I think, even if you don't understand Russian. 1. make sure you have the right locale installed in your system. locale -a will show the list of available locales. For this test we'll need an 8-bit locale such as ru_RU.cp1251 (Russian), be_BY.cp1251 (Belarusian), or a Bulgarian locale which also uses cp1251. If the locale is not available already, it should be easy to install. In Debian you can do dpkg-reconfigure locales as root. 2. run LANG=ru_RU.cp1251 ; xterm -fn some_font_that_contains_cp1251_encoding. The xfonts-cyrillic package (or similar) has the correct fonts. 3. from this xterm, run mkdir папка. This will create a dir named ПАПКА (which means folder, or directory in Russian =). I'm writing this email in cp1251, so you should be able to read this word. It should look like this: ||/\ || | / /\ || / \|| |_/ / \ || /\ || | \/\ || / \ || | \ / \ To Cyrillic input to work, I think you'll need to modify your X config file. You should modify the Keyboard section to get smth like this: Section InputDevice Identifier Generic Keyboard Driver keyboard Option CoreKeyboard Option XkbRules xfree86 Option XkbModel pc104 Option XkbLayout us,ru Option XkbOptions grp:ctrl_shift_toggle,grp_led:scroll # with this you can press CTRL+SHIFT to toggle between English and Russian EndSection If you're using GNOME or KDE, try using their Control Centers to get Cyrillic input to work. To enter the word папка you'll need to switch to the Russian layout and press the following English letters on your keyboard: GFGRF (without the qoutes). Actually it's not that important, you can just enter some Cyrillic, no matter what, an proceed to the next step =) 3. run LANG=ru_RU.cp1251 ; xterm -e mc, swallow the created window into FvwmTabs, and cd to the previously created dir named папка. 4. What you will see in the tab (instead of папка) is smth like a mixture of some escape/backslash sequences and the word microsoft somewhere at the beginning of the dir name. The microsoft string is from the registry of the font, before the encoding part, it is always smth like -*-my-font-...-*-microsoft-cp1251. I realize that my tutorial on how to reproduce the problem with Cyrillic may not be very realistic for you to go with, but I think it's still feasible, and besides, how else can I help? Like I said, I'm not a programmer... 1. would be nice if the tabs' height were configurable in the config file. 28 pixels is way too much for me, so I set it right in the module file itself. I've just committed an updated version of FvwmTabs to CVS that should allow the height to be determined by the size of the font mini-icon (if used). 2. It would be great if the module could accept the geometry spec Good idea. With current CVS, try creating a tabber with: NewTabber --geometry=+0+0 uniqueId 3. where is that tab command I read about on the FvwmTabs website? so far zsh responds that tab command is not found. Sorry, I forgot to upload
Re: FVWM: Fvwm forum replacing the mailing list
seventh guardian wrote: Hi. I've been in the mailing list for some time (both fvwm and fvwm-workers), and also in other mailing lists. It really fills my inbox, as I believe it does to most of you.. The lists are already separated in two subjects, general and development, and it indeed helps us to organize things. But I believe that having a forum would help to further organize things. For those that are interested in the latest CVS snapshots there could be a place where they are anounced, and for those who just want to ask for a feature or inquire about a bug, there would be sections for that too. Also general questions like how do I do that could be in yet another section. That way if someone wants to help he wouldn't need to scroll thru lots of incomming mails to find the one that says how do I do this mixed up with please add that feature and cvs migo. I currently use gmail, and it really helps to filter things out. But it's still difficult, so I can only imagine the trouble it is now for those with less robust mail tools. Or worst, for the devs.. Currently fvwm lair has a great forum, wich could be used for this. This is my suggestion, please feel free to criticize (constructivelly err... so you are suggesting to replace the media that I can view using whatever my preferred method to view it (using email clients, with search, threading, folders and virtual folders etc.) with some predefined user interface of web forum??? Well, if the forums send emails too it might be acceptable :-) maybe you need a better mail client:-) erik
Re: FVWM: FvwmTabs: questions and suggestions
Hi Andrei, I've been also told by a Tcl developer that Tcl is unicode-based, and is smart enough to use the correct glyphs from the correct encoding of the font being used, so the Helvetica -12 bold font spec can safely omit the encoding part. And yes, you can explicitly specify the encoding using the standard format that xfontsel produces. FvwmTabs is written in Perl but I'm sure what you say about Tcl is just as true for Perl. Now, the problem is relatively easy to reproduce, I think, even if you don't understand Russian. Thanks to your SUPERB instructions, I'm now able to create a cyrillic directory name view it properly with: xterm -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r' As a first step to tracking down your problem with FvwmTabs, I tried to set the title to the directory name. As I use zsh, the commands for this are: cd tmp/cyrillic/$cyrillic_text_here setTitle () { print -nP '%{\e]2;'$1'\a\e]1;'$2'\a%}' } setTitle $PWD But the xterm title is *NOT* displayed correctly. Lots of garbage. Have I done something wrong? Are you able to get the title displayed correctly? I realize that my tutorial on how to reproduce the problem with Cyrillic may not be very realistic for you to go with No, it's very useful. I just needed something to test with. Thanks. SCoTT. :)
Re: FVWM: FvwmTabs: questions and suggestions
But the xterm title is *NOT* displayed correctly. D'OH! I just needed: Style xterm Font -misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r I can reproduce your problem now. I just have to work out how to fix it. :) SCoTT. :)
Re: FVWM: FvwmTabs: questions and suggestions
Hi Andrei, My locale is based on cp1251 (for Russian/Belarusian), and I get garbage in tabs' titles Can you please try this version of FvwmTabs: http://www.aao.gov.au/local/www/ss/tmp/FvwmTabs I am interested to know if it displays the cp1251 text correctly on: 1. the title of the FvwmTabs window 2. the tab button 3. the internal titlebar The best way to test that is using the setTitle thingy I described in my previous email. See: http://www.aao.gov.au/local/www/ss/tmp/cyrillic.png Let me know how you go. SCoTT. :)