I need help figuring out how to stop wine from creating .lnk files for each time a Microsoft Office application is open and close. Any help would be very appreciated,Thank you!
Microsoft Office on Wine - .lnk files
Page 1 of 15 Replies - 927 Views - Last Post: 26 August 2012 - 01:44 PM
Replies To: Microsoft Office on Wine - .lnk files
#2
Re: Microsoft Office on Wine - .lnk files
Posted 25 June 2012 - 06:43 AM
Shell links are a rather integral lower level part of Windows, so I am sorry to say that you cannot do much about your problem short of re-writing Windows. If you are finding running Microsoft Office within an emulator too bothersome, might I suggest running Open Office natively, instead?
#3
Re: Microsoft Office on Wine - .lnk files
Posted 17 August 2012 - 12:08 AM
Hi,
I have the same issue and a workaround.
This is not a solution but a periodic cleanup.
Try:
- open bash
- type the following command line: crontab -e
I have the same issue and a workaround.
This is not a solution but a periodic cleanup.
Try:
- open bash
- type the following command line: crontab -e
#4
Re: Microsoft Office on Wine - .lnk files
Posted 17 August 2012 - 12:17 AM
Sorry for the broken entry: [tab] moved to the post button instead of writting a tab :-/
So:
I have the same issue and a workaround.
This is not a solution but a periodic cleanup.
Try:
- open bash
- type the following command line: crontab -e
=> the crontab editor open
- Add the following 2 lines:
*/5 * * * * cd ~; rm *.lnk
0 * * * * find ~ -iname *.lnk -type f | grep -v .wine | tr '\n' '\0' | xargs -0 rm
- Save
- Wait for the next multiple of 5 minutes (09.05, 09.10...)
=> the .lnk files will disappear from your current user folder
- Wait for the next multiple of 1 hour (10.00, 11.00...)
=> the .lnk files will disappear from all the subfolders of your current user
Explanation of the second line:
- find ~ -iname *.lnk -type f => find all files ending with .lnk
- grep -v .wine => ignore those in with .wine in the path
- tr '\n' '\0' => change all new lines into [0] char
- xargs -0 rm => use 0 as a separator for rm (instead of the space which exists inside paths)
Not a clean solution, but a clean user folder.
Regards
So:
I have the same issue and a workaround.
This is not a solution but a periodic cleanup.
Try:
- open bash
- type the following command line: crontab -e
=> the crontab editor open
- Add the following 2 lines:
*/5 * * * * cd ~; rm *.lnk
0 * * * * find ~ -iname *.lnk -type f | grep -v .wine | tr '\n' '\0' | xargs -0 rm
- Save
- Wait for the next multiple of 5 minutes (09.05, 09.10...)
=> the .lnk files will disappear from your current user folder
- Wait for the next multiple of 1 hour (10.00, 11.00...)
=> the .lnk files will disappear from all the subfolders of your current user
Explanation of the second line:
- find ~ -iname *.lnk -type f => find all files ending with .lnk
- grep -v .wine => ignore those in with .wine in the path
- tr '\n' '\0' => change all new lines into [0] char
- xargs -0 rm => use 0 as a separator for rm (instead of the space which exists inside paths)
Not a clean solution, but a clean user folder.
Regards
#5
Re: Microsoft Office on Wine - .lnk files
Posted 21 August 2012 - 01:18 PM
Might I ask why you aren't using OpenOffice?
#6
Re: Microsoft Office on Wine - .lnk files
Posted 26 August 2012 - 01:44 PM
fatalpriapism, on 21 August 2012 - 01:18 PM, said:
Might I ask why you aren't using OpenOffice? 
Because I love Linux and I do not hate Microsoft.
Because MS-Office is a good product (or at least it fits my needs).
Because I find OpenOffice/LibreOffice too bloated (and based on a JVM while it is a disaster choice for performances).
Because I find OpenOffice/LibreOffice unfit for the documents my contacts work with (ok it may be MS fault and choice).
And in short because Linux allows me to be free and I make use of this freedom to use whatever software I appreciate - and it includes some Windows world pieces of software.
Thank you Linux and Wine people!
With regards :-)
Page 1 of 1
|
|

New Topic/Question


MultiQuote



|