Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
Install Wine Programms under NX http://navigatrix.net/viewtopic.php?f=4&t=665 |
Page 1 of 2 |
Author: | lapaloma [ 15 Jul 2014, 04:46 ] |
Post subject: | Install Wine Programms under NX |
I have installed Echoling and other Windows program under Wine. Now I cannot see them in any menu under the Manta menu. How do I make this visible. I have a installation where the home directory is in a different partion on the HD. Ferdinand |
Author: | Moe [ 15 Jul 2014, 06:33 ] |
Post subject: | Re: Install Wine Programms under NX |
Find the path to your installed application. It should be /opt/wine/drive_c/Program Files When you locate the .exe report back and we can walk through the steps to create a menu entry. |
Author: | lapaloma [ 15 Jul 2014, 11:01 ] |
Post subject: | Re: Install Wine Programms under NX |
thanks moe, I find the path her: /opt/wine/drive_c/Program Files/K1RFD/EchoLink in this directory ther is the exe file hope we can fix it. |
Author: | Moe [ 15 Jul 2014, 19:57 ] |
Post subject: | Re: Install Wine Programms under NX |
Everything is fixable. Menu entries are <some-application>.desktop files placed in one of several directories. They are similar to the <some-app>.lnk 'shortcuts' used in other operating systems. These .desktop files contain
Avoid this by using a real menu entry of something similar as a template. Code: sudo medit /usr/share/applications/Airmail3.desktop It looks likeQuote: [Desktop Entry] Name=Airmail Name[de]=Airmail <--- Notice it is translated for the German Comment=Check you SSB eMails with Airmail Comment[de]=SSB eMails mit Airmail empfangen und senden Comment[es]=Recuperar correos electrónicos SSB que con el Airmail Comment[fr]=Récupérez-vous eMails SSB avec la Airmail Exec=airmail Terminal=false Type=Application StartupNotify=true Categories=HamRadio; Icon=/usr/share/pixmaps/airmail.png Change the information to reflect the 'new' application Code: [Desktop Entry] Save as/usr/share/applications/EchoLink.desktop and thenName=EchoLink Name[de]=EchoLink Comment=This app does something special Comment[de]=Ich weiß nicht was es ist Comment[es]=abrir nuevas posibilidades para la comunicación con EchoLink Comment[fr]=ouvrent de nouvelles possibilités pour communiquer avec EchoLink Exec=/opt/wine/dosdevices/c:/Program\ Files/K1RFD/EchoLink/EchoLink.exe Terminal=false Type=Application StartupNotify=true Categories=HamRadio; Icon=/usr/share/pixmaps/pn_icon.png Code: sudo update-menus The new entry will appear under Menu>SSB Radio> EchoLink
|
Author: | lapaloma [ 16 Jul 2014, 02:56 ] |
Post subject: | Re: Install Wine Programms under NX |
I dit the change, but somhow my menue >SSB Radio> disapeared from the Manta Menu. Can I recall it? Ferdinand |
Author: | Moe [ 16 Jul 2014, 05:46 ] |
Post subject: | Re: Install Wine Programms under NX |
One thing is to check for typos in the file you Save as. ...or the Categories=HamRadio; might be different for another language, and therefore disappears. I'm not really sure how this, naming and renaming of submenus works. I'll look. Which language are you operating with? |
Author: | lapaloma [ 16 Jul 2014, 06:37 ] |
Post subject: | Re: Install Wine Programms under NX |
I am working with German Languages Ferdinand |
Author: | Moe [ 16 Jul 2014, 06:51 ] |
Post subject: | Re: Install Wine Programms under NX |
Amateurfunk Menu> Amateurfunk> EchoLink If it's not there double check for typos. |
Author: | lapaloma [ 16 Jul 2014, 07:03 ] |
Post subject: | Re: Install Wine Programms under NX |
I have changed the categories=Amateurfunk I cannot see the menu Amateurfunk in the Manta mewnu at all. It seems to have disapeared. How I can recuperate it. Ferdinand |
Author: | Moe [ 16 Jul 2014, 07:13 ] |
Post subject: | Re: Install Wine Programms under NX |
No, you don't change the file. You look for the menu entry Attachment: Navigatrix-Amateurfunk.png [ 58.48 KiB | Viewed 15236 times ] |
Author: | lapaloma [ 16 Jul 2014, 07:34 ] |
Post subject: | Re: Install Wine Programms under NX |
In the Manat menu I do not have Amateurfunk menu at all. So what to do now. Ferdinand |
Author: | lapaloma [ 16 Jul 2014, 07:39 ] |
Post subject: | Re: Install Wine Programms under NX |
in the September 2013 instalation in had a wine menu in the manta menu and under there Echolink was installed. This is now not there. But never the less the Manta menu has no Amateufunk menu Ferdinand |
Author: | Moe [ 16 Jul 2014, 07:48 ] |
Post subject: | Re: Install Wine Programms under NX |
Ok, are you telling me that with no typographical errors, the creation of the EchoLink.desktop file from the template of the Airmail3.desktop file removes the submenu for all the radio related applications? Try this: Code: sudo updatedb Code: locate EchoLink.desktop It should look similar to this:Quote: moe@fissionchips:~$ sudo updatedb If it's similar[sudo] password for moe: moe@fissionchips:~$ locate EchoLink.desktop /home/moe/.local/share/applications/EchoLink.desktop /usr/share/applications/EchoLink.desktop moe@fissionchips:~$ What happens when you delete that file? Code: sudo rm /usr/share/applications/EchoLink.desktop and runCode: sudo update-menus again?
|
Author: | lapaloma [ 16 Jul 2014, 08:12 ] | ||
Post subject: | Re: Install Wine Programms under NX | ||
I had a look in to the applications directory: If I dobble click on it it is telling me this is not a valid desktop file Ferdinand
|
Author: | Markus [ 16 Jul 2014, 08:29 ] |
Post subject: | Re: Install Wine Programms under NX |
I don't want to confuse the discussion but I had the same problem (SSB Radio/Amateurradio Menu entry dissapearing) twice after installing new software under NX 0.5 (see this post). For some still unkown reason the configuration file in which the menu entries are cached (under $HOME/.cache/menu) had become corrupted on both occasions. Attachment: menus_005.png [ 49.68 KiB | Viewed 15234 times ] You can open the most recent file in that directory in a text editor and check if the section for the SSB Radio menu is still in there. Somewhere in the lower third of the file should be a few lines that look like this: Code: ... +Hamradio SSB Radio CQ.png HamRadio.directory 4 -Airmail3.desktop Airmail Check you SSB eMails with Airmail /usr/share/pixmaps/airmail.png 13 Airmail airmail 2 0 -flarq.desktop Data Transfer Amateur Radio Data Transfer with ARQ and flARQ flarq 13 Data Transfer flarq 0 0 -fldigi.desktop Digital Modem (fldigi) Amateur Radio Sound Card Communications flDigi fldigi ... If you can't find these lines, I'm guessing you're in the same boat that I was in. The first time I had this problem it worked to simply delete the contents of the ~/.cache/menu directory and log out and in again. The second time that didn't do the trick and I had to create a new dummy user (which was set up with the correct cached config file) and then copy the content of the dummy user's config file into mine. If you can check if you are indeed missing the configuration section in the file in ~/.cache/menu I can give you step-by-step instructions on how to restore the contents of that file (in German if that helps). Gruss, Markus |
Author: | Moe [ 16 Jul 2014, 08:33 ] |
Post subject: | Re: Install Wine Programms under NX |
Attachment: Selection_020.png [ 20.63 KiB | Viewed 15234 times ] To figure out how to make it work, we need to find the parts that are different from the example and change them. Are you, by chance, using an older version? It is also possible my pointing out that the Airmail template had a redundant entry was confused for instruction or humour. |
Author: | lapaloma [ 16 Jul 2014, 10:36 ] |
Post subject: | Re: Install Wine Programms under NX |
Moe, I have repeated the process and it is working. But still have the problem that the HamRadio/Amateufunk menu is not coming up in the Manta menu. I have placed the program under the Manta menu development. it seems that all the menus are still in english in the program. I do not know some of the others by now. Many Thanks for your help Marcus, i need some help to get the HamRadio/Amateurfunk menu working. After it will work i will place the EchoLink there. If German language is possible it would be grat. Ferdinand |
Author: | Markus [ 16 Jul 2014, 13:22 ] |
Post subject: | Re: Install Wine Programms under NX |
@Moe: The instructions below simply describe how to get a "clean" menu cache file back into "~/.cache/menus". Hallo Ferdinand, nachfolgend das Prozedere, das fuer mich funktioniert hatte, um das "SSB Radio" Menue (und in meinem Fall zusaetzlich das "Navigation" Menue) wieder erscheinen zu lassen. Zunaechst die einfachere Variante (meine Menues sind in Englisch, aber das sollte einfach uebertragbar sein): [1] Den Dateimaneger oeffnen und unter "View" "Show hidden" aktivieren: Attachment: menus_006.png [ 56.98 KiB | Viewed 15228 times ] [2] Unter Deinem "Heim" Verzeichnis in das Verzeichnis ".cache/menus" navigieren. Dort sollten eine oder mehrere Dateien mit einem kryptischen langen Namen liegen: Attachment: menus_005.png [ 49.68 KiB | Viewed 15228 times ] Diese Datei sicherheitshalber kopieren (z.B. auf den Desktop) und anschliessend aus dem ".chache/menus" Verzeichnis loeschen. Falls Du mehrere Dateien in diesem Verzeichnis hattest, alle kopieren und loeschen. [3] Einmal ausloggen und wieder einloggen: Attachment: desktop 1_007.png [ 31.99 KiB | Viewed 15228 times ] [4] Beim Einloggen wird normalerweise die geloeschte Datei automatisch neu generiert. Nach dem erneuten Einloggen solltest Du entweder das komplette Manta Menu wieder haben ODER alle Menueintraege (ausser "Logout") sind verschwunden (falls die auomatische Neugenerierung scheitert). Falls letzteres der Fall ist, einfach die Sicherheitskopie vom Desktop wieder in das ".cache/menus" Verzeichnis zurueckschieben und noch mal kurz Bescheid sagen - dann kann ich hier die 2., etwas laengere Prozedur aufschreiben. Falls alle Menues verschwinden, sollte der Dateimanager immer noch ueber die Werkzeugleiste am unteren Bildschirmrand aufrufbar sein (zwecks Zurueckkopieren der Datei). Falls die Werkzeugleiste sich ebenfalls mysterioes verabschiedet, kannst Du gleichzeitig [Strg]+[Alt]+[T] tippen, um ein Terminalfenster zu oeffnen. Dort kannst Du dann Code: pcmanfm eingeben, um den Dateimanager manuell zu starten.
|
Author: | lapaloma [ 16 Jul 2014, 17:30 ] |
Post subject: | Re: Install Wine Programms under NX |
Ich habe es so geamcht wie Du angebene hast. Nach dem neu anmellden hat sich die Datei wieder generiert und folgede Menüs waren wieder da: Bildung Büro Entwicklung Grafik Internet Spiele Unterhaltungsmedien Zubehör Einstellungen Aisführen Abmelden Es hat sich also nicht verändert. Das Menü SSB Radio/Amateurfunk hat sich nicht aufgebaut. Anscheinend müssen wir den schwierigen Weg gehen. Ferdinand |
Author: | lapaloma [ 16 Jul 2014, 17:37 ] |
Post subject: | Re: Install Wine Programms under NX |
Hallo Markus, stelle fest, dass bei mir auch das Navigationsmenü fehlt. Also selbe Sitiuation wie bei Dir. Ist mir vorher gar nicht aufgefallen. Also haben wir hier viel Arbeit. Ferdinand |
Page 1 of 2 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |