You are not logged in.
Hi,
I can't manage nicely a Win app in LXDE. For instance, I've got this (~/.local/share/applications/RH_Dictionary.desktop), created by KDE Menu Editor:
[Desktop Entry]
Comment=
Exec=LANG=ru_RU.UTF-8 wine /home/alexey/common/WinApps/random/rhudwcd.exe
GenericName=Random House Dictionary
Icon=accessories-dictionary
Name=RH Dictionary
NoDisplay=false
Path[$e]=$HOME/common/WinApps/random
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
I put it into ~/.config/lxpanel/LXDE/panels/top, like this:
Plugin {
type = launchbar
Config {
Button {
id=/home/user/.local/share/applications/gparted.desktop
}
Button {
id=/home/user/.local/share/applications/RH_Dictionary.desktop
}
}
}
but no, it won't run. gparted, for instance, created by the same KDE menu editor, runs fine.
[Desktop Entry]
Categories=GNOME;System;Filesystem;
Comment=Create, reorganize, and delete partitions
Exec=kdesu /usr/sbin/gparted %f
GenericName=Partition Editor
Icon=gparted
Name=GParted
NoDisplay=false
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
_X-GNOME-FullName=GParted Partition Editor
Any suggestions?
Last edited by Llama (2010-12-13 11:42:53)
Offline
Bump. Probably I've got problems with Google, too. Nothing of note shows up. Sounds impossible, doesn't it?
Offline
Found this example.
Modified my ~/.local/share/applications/RH_Dictionary.desktop file:
[Desktop Entry]
Comment=
Exec=/home/alexey/.local/share/applications/RH_Dictionary.sh
GenericName=Random House Dictionary
Icon=accessories-dictionary
Name=RH Dictionary
NoDisplay=false
Path=/home/alexey/common/WinApps/random
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
It shows tooltip "RH Dictionary", and a nice icon, but nothing else.
~/.local/share/applications/RH_Dictionary.sh file:
#!/usr/bin/bash
cd /home/alexey/common/WinApps/random
LANG=ru_RU.UTF-8
exec wine rhudwcd.exe
Started this way,
$ bash RH_Dictionary.sh
it works.
Can it be a scripting problem? I'm no expert.
Last edited by Llama (2010-12-13 20:20:16)
Offline
Scripting it is. #!/bin/bash and a permission to run. Shame on me...
By the way, why does it run
$ bash RH_Dictionary.sh
way without a proper permission?
Last edited by Llama (2010-12-13 11:50:31)
Offline