bricscad default application on linux to open *.dwg files
Comments
-
I'm interested in the same issue...Dolphin browser under plasma kde 5.I tried to associate the bricscad.sh script to .dwg files, but nothing happen when double click on such files.0
-
I just handled how to successfully associate dwg files to bricscad.Just open your DE default files association GUI editor.Find or add the .dwg file type.Add application: /path/to/bricscad/bricscah.sh (to be associated to .dwg extension)Important: change the default working path to: /path/to/bricscad/If you still have problems, check the options to launch bricscad in terminal and keep it open. There you'll ready what kind of issue are you facing on.0
-
thank for your reply but i dont understand what to do.. I'm using Antergos x64 and i've read the forums both antergos and arch and didnt find any solution.! i want to right mouse click and in the submenu i want to add bricscad icon check photo attacheddefault apps.jpg0
-
thank for your reply but i dont understand what to do.. I'm using Antergos x64 and i've read the forums both antergos and arch and didnt find any solution.! i want to right mouse click and in the submenu i want to add bricscad icon check photo attachedI'm not a GNOME user, so I'm sorry I can't help you in detail.You should have a .desktop file to lunch Bricscad, like this (check paths):[code][Desktop Entry]Comment=Exec=/opt/BricsCAD/bricscad.shGenericName[it_IT]=GenericName=MimeType=image/vnd.dwg;Name[it_IT]=bricscad.shName=bricscad.shNoDisplay=truePath=/opt/BricsCAD/StartupNotify=trueTerminal=falseTerminalOptions=\s--nocloseType=ApplicationX-DBUS-ServiceName=X-DBUS-StartupType=noneX-KDE-SubstituteUID=falseX-KDE-Username=[/code]It can be created manually or with the GUI (but I don't know in GNOME which is).I found it under ~/.local/share/applications/0
-
ok i got is working…
- create a folder and put the 4 files in it
I)BricsCAD-V16-dwg.xml
contains the following…:
[code]<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’> [/code]
CAD Drawing
II) BricsCAD-V16-dwt.xml contains the following:
[code]<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’> [/code]
CAD DrawingIII)BricsCAD-V16-dxf.xml contains the following:
[code]<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’> [/code]
CAD Drawingand last but not least the shortcut itself Bricscad-V16.desktop contains the following:
Name=Bricscad-V16
[code][Desktop Entry]
GenericName=Bricscad
Comment=Bricscad V16
Exec=/home//BricsCAD-V16/bricscad.sh
NoDisplay=true
StartupNotify=true
Terminal=false
TerminalOptions=\s–noclose
Icon=/home//.local/share/icons/bricscad.png
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
MimeType=image/vnd.dwg;image/vnd.dwt;image/vnd.dxf;application-vnd.BricsCAD-V16-dwg;application-vnd.BricsCAD-V16-dwt;application-vnd.BricsCAD-V16-dxfCategories=Application;Graphics;2DGraphics;RasterGraphics;[/code]
ok bear with me and open the terminal and put those commands
sudo xdg-mime install --novendor --mode system "BricsCAD-V16-dwg.xml"
sudo xdg-mime install --novendor --mode system "BricsCAD-V16-dwt.xml"
sudo xdg-mime install --novendor --mode system “BricsCAD-V16-dxf.xml”for the next commands on the terminal i suggest to move the Bricscad-V16.desktop in the folder
/home//.local/share/applications/
sudo xdg-desktop-menu install --novendor --mode system "Bricscad-V16.desktop"
sudo [ -x /usr/sbin/update-mime ] && /usr/sbin/update-mime ]and finally the result should be just like mine…
20170127_145106.jpg0 - create a folder and put the 4 files in it
-
ok i got is working…
- create a folder and put the 4 files in it
I)BricsCAD-V16-dwg.xml
contains the following…:
<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’>
CAD Drawing
II) BricsCAD-V16-dwt.xml contains the following:
<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’>
CAD DrawingIII)BricsCAD-V16-dxf.xml contains the following:
<?xml version=“1.0” encoding=“UTF-8”?>http://www.freedesktop.org/standards/shared-mime-info’>
CAD Drawingand last but not least the shortcut itself Bricscad-V16.desktop contains the following:
[Desktop Entry]
Name=Bricscad-V16
GenericName=Bricscad
Comment=Bricscad V16
Exec=/home/linux/BricsCAD-V16/bricscad.sh
NoDisplay=true
StartupNotify=true
Terminal=false
TerminalOptions=\s–noclose
Icon=/home/linux/.local/share/icons/bricscad.png
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
MimeType=image/vnd.dwg;image/vnd.dwt;image/vnd.dxf;application-vnd.BricsCAD-V16-dwg;application-vnd.BricsCAD-V16-dwt;application-vnd.BricsCAD-V16-dxf
Categories=Application;Graphics;2DGraphics;RasterGraphics;ok bear with me and open the terminal and put those commands
sudo xdg-mime install --novendor --mode system "BricsCAD-V16-dwg.xml"
sudo xdg-mime install --novendor --mode system "BricsCAD-V16-dwt.xml"
sudo xdg-mime install --novendor --mode system “BricsCAD-V16-dxf.xml”for the next commands on the terminal i suggest to move the Bricscad-V16.desktop in the folder
/home//.local/share/applications/
sudo xdg-desktop-menu install --novendor --mode system "Bricscad-V16.desktop"
sudo [ -x /usr/sbin/update-mime ] && /usr/sbin/update-mime ]and finally the result should be just like mine…
20170127_145106.jpg0 - create a folder and put the 4 files in it
-
i tried and i tried but the xml contents arent showing up.!check in this link i posted the answer as well!!0