Reputation
6,829
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 20
Newest
 Enlightened
Impact
~218k people reached

Jul
10
awarded  Enlightened
Jul
10
awarded  Nice Answer
Jun
17
comment Freebsd 10.1: X11 keyboard is english ,how to set to italian?
Try putting those settings in /usr/local/etc/X11/xorg.conf.d/keyboard.conf. The values you specified look good, so should work if the server can find the config file.
Jun
12
comment Freebsd 10.1: X11 keyboard is english ,how to set to italian?
Is your X server configured to use hal? The default now is to use FreeBSD's devd instead, which requires different configuration.
May
6
awarded  Enlightened
May
6
awarded  Nice Answer
May
5
comment displaying output in a single line
echo -n ... to suppress the printing of the newline character.
Apr
30
comment set library path for current script
Is testandlaunch the program you are trying to set LD_LIBRARY_PATH for, or the script you are trying to modify to make that happen? It might help if you post the relevant parts of your script as an edit to your question.
Apr
30
comment set library path for current script
What is the command you are trying to call? Does it care about the value of LD_LIBRARY_PATH?
Apr
30
answered set library path for current script
Apr
30
comment set library path for current script
It is possible to export a variable in a script, so that it only affects calls made within that script. Once the shell started by the kernel to run the script dies, so does its context - including any variables you export. I should have made that clearer in my comment.
Apr
30
comment set library path for current script
LD_LIBRARY_PATH=foo; export LD_LIBRARY_PATH is arguably slightly better - you only need it once in the script, and anything you call that cares about it will find it. No repetition, reduced scope for errors. You can override an existing setting with an inline assignment, if necessary.
Apr
30
comment set library path for current script
Do you really mean $(pwd), or do you mean $(dirname $0)?
Apr
22
comment How to you force fsck at reboot on FreeBSD10?
What does the /etc/fstab entry for /dev/vtbd0p2 look like? Specifically, is the last field set to anything other than 0?
Apr
21
comment How to you force fsck at reboot on FreeBSD10?
What filesystem are you using on that device?
Apr
21
answered How to you force fsck at reboot on FreeBSD10?
Apr
17
comment What is the difference between vim and vim-lite?
Take a look in editors/vim/Makefile and look for the LITE knob. You'll see it turns off X, prevents embedded interpreters for perl, python, ruby, etc, as well disabling certain other features.
Apr
17
comment What is the difference between vim and vim-lite?
That's it exactly - you should turn your comment into an answer!
Apr
17
revised Local variable as a part of global one
added 484 characters in body
Apr
17
answered Local variable as a part of global one