Tiny Core Linux
General TC => General TC Talk => Topic started by: hitsware on July 22, 2012, 06:49:05 PM
-
Or at least slowed down ?
And
It seems like the minimize button on the windows
actually acts like close ?
-
Just seems that way.
Right click or the desktop, select your window and click on the running program to pop it back up.
-
Hi hitsware
To turn off key repeat:
xset -rIf you don't have xset on your system, install one of the following:
Xorg-7.5-bin.tcz
Xorg-7.6-bin.tcz
Xlibs.tcz
-
Also check in your BIOS for key repeat.
-
Hi hitsware
To turn off key repeat:
xset -r
That works but doesn't seem to ' persist '
-
Hi hitsware
Maybe if you add that command to your bootlocal.sh file?
-
Also check in your BIOS for key repeat.
can't find it in bios
-
Some BIOS feature a "key repeat" option - but not all.
-
Hi hitsware
Maybe if you add that command to your bootlocal.sh file?
It's an X util, so it needs to run with X running.
-
Hi hitsware
I stand corrected, don't add the command to your bootlocal.sh file, instead execute:
echo "#!/bin/sh" > ~/.X.d/repeatoff
echo "xset -r" >> ~/.X.d/repeatoff
chmod 775 ~/.X.d/repeatoffThat will create a script which runs the xset command every time the GUI starts.
-
Shouldn't that be:
echo "#!/bin/sh" > ~/.X.d/repeatoff
:)
-
Hi Juanito
Either way seems to work.
-
Depends on where you happen to be perched at the moment.
-
Hi gerald_clark
Depends on where you happen to be perched at the moment.
I don't think so. From fs/binfmt_script.c of the 3.0.3 Tinycore source:
if ((bprm->buf[0] != '#') || (bprm->buf[1] != '!') ||
(bprm->recursion_depth > BINPRM_MAX_RECURSION))
return -ENOEXEC;This tests the first two characters to see if they are #!, if not, it exits.
A little further down in the code:
for (cp = bprm->buf+2; (*cp == ' ') || (*cp == '\t'); cp++);
if (*cp == '\0')
return -ENOEXEC; /* No interpreter name found */
i_name = cp;
The first line starts scanning one character past the #! (the bprm->buf+2 part) for the first character that is not a
space or a tab. If that character is not zero, i_name points to /bin/sh.
-
Not the script, the redirection ;) Consider if your current dir was /tmp.
-
Hi curaga
Oh, don't I feel foolish. I didn't notice the added tilde in the path. I will update my post accordingly.
-
A preceeding simple "cd" could solve this as well ;)