[dev] Wmii - wmiirc from 3.5 not working on 3.9
Hi guys, As the title says, I had an old wmiirc with some nice features which is currently not working on the 3.9.2 version. I searched for some way of importing this wmiirc or maybe a changelog with some information on how to proceed. But did not find anything. If someone can help me, it would be really nice (and then I can stop using wmaker in this computer :) ) . I am attaching the wmiirc itself. cya, zweifel wmiirc Description: Binary data
Re: [dev] Wmii - wmiirc from 3.5 not working on 3.9
Thanks Kris, I am pasting below the most important part of a modified diff between my customization and the default from the wmiirc from the 3.5 version: 6,9c6,9 < MODKEY=Mod1 < UP=Up < DOWN=Down < LEFT=Left < RIGHT=Right 13,14c13 < WMII_FOCUSCOLORS='#ff #407f06 #40df06' 17c16 < WMII_FONT='fixed' 20c19 < WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'" 22,23c21 < WMII_TERM="gnome-terminal" 33d30 < /Gimp.*/ -> ~ 35d31 < /XV.*/ -> ~ 129c125 < Key Control-Return < eval $WMII_TERM & 131,135d126 < Key $MODKEY-Control-Return < eval xlock & < Key $MODKEY-Control-$UP < ./clean < wmiir xwrite /ctl quit 138,139d128 < Key $MODKEY-Control-p < import -window root /tmp/screenshot.jpg 142,144c131 < Key $MODKEY-Control-l < wmiir xwrite /client/view/ctl select next < Key $MODKEY-x 162,171c149,150 < Key $MODKEY-$RIGHT < i=`wmiir read /ctl| cut -d ' ' -f 2| head -n 1` < i=$(($i+1)) < wmiir xwrite /ctl view "$i" < Key $MODKEY-$LEFT < i=`wmiir read /ctl| cut -d ' ' -f 2| head -n 1` < i=$(($i-1)) < wmiir xwrite /ctl view "$i" 258,267d236 < firefox & If you can help me translating this into the wmiirc_local or pointing me to a place which could help me, it would be awesome. cya, zweifel 2010/9/24 Kris Maglione > On Fri, Sep 24, 2010 at 04:30:46PM -0300, zweifel wrote: > >> Hi guys, >> >> As the title says, I had an old wmiirc with some nice features which is >> currently not working on the 3.9.2 version. >> >> I searched for some way of importing this wmiirc or maybe a changelog with >> some information on how to proceed. But did not find anything. >> >> If someone can help me, it would be really nice (and then I can stop using >> wmaker in this computer :) ) . I am attaching the wmiirc itself. >> > > I think you might be better off just migrating your customizations to the > stock wmiirc. It would be a lot easier. At any rate, I think your main > problem is that wmiiloop has been replaced by a function in wmii.sh. In > fact, if you cut out the customization that are important to you, I'll > format them as a wmiirc_local file for you. > > -- > Kris Maglione > > Get and set methods are evil. >--Allen Holub > > >
[dev] [wmii] Changing view, but not launching programs in the new view
Hi guys, I managed to pass almost all my configuration to the new wmii 3.9's wmiirc, though the following lines continue not to work: Key $MODKEY-$RIGHT i=`wmiir read /ctl| grep view | cut -d ' ' -f 2` i=$(($i+1)) wmiir xwrite /ctl view "$i" Key $MODKEY-$LEFT i=`wmiir read /ctl| grep view | cut -d ' ' -f 2` i=$(($i-1)) wmiir xwrite /ctl view "$i" A slightly modified version worked on previous versions. Now I can only change the views, but when I try to execute a terminal or other things, they still appear on the other view. Any ideas on how to make it work? cya, zweifel
Re: [dev] [wmii] Changing view, but not launching programs in the new view
>> Key $MODKEY-$RIGHT >> i=`wmiir read /ctl| grep view | cut -d ' ' -f 2` >> i=$(($i+1)) >> wmiir xwrite /ctl view "$i" >> Key $MODKEY-$LEFT >> i=`wmiir read /ctl| grep view | cut -d ' ' -f 2` >> i=$(($i-1)) >> wmiir xwrite /ctl view "$i" > > You'd probably be better off with the code from the stock rc: > > Key $MODKEY-$RIGHT # Move to the next tag > wmiir xwrite /ctl view $(wi_tags | wi_nexttag) > Key $MODKEY-$LEFT # Move to the previous tag > wmiir xwrite /ctl view $(wi_tags | sort -r | wi_nexttag) > Thanks I'll take a look at it! Do you think that using bash script as I did might cause problems (incompatibilities) in future versions? >> A slightly modified version worked on previous versions. Now I can >> only change the views, but when I try to execute a terminal or other >> things, they still appear on the other view. Any ideas on how to make >> it work? > > It's probably because of something you have in tagrules, or, failing that, > you're using a terminal that for some reason marks all of its new windows as > belonging to the same group. Yup, I narrowed down the problem to the "gnome-terminal", everything else works great. Do you know how can I fix it? Thanks for the answer Kris, zweifel
Re: [dev] [wmii] Changing view, but not launching programs in the new view
Thanks guys! I decided to move from gnome-terminal to xterm. But I will take a look at some modifications in the tagrules if similar problems appear. cya, zweifel 2010/10/31 Kris Maglione : > On Sun, Oct 31, 2010 at 12:14:38AM -0200, zweifel wrote: >> >> Thanks I'll take a look at it! >> >> Do you think that using bash script as I did might cause problems >> (incompatibilities) in future versions? > > Probably not more than the version that I posted, but yours only works with > numbered tags, whereas the one I provided works with any tags currently in > existence. > >> Yup, I narrowed down the problem to the "gnome-terminal", everything >> else works great. Do you know how can I fix it? > > Probably by putting something like the following in /tagrules, though I'm > not certain that it works in 3.9: > > /gnome-terminal/ -> sel > > -- > Kris Maglione > > Programming X Windows is like trying to find the square root of Pi > using roman numerals. > --Henry Spencer > > >