Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ubuntu 12.10 - Make PlayOnLinux show up in default program

Posted on 2012-12-30
3
Medium Priority
?
897 Views
Last Modified: 2013-01-22
Hi Expert,

I installed a fresh Ubuntu 12.10 with PlayOnLiinux and MS Office 2007. MS Office applications works just fine. I'm just trying to make the .docx use MS Words as the default application. I've been looking around the web and seen instructions saying I should try to set the .docx default program to Playonlinux.

I can't set .docx to use Playonlinux as the default program. Its not showing up on my default program list.

Can you please help direct me in the right direction?

Thanks
Rick
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 38732379
To get PlayOnLinux (or any app) into the "open with other application" list, you need to create a .desktop file in ~/.local/share/applications with a line in it like this: Exec=<command> %f

For exxample, create "playonlinux.desktop":

[Desktop Entry]
Categories=;
Comment=Open files with PlayOnLinux
Exec=PlayonLinux %f
Hidden=false
Icon=playonlinux
Name=PlayOnLinux
Terminal=true
Type=Application
Version=1.0

This will make "PlayOnLinux" appear in the list of possible apps.

Customize the "Exec" name to match the exact name (and possibly the path) of the PlayOnLinux binary, and change the icon name appropriately (if there's an icon with PlayOnLinux).

Now to create a default add to ~/.local/share/applications/defaults.list somehing like

application/vnd.openxmlformats-officedocument.wordprocessingml.document=playonlinux.desktop
0
 

Author Closing Comment

by:Ronniel Allan Castanito
ID: 38732773
Thank you
0
 

Expert Comment

by:filipeataide
ID: 38805427
It seems that indeed it does what it is intended to do, but in the end it just opens a blank file, not the selected one. Are you also getting this?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question