![]() |
2012-10-02
, 07:21
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#52
|
![]() |
2012-10-02
, 07:24
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#53
|
The Following User Says Thank You to wolke For This Useful Post: | ||
![]() |
2012-10-02
, 07:25
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#54
|
#!/bin/bash source /etc/profile pkill -f .*qtbigtext.py.* if [ "$1" == "-k" ]; then exit 0 fi if [ "$#" -eq "1" ] && [ -e $1 ]; then exec cat "$1" | /opt/qtbigtext/qtbigtext.py 1>/dev/null 2>/dev/null & else exec /opt/qtbigtext/qtbigtext.py "$@" 1>/dev/null 2>/dev/null & fi
The Following User Says Thank You to wolke For This Useful Post: | ||
![]() |
2012-10-02
, 07:33
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#55
|
![]() |
2012-10-02
, 07:40
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#56
|
The Following User Says Thank You to thedead1440 For This Useful Post: | ||
![]() |
2012-10-02
, 07:45
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#57
|
![]() |
2012-12-25
, 01:06
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#58
|
#!/bin/sh pkill -f .*qtbigtext.py.* if [ "$1" == "-k" ]; then exit 0 fi if [ "$1" == "--help" ]; then echo -e "Usage: `basename $0` [TEXT OR FILE]" echo -e "Display text as large as possible, with all the text fitting." echo -e "" echo -e "Options:" echo -e " -k kill qtbigtext process and exit" echo -e " --help display this help and exit" echo -e "" echo -e "If no arguments are given, display text in ~/MyDocs/qtbigtext.txt" echo -e "Configuration file is at ~/.config/qtbigtext.conf" exit 0 fi if [ "$#" -eq "1" ] && [ -e "$1" ]; then cat "$1" | /opt/qtbigtext/qtbigtext.py > /dev/null 2>&1 & else /opt/qtbigtext/qtbigtext.py "$@" > /dev/null 2>&1 & fi
![]() |
2013-08-20
, 03:15
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#59
|
It must just be a system bug or maybe due to "undue stress" caused by my frequent opening and closing it