[dev] [dmenu][bug]cjk ime is unusable in dmenu
I use fcitx for inputing chinese, it works well in Xlib program such as st, xterm, urxvt. But in dmenu, it cannot be activated(using ctrl+space). The enviourment variable relate to ime that I setted in ~/.xinitrc: export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE="fcitx" export QT_IM_MODULE="fcitx" I have did some test and found that: When I press ctrl+space, in dmenu.c:493 if(XFilterEvent(&ev, win)) continue; this if-statement is false. But in the similar code of st, st.c:2784, it is true; Hope those information could help. Thanks for fixing this bug.
Re: [dev] [dmenu][bug]cjk ime is unusable in dmenu
Do you know how to fixed it? I did some try but could not find where should be fixed. 2013/2/9 Bjartur Thorlacius > On Fri, Feb 8, 2013 at 12:27 PM, Daniel Zhang wrote: > > I use fcitx for inputing chinese, it works well in Xlib program such as > st, > > xterm, urxvt. But in dmenu, it cannot be activated(using ctrl+space). > > > Dmenu annoyingly grabs the entire keyboard and thereby disables all > other keyboard shortcuts. Thus the program responsible for spawning > fcitx isn't notified of your keypress, ctrl+space. This grabbing also > ensures that dmenu can't be unfocused. > > Dmenu should not grab /all/ keyboard buttons. > >
Re: [dev] FTP script: how to store password?
Store it in pure text file & chown root & chmod 600 is the simpliest way. 2013/2/9 Hugues Moretto-Viry > Hi guys, > > I'm writing a little FTP client in pure shell + curl for my personal needs. > Anyway, I need to store my passwords so I chose SQlite, because I don't > want to put them in a regular file or in the script. > Unfortunately, I think this is not really perfect. > > Do you know how to store my passwords outside the script (maybe hashed), > in the suckless way? > > Best Regards > > H.Mo. >