Re: [dev] List of tools for a CLI environment
mikshaw a écrit : > What about > ls /usr/{,local}/bin ls /usr{,/local}/bin
[dev] [dwm] BadAtom error
Running the example code at the bottom of https://github.com/wedesoft/hornetseye-xorg results in the following error: X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 18 (X_ChangeProperty) Atom id in failed request: 0x0 Serial number of failed request: 10 Current serial number in output stream: 11 The same code works well with wmii and fluxbox window managers. Strangely enough it works also from time to time with dwm, but I have no idea how to reproduce these working conditions. Never had problems with other X applications under dwm. I have been able to track the following code The error is raised by m_wmProtocols = XInternAtom( display->get(), "WM_PROTOCOLS", False ); https://github.com/wedesoft/hornetseye-xorg/blob/master/ext/x11window.cc#L258 Unfortunately I am completely clueless when it comes to X programming and would appreciate any help to solve this issue. Best regards, Christoph PS: X.Org X Server 1.11.1.901 (1.11.2 RC 1) Release Date: 2011-10-14 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.0-ARCH x86_64 Current Operating System: Linux zx81 3.0-ARCH #1 SMP PREEMPT Wed Oct 19 10:27:51 CEST 2011 x86_64 Kernel command line: root=/dev/disk/by-uuid/14614780-98ea-4e0d-9725-fd24f1865372 ro logo.nologo quiet Build Date: 24 October 2011 12:29:30PM Current version of pixman: 0.22.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
Re: [dev] List of tools for a CLI environment
On 10/25/11, Bastien Dejean wrote: > ls /usr{,/local}/bin > Or ls /usr/*/bin. Listing directories surely must be preferred over listing just directories in /usr.
Re: [dev] List of tools for a CLI environment
- Original Message - > From: Kurt H Maier > > can be extended: > > ls /{,usr/{,local/}}{,s}bin > I was trying to work that one out yesterday, but nested brackets often make my head spin. Thanks.
Re: [dev] List of tools for a CLI environment
- Original Message - > From: Bastien Dejean > > mikshaw a écrit : > >> What about >> ls /usr/{,local}/bin > > ls /usr{,/local}/bin > Thanks for the correction
Re: [dev] List of tools for a CLI environment
On 25/10/2011 03:56, Evan Gates wrote: Really wish I had an undo send feature... (IFS=:; ls $PATH) couldn't do better. -- Džen
Re: [dev] [dwm] x11 corner case bug
On 25 October 2011 00:08, Kurt H Maier wrote: > On Mon, Oct 24, 2011 at 4:28 PM, Anselm R Garbe wrote: >> Unmapping proved to be a bit slower, which is why I used the window >> moving trick. I guess the best is to move the windows into negative x >> land to have a proper fix. > > How much slower? Unmapping would seem to be more correct, even if we > all know there's no hope for a performant x server. Perhaps not really measurable on modern hardware. Anyways, the real problem with unmapping those windows is that they then need to be set to withdrawn state as well, which may result to some kind of a "pause" logic in several X11 client apps, thus they can react a bit laggy compared to the window move trick, apart from extra X events being generated in various places. Cheers, Anselm
Re: [dev] [dwm] BadAtom error
On 25 October 2011 13:08, wrote: > Running the example code at the bottom of > https://github.com/wedesoft/hornetseye-xorg results in the following > error: > > X Error of failed request: BadAtom (invalid Atom parameter) > Major opcode of failed request: 18 (X_ChangeProperty) > Atom id in failed request: 0x0 > Serial number of failed request: 10 > Current serial number in output stream: 11 > > The same code works well with wmii and fluxbox window managers. > Strangely enough it works also from time to time with dwm, but I have no > idea how to reproduce these working conditions. Never had problems with > other X applications under dwm. > > I have been able to track the following code > The error is raised by > > m_wmProtocols = XInternAtom( display->get(), "WM_PROTOCOLS", False ); > > https://github.com/wedesoft/hornetseye-xorg/blob/master/ext/x11window.cc#L258 > > Unfortunately I am completely clueless when it comes to X programming > and would appreciate any help to solve this issue. Imho you tracked the issue to the wrong line in your code. The issue is more likely caused by https://github.com/wedesoft/hornetseye-xorg/blob/master/ext/x11window.cc#L255 (haven't checked though) which in turn refers to https://github.com/wedesoft/hornetseye-xorg/blob/master/ext/x11window.cc#L251, which might not exist (due to the True as last argument) in case of dwm. dwm doesn't use or set any MOTIF hints. HTH, Anselm
[dev] Bugs in dwm
Ive two issues on dwm to report. Maybe they are already known.. 1) gtk3 apps when resized by using the corner widget (see gedit for example) got hanged an capture the mouse. Only solution is to go to console and kill it. Else your X got fucked up. This bug only happens in dwm. The other wm work fine 2) redrawing loop in virtualbox. I think this was already known.. But dunno if it was fixed or there are plans for it. Cool to see suckless development going on again. --pancake
Re: [dev] Bugs in dwm
On Tue, Oct 25, 2011 at 4:52 PM, pancake wrote: > 1) gtk3 apps when resized by using the corner widget (see gedit for example) > got hanged an capture the mouse. Only solution is to go to console and kill > it. Else your X got fucked up. This bug only happens in dwm. The other wm > work fine this bug only happens in gtk3. other toolkits work fine. gedit also hangs under twm and evilwm on the test vm I just built. should be filed as a bug with gnome.org. -- # Kurt H Maier