i was working on a spreadsheet for a customer and it had over 6000 cells in it. every single cell had a leading space. after much searching on google, i finally found the correct answer, and here it is.
ctrl + fto open the search and replace dialog box- enter
^[:space:]+into the search box and leave the replace with box blank - done!
here is how to install and configure wine 1.3.1 from source with additional configurations for nVidia card owners.
download the source here.
open up the tarball:
tar -jvxf wine-1.3.1.tar.bz2
cd into the newly created directory:
cd wine-1.3.0
configure and make dependencies:
./configure --with-x && make depend && make
install wine you may need to sudo this one
make install
create the .wine directory in your home folder:
winecfg
install winetricks for additional .dll’s:
cd .wine/
wget http://www.kegel.com/wine/winetricks
make winetricks executable:
sudo chmod +x ./winetricks
install additional .dll’s using winetricks:
./winetricks d3dx9 droid winxp sound=alsa volnum vcrun2008 dotnet20 ie6 corefonts
recommended for nvidia card users: for the physx gaming engine – make sure your card is supported
./winetricks physx
now, after you have done all this, there is still more to do in order to properly configure wine:
configure the wine registry for windows gaming:
wine regedit
browse to HK_CURRENT_USER/Software/Wine/ and add a new key named Direct3D. then add the following strings and values:
| string | value |
| DirectDrawRenderer | opengl |
| Nonpower2Mode | repack |
| OffscreenRenderingMode | fbo |
| RenderTargetLockMode | auto |
| UseGLSL | readtex |
| VertexShaderMode | hardware |
| VideoDescription | NVIDIA GeForce GT 220 |
| VideoDriver | nv4_disp.dll |
| VideoMemorySize | 1024 |
you can add it manually as shown above, or, copy and paste the following to a graphics.reg file and import it to wines registry.
REGEDIT4
[HKEY_CURRENT_USERSoftwareWineDirect3D]
"DirectDrawRenderer"="opengl"
"Nonpower2Mode"="repack"
"OffscreenRenderingMode"="fbo"
"RenderTargetLockMode"="auto"
"UseGLSL"="readtex"
"VertexShaderMode"="hardware"
"VideoDescription"="NVIDIA GeForce GT 220"
"VideoDriver"="nv4_disp.dll"
"VideoMemorySize"="1024"
enable support for misc binaries:
edit /etc/rc.d/rc.modules and uncomment the following line:
/sbin/modprobe binfmt_misc
then add the following to /etc/fstab:
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
now add the following to /etc/rc.d/rc.local”:
echo ':windows:M::MZ::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
echo ':windowsPE:M::PE::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
now reboot the machine
sweet home 3d is one of the best home design programs i have used. its interface is incredibly simple, easy to use and intuitive. within minutes of installing the program i was able to input the dimensions for my basement and create an outline and 3d walkthru of what i wanted to do and show my wife. this application has made home design amazing. if you or someone you know is planning on building, remodeling, or just moving around the living room, i recommend downloading and installing this program.
its available for linux, mac and windows. i have used both the linux version and the windows version. both run flawlessly. you can download it here.
here is what i was able to put together in less than 30min. as you build the walls on the blueprint window, the program automatically generates a 3d overhead view of whatever your working on. you can change between an aerial view and a virtual walkthru.
[SinglePic not found]microsoft had the brilliant idea of sharing the system root folder by default. here is how to remove that:
start -> accessories -> admin tools -> computer management. once in computer management, expand the share folders tree and in the right window, right-click the share you want to disable and click remove.
if the above doesnt work, you can use regedit and do the following (if the key isnt there, you need to create it):
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEMCurrentControlSetServicesLanManServerParameters
Name: AutoShareWks
Data Type: REG_DWORD
Value: 0
another option you can do is this (you can replace the c$ with the share you want to remove):
open the command prompt and type: net share c$ /delete
here is a list of some really handy windows keyboard shortcuts.
| minimize all | win + d |
| run | win + r |
| task manager | ctrl + shift + esc |
| lock keyboard | win + l |
| system properties | win + pause/break |
| explorer | win + e |
| find | win + f |
here are some great how-tos on web design using adobe products.
here is a link to the article. i had a chance to browse through the changelog and noticed a significant amount of changes. i will have to set up and try this out in slackware.
they also had a nice “tour” of xfce 4.6 a lot of the highlights in this article are improved upon in 4.8.
you can get the source for 4.8 here.
i already had flash and photoshop installed on a windows vm and i wanted to see how it ran using wine in slackware. (i was getting sick of the marginal delay using vnc)
1) copy adobe over to linux
-
Program FilesAdobeinto$HOME/.wine/drive_c/Program Files Documents and SettingsAll UsersApplication DataAdobeinto$HOME/.wine/drive_c/users/Public/Application Data
2) export the adobe registry branch from HKEY_LOCAL_MACHINE/SOFTWARE/Adobe
3) install additional windows libraries using winetricks – sh winetricks vcrun2008 msxml3 atmlib gdiplus
4) import the registry file into wines registry
i managed to get photoshop working this way and i am having difficulty with flash. i will post more once i solve the problem.
add a range of ports to the windows firewall (change the words start and end to your corresponding ports)
open up the command line and enter the following:
for /L %i in (start,1,end) do netsh firewall add portopening TCP %i "Port-range %i"
for example: (using wow’s port range as an example)
for /L %i in (6881,1,6999) do netsh firewall add portopening TCP %i "Port-range %i"
# poll growing directory stats
for i in $(tree); do du -hs; tree|grep files; sleep 10; clock;done