blob: a04bc96b31dbb175625e8397154bfbdb735f27d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
If you want to use this tool outside of the SDK installation directory
you have to set SDKDIR environment variable.
How to get root permission:
sudo -A /bin/askpass-tool
Sudo will ask when starting scripts
sudo -E ./b2qt-flashing-wizard
-E is needed to keep the X vars
Variables needed:
#!/bin/bash
export HOME=/home/rkeller
export XDG_SESSION_COOKIE=0dbc1b47e88f5cfa62c5818b00000237-1381472004.761811-1314725543
./b2qt-flashing-wizard
GUI stuff:
kdesu
gsu
|