Ubuntu – Problem with the accent marks on MS Office in PlayOnLinux


I have a issue with the accent marks on Word in Ubuntu 16.04. When I'm writing and I need the mark, Word doesn´t write it.

I tried to change iBus to none, but the vowels with mark are showed like this:
´a ´e ´i ´o ´u

Sorry for my english, but I need to fix it
Have a nice day/night

Best Answer

I have solved it. There are two actions to apply:

  1. Solves the problem when you launch the application and then open the file.

    • To do so, follow ingasvist's user instuctions: go to Playonlinux, select Office program (Word, Excel, ...), go to Configure (do not get confused by "Configure Wine"), go to the Miscellaneous tab, and in the Command to exec before run textbox, enter: XMODIFIERS="". That solved it. Keep the keyboard entry method on IBus. Repeat for other office links.
  2. Solves the problem when you want to open directly the file from your file browser.

    • Go to the files located at ~/.local/share/applications. Use a text editor to modify Office launcher files and look for the line which begins like Exec=.... Modify this line by adding env XMODIFIERS="" to it. This is what mine looks like now:

      Exec= env XMODIFIERS="" /usr/share/playonlinux/playonlinux --run "Microsoft Word 2010" %F 

I hope this helps!


PD: this answer is thanks to the contribution of ingasvist user, this blog, and this faq website.