Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: hiro on August 30, 2016, 05:01:11 PM
-
startup script uses
if test "z`ps -e | grep gpartedbin`" != "z"; then
ps -e doesn't exist on standard tinycorelinux so this will match against itself in the ps output, thus gparted is not started.
-
adjusted "ps -e" -> "ps" in sbin/gparted and reposted - thanks
-
Doesn't it also need "grep -v grep" to filter the grep calls out?
-
i agree with curaga
-
Could you give an example of exactly the line you'd like to see in the script (I realise there are four of them).
I'd suggest you also report this as a bug to gparted.
-
replace all ps -e | grep bla
with
ps | grep bla | grep -v grep
here it should be:
if test "z`ps | grep gpartedbin | grep -v grep`" != "z"; then
-
re-modified and posted
-
/usr/local/share/applications/gparted.desktop seems to have a bad Exec= entry.
Exec= /usr/local/sbin/gparted %f
should be
Exec=sudo /usr/local/sbin/gparted
edit:
And it has no X-FullPathIcon= .
-
There's been a few conversations about this - basically there's no desktop icon to make it a little harder to make a big mistake with gparted - see info file.
-
Aha, I see.
-
There's been a few conversations about this - basically there's no desktop icon to make it a little harder to make a big mistake with gparted - see info file.
But where's the fun in that! :p
-
The process gpartedbin is already running.
re-modified and posted
Hi!
Could you please fix 'gparted.tcz' for 'v7.2 x86_64' too?
-
posted
@Hiro - did you ever report this to gparted?
-
no, i find the whole script overly badly written, platform specific and rather pointless, so apart from fixing our special case i didn't want to get engaged in this.