Files
SysTray-X/README.references.txt

220 lines
4.2 KiB
Plaintext
Raw Normal View History

#<script>
2020-06-13 15:29:46 +02:00
Translations
============
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization
2020-06-03 17:54:47 +02:00
Notifier
https://stackoverflow.com/questions/52935526/kstatusnotifieritem-instantiation-crashes-qt
kstatusnotifieritem.h => knotifications-devel
2020-03-21 22:34:41 +01:00
Installers
Bash:
https://www.matteomattei.com/create-self-contained-installer-in-bash-that-extracts-archives-and-perform-actitions/
Windows:
The good old Nullsoft:
https://sourceforge.net/projects/nsis/
2020-03-30 21:15:58 +02:00
Assets uploader:
https://github.com/tcnksm/ghr
2020-03-21 22:34:41 +01:00
Windows
=========================================
c# remove 3rd party application from taskbar
(first answer)
https://stackoverflow.com/questions/10514882/c-sharp-remove-3rd-party-application-from-taskbar
2020-02-25 17:56:49 +01:00
Close window
https://docs.microsoft.com/en-us/windows/win32/learnwin32/closing-the-window
2020-02-27 23:02:12 +01:00
Block close button
https://devblogs.microsoft.com/oldnewthing/20100604-00/?p=13803
2020-02-25 23:05:20 +01:00
2020-02-27 23:02:12 +01:00
Get processes
2020-02-25 23:05:20 +01:00
(EnumProcesses function)
https://www.qtcentre.org/threads/46145-Get-All-Running-Process-Win32
2020-02-27 23:02:12 +01:00
Get (Pid) and PPid
https://stackoverflow.com/questions/185254/how-can-a-win32-process-get-the-pid-of-its-parent
https://stackoverflow.com/questions/18401572/c-how-to-fetch-parent-process-id
https://www.codeproject.com/Articles/9893/Get-Parent-Process-PID
2020-02-25 23:05:20 +01:00
X11
==========================================
2020-04-05 17:30:24 +02:00
Get window ID from pid
https://unix.stackexchange.com/questions/321079/how-to-get-window-id-from-process-id
xdotool search --pid [pid]
https://stackoverflow.com/questions/20580897/get-x-window-id-from-process-in-bash
wmctrl -lp
xprop
2020-04-06 22:08:06 +02:00
https://askubuntu.com/questions/646346/xfce-hiding-an-application-from-the-taskbar
2020-04-09 21:59:22 +02:00
wmctrl -i -r xxxx -b add,skip_taskbar
wmctrl -i -r xxxx -b remove,skip_taskbar
2020-04-06 22:08:06 +02:00
xprop -id xxxxx | grep "CLASS"
wmctrl -x -r name.name -b add,skip_taskbar
wmctrl -x -r name.name -b remove,skip_taskbar
2020-04-05 17:30:24 +02:00
2020-02-25 23:05:20 +01:00
Get processes (parent pid, pid and arguments)
ps -eo ppid,pid,args
qint64 QCoreApplication::applicationPid() to get systrayx pid -> parent pid -> tb window.
ps -p [PID] -o ppid
Bash
xwininfo -tree -root
How to get the list of open windows from xserver
https://stackoverflow.com/questions/252906/how-to-get-the-list-of-open-windows-from-xserver
-> XQueryTree Xlib
https://tronche.com/gui/x/xlib/window-information/XQueryTree.html
https://stackoverflow.com/questions/11594184/getting-a-list-of-window-wids-in-qt
How to detect window state in linux?
https://stackoverflow.com/questions/37003959/how-to-detect-window-state-in-linux
Taskbar hide
https://stackoverflow.com/questions/41622735/hide-window-from-linux-taskbar
2020-02-16 22:24:17 +01:00
minimize fullscreen Xlib OpenGL Window
https://stackoverflow.com/questions/6381098/minimize-fullscreen-xlib-opengl-window
2020-02-25 17:56:49 +01:00
Close windows
https://stackoverflow.com/questions/41202622/xlib-soft-closing-a-window
2020-02-16 22:24:17 +01:00
Intercept close event X11
https://stackoverflow.com/questions/1157364/intercept-wm-delete-window-on-x11
2020-02-17 00:20:26 +01:00
Allowed actions
https://stackoverflow.com/questions/28495586/x11-how-to-set-net-wm-allowed-actions
Qt X11
https://doc.qt.io/qt-5/qx11info.html
Obesolete X11 container qt4
https://stackoverflow.com/questions/39515384/qx11embedcontainer-alternative-in-qt5
Example container
https://stackoverflow.com/questions/1102658/qx11embedwidget-and-qx11embedcontainer
==========================================
2020-01-05 13:50:38 +01:00
Arguments for <script>
https://stackoverflow.com/questions/5292372/how-to-pass-parameters-to-a-script-tag
Loading css using <script>
https://stackoverflow.com/questions/574944/how-to-load-up-css-files-using-javascript
2020-01-05 23:28:42 +01:00
Input <input>
https://www.w3schools.com/tags/tag_input.asp
Input types
https://www.w3schools.com/tags/att_input_type.asp
2020-01-08 19:40:23 +01:00
Tree view
https://www.w3schools.com/howto/howto_js_treeview.asp
Nested table
https://codepen.io/st-iv/pen/xxbRxEj
Tree table
https://stackoverflow.com/questions/5636375/how-to-create-a-collapsing-tree-table-in-html-css-js
http://maxdesign.com.au/articles/tree-table/
2020-01-24 23:41:56 +01:00
Image to Base64 conversion
https://stackoverflow.com/questions/6150289/how-to-convert-image-into-base64-string-using-javascript
Generate tree list from array
https://stackoverflow.com/questions/57344694/create-a-tree-from-a-list-of-strings-containing-paths-of-files-javascript