You are not logged in.

Search results

Search results 1-6 of 6.

Wednesday, January 24th 2007, 8:31pm

Author: myak

media:/ ioslave

Any tips on how to tell hal about it?

Monday, January 22nd 2007, 2:30pm

Author: myak

media:/ ioslave

I have a truecrypt volume I mount manually via truecrypt /dev/hda5 /windows/enc and it works perfectly and shows up correctly in /etc/mstab but I have a problem seeing it in media:/ ioslave in KDE - I can't get it to work. I have tried putting an entry in /etc/fstab just to be sure (/dev/mapper/truecrypt0 to /windows/enc with noauto option) if media:/ ioslave scans there but it didn't work. Any tips on what to do to get this working?

Saturday, June 25th 2005, 6:26pm

Author: myak

Support for XUrgencyHint

Quoted Originally posted by anda_skoa As you need that on X11 and Windows, it would be nice if you could post both parts, maybe using #ifdef in one function, on qtforum in the tutorisl, tips&tricks section. Ok, here it is. Hope someone will find this useful Quoted Originally posted by anda_skoa And/or on the Qt wiki. Unfortunately, I have no experience with wikis at all so if you (or someone else of course) have some time then please feel free to convert my post in tips&tricts section of qtforu...

Saturday, June 25th 2005, 2:23pm

Author: myak

Support for XUrgencyHint

Actually, I tried diffrent approach (without hints) and it worked: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Display *xdisplay = qt_xdisplay(); Window rootwin = qt_xrootwin(), winId = this->winId(); static Atom demandsAttention = XInternAtom(xdisplay, "_NET_WM_STATE_DEMANDS_ATTENTION", true); static Atom wmState = XInternAtom(xdisplay, "_NET_WM_STATE", true); XEvent e; e.xclient.type = ClientMessage; e.xclient.message_type = wmState; e.xclient.display = xdisplay;...

Friday, June 24th 2005, 1:15am

Author: myak

Support for XUrgencyHint

I'm looking for a Xlib + Qt (without KDE) solution but you may have pointed me in a right direction - thanks very much! KWin::demandAttention() only sets one flag but I'm looking at kdecore's netwm.cpp and it may have solution to my problem. But still, if someone has a code snippet which does exactly (or almost exactly) what I want then please share PS. @Latem: nice signature

Thursday, June 23rd 2005, 4:18pm

Author: myak

Support for XUrgencyHint

Yeah, it flashes the taskbar entry but how to make it stop flashing? There's this piece of code: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 void ChatDlg::doFlash(bool yes) { XWMHints *hints = XGetWMHints(qt_xdisplay(), this->winId()); if (yes) { if (!(hints->flags & UrgencyHint)) hints->flags |= UrgencyHint; } else { if (hints->flags & UrgencyHint) hints->flags &= ~UrgencyHint; } XSetWMHints(qt_xdisplay(), this->winId(), hints); XFree(hints); } (ChatDlg is subclass of QWidget) And when wind...