[SOLVED] Running wine prog from Openbox menu
Hello everyone. I was wondering if there's a way to run a program installed through wine from the openbox menu? The problem I'm having is that you have to be in the directory with the .exe in order to run it properly. I can run it fine from the terminal but not openbox.
I've tried the suggestions here: http://crunchbang.org/forums/viewtopic.php?id=24893
Any ideas?
Last edited by Somnus (2013-12-28 01:37:39)
Probably the best formal way to do this is by creating a .desktop file for your Wine application and putting it in the ~/.local/share/applications directory.
In this file you would specify a Path key to change to the .exe directory, and then the Exec key to run: wine /path/name.exe etc
In the Openbox menu you'd then make an entry which runs a command - like xdg-open - which can launch the .desktop file.
(My own launcher fyr can do this, for example, but there are others.)
Using .desktop files is the "modern" way to launch applications!
Similar Messages
-
[SOLVED] Freezing while executing /usr/bin/openbox from Openbox menu
I'm following the instructions in this webpage to create a dynamic menu. I have successfully achieved this on my laptop by installing the openbox-menu package and typing the following lines in menu.xml:
<menu id="desktop-app-menu" label="Applications" execute="/usr/bin/openbox-menu lxde-applications.menu" />
For some reason, the same doesn't work on my desktop PC. After editing and saving the menu.xml file, I restart Openbox and when I right click the desktop and hover the "Applications" menu item the desktop freezes. However, I can still move the mouse and switch to other ttys with Ctrl+Alt+Fx, therefore I believe it's reasonable to suggest that the problem lies in the permissions.
What should I do about it?
Last edited by Martificiam (2013-02-03 11:29:21)Umm, that's not "some random" webpage at all... It worked on all of my Arch Linux installations. The "lxde-applications.menu" is just an argument. But thanks for the link, I'll look into it.
It's just that it's more of a workaround, not a solution, really... since it has ALWAYS worked for me.
Furthermore, while setting up Arch on my laptop I remember experiencing similar problems (running a particular program from the openbox menu and resulting in a desktop freeze). This must have something to do with permissions.
Edit: the xdg_menu worked perfectly, but I would still prefer to use the openbox-menu. I'm marking this as solved anyway.
Last edited by Martificiam (2013-02-03 11:29:06) -
[SOLVED]Root Privilege Command in Openbox Menu
This is my first post as a arch user, and I just thought I would start by saying hi!!!
Anyway, I have recently moved from CrunchBang linux 9.04 to Arch linux. I have setup an openbox session as my default. I have gotten everything to work so far except for one thing:
Lets say you something to the openbox menu, like gparted. Gparted requires root privilege to run. Under ubuntu/debian, I would simply use "gksu gparted" as the command because that would prompt me for the password and then run the program. I am not aware of any way to do such a thing in arch linux. Is there a simple way to do this?
-thanks
Last edited by Dr Belka (2010-04-04 17:54:48)You're in Arch country now, boy. You want fancy gksu, you pacMAN up and install it.
Also note gksu comes with gksudo so you can use your password rather than roots - assuming you're in the sudoers file.
Last edited by Mardoct (2010-04-04 17:53:15) -
Run java program from start menu
Does anyone know how to write a class so that when a user is running my program for the first time they can run an installation file that will put a shortcut to my bat file in the start menu.Know of any place i can get info on setting up an installation class or something similar.
If you could give me some info would greatly appreciate it,it's my first time doing anything this big and not really sure where to start with writing an installation fileIf your program is just for windows then giving the user an exe instead of a .bat file will help.
http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm
Your user will either need to have a JVM installed on their machine or you will need to provide one with the application. If you intend to provide one, the licence doesn't allow you to install it on to the target machine, but you can place the java dir in your directory structure and access the java/javaw command by a relative path (see the help on the above site for that)
Once you have a directory structure set up for your application, you can use any comercial intall program to give give you a setup.exe file or whatever. if you are providing the VM with your distribution, then the file will at least 14MB plus your class and resource files. If you read the licence agreement for distributing the VM, it tell you what files can and can't be removed from it to make the file a bit smaller. For instance, you can remove webstart because you won't be using that.
search http://www.download.com/ for installers. I think there are a few ad supported ones if you don't want to pay -
Remove wine trash from context menu
If I right-click on most files in linux, there is all kinds of wine options there that I do not want. Namely, notepad (2 instances), Internet Explorer, etc.
How do I get rid of it without uninstalling wine? I am using XFCE with PCMANFM as desktop manager.I know the feeling, bro. It's like Wine crapped all over my system too.
In Dolphin, for .txt files, I have TWO "notepad" entries!
Even for avi and mkv files I have a "notepad" entry in there (not by default, obviously). What the hell.
.jpg files have a "Wine Internet Explorer" entry but .html files don't? Unbelievable...
Too bad pacman doesn't delete their config files when you uninstall programs. Because I got rid of Wine a long, long time ago and I just couldn't be bothered to search how clean up the context menu leftovers. Hmph. It's about time I reinstalled Arch anyway (switching to x86_64). Now I know not to install Wine ever, EVER again. VirtualBox all the way, baby!
Last edited by DSpider (2012-02-17 20:06:19) -
How to run concurrent program from a menu
Hello, I have a responsibility menu and want to enable the user to run a concurrent request by clicking on a menu function. Say I have a prompt called "Payslip Report", clicking on it will now run a concurrent program called "Payslip Report" but the user will now have to enter the parameters for the report.
How do I achieve this?Hi
You can achieve this defining a new function for the standard submissions form with parameters to specifically launch the payslip report, and even specify values for its parameters. Information can be found on System Administrator Guide under the "Customizing the Submit Requests Window" topic. The steps would be:
- Create a new function using the Standard Request Submission Form (FNDSRS)
Give it a meaningful name such as Launch Payslip Report, specify form as type and the user form name of the FNDSRS form
Use the following parameters, specifying as values the short name of the payslip report and the application it belongs to:
CONCURRENT_PROGRAM_NAME=PAYSLREP PROGRAM_APPL_SHORT_NAME=PAY
- Use your new function in Your menu and assign the prompt "Payslip Report" -
Running Report Directly from SAP Menu
Hi ,
I have to know that , I have created a report and given it a transaction code . There is also a standard report which output almost the same result .
Now I want that standard report not to be shoen in the SAP menu on the left hand side and instead of it I want My reports transaction code to be visible so that the enduser is at an ease not to remember the Transaction code to run that report .
So how can I go for it ?
PLease advice .
Thanx & RegardsHi,
Have you looked transaction and screen variants (SHD0) or GuiXT solution?
For more information, please check this links.
http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639fb015111d396480000e82de14a/content.htm
http://www.synactive.com
http://help.sap.com/saphelp_erp2004/helpdata/en/89/91b9d8194f11d5b3a30050dae02d7c/content.htm
http://service.sap.com/guixt
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Run powershell script from context menu
Hi guys!
I do not know if what I'm going to
ask you is achievable.
This is what I want:
when I click with the right mouse button
a file, possibly with certain extensions,
the context menu appears, and
here I would to create an
object that can run the script that I have created
and assign as an argument the selected file.
It would also be necessary that such an object is
similar to the"send to" button.
Browsing the net I had found the
script to create such an object, however,
I have no idea on how to implement it
and then how to run my script.
ThanksHi jrv!
Initially, I will try to follow your suggestion but I'd prefer to use some automation, possibly related to powershell as required, because i must do this thing on many computers.
Thanks
A
Y((ou would do that with Group Policy as it is just a registry update.
¯\_(ツ)_/¯ -
Im getting an error when I run Wine progs. and winecfg
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
I get this message everytime, is there a way to fix this? I searched the web a litle bit, but I didn't find anything helpful.
My apps. crashes sometimes random and im wondering if there's a connection.i was using kernel 2.6.19-beyond and i switched it to kernel 2.6.20 (not beyond) and it ended my problem.
-
How to run report from context menu using XML Extensions?
I have found an example how to run SQL command from context menu:
<items>
<folder type="TABLE">
<name>UserDefined ContextMenus</name>
<item TYPE="TABLE" reloadparent="true">
<title>Create SYNONYM</title>
<prompt type="check">
<label>PUBLIC</label>
<value>PUBLIC</value>
</prompt>
<prompt>
<label>NEW SYNONYM NAME</label>
</prompt>
<sql>
<![CDATA[CREATE #0# SYNONYM #1# for "#OBJECT_OWNER#"."#OBJECT_NAME#"]]>
</sql>
<help>
This action create a SYNONYM (optionally public) for the selected table.</help>
<confirmation>
<title>Confirmation</title>
<prompt>SYNONYM "#1#" for "#OBJECT_NAME#" has been created.</prompt>
</confirmation>
</item>
</folder>
</items>
</prompt>
But instead of executing SQL command I need to show result page of report based on SELECT statement.Hi dz_r-
Not sure exactly what you mean by "result page of report", but extensive documentation on the xml schema defining context menu actions is available at the schema location.
<items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs"
xmlns="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs">
<!-- your declarations here -->
</items>
Brian Jeffries
SQL Developer Team -
I've started tweaking my openbox box and the first thing to do was a simple script to run netcfg from openbox menu. You can grab it here: http://gist.github.com/160147. It can only activate an inactive profile or deactivate an active one (it's enough for me).
And I've encountered a strange issue. You may notice that I use xterm for desplaying netcfg output and in case of success xterm waits for 2 seconds to close. Without that after putting the profile down from menu subsequent calls to netcfg may claim that the corresponding interface is busy and fail. Even with that delay often subsequent calls to netcfg will complain of the interface being busy but will succeed. So, what am I doing wrong? What is the safe way to run netcfg in my case?Well, I hope, that was not my fault: http://bbs.archlinux.org/viewtopic.php?pid=596519
UPD: Still, I should try something like
bash -c ". /usr/lib/network/network; . /etc/rc.d/functions; profile_up ...
UPD: Just the same issue with the above command. And netcfg-tray often hangs the interface too.
Last edited by Mr.Cat (2009-08-06 23:04:26) -
How to call a report from a menu ?
I am converting 6i client/server forms to 9i.
I have a menu that has an option on it to run a report for each menu item selected using RUN_PRODUCT.
9i is making this obsolete, so how can I call a report from a menu (not a form) now then ?
In a form it is fine cos I just use the Report Object - a menu does not have this facility.
Thanks in advance.Hi,
so here is how this should be done:
1. Create a Reports node in the Forms module that uses the menu (you don't have to create one Reports Object for each report that you want to run)
2. From the menu, before calling Run_Report_Object() use Set_Report_Object_Property() to set the phsical file name of the Reports that should be executed. This is kind of best practice and does not have a performance hit.
There is a bug filed against Forms to extend the menu files with a reports Object node. This could require a change to teh file structure which is why we looking for Forms 10i to implement this. (If it turns out that we can have it without recompiling the menu modules then it may go into a patch set - however this seems unlikely from my point of view)
Fran -
Starting NetBeans via gmrun or openbox menu hangs X11
Hi!
The same problem takes place when I start NetBeans with gmrun or openbox menu (at all cases the same bash script is used). NetBeans itself starts without problems. But then I start NB project application (it is Scala project at my case), and X11 hangs. I still am able to switch to console via Ctrl-Alt-F1 and terminate X11 with Ctrl-C.
If I start NetBeans from terminal or bashrun, all works fine. ~/.xinitrc contains just 'exec ck-launch-session openbox-session'.
Where to dig in?At my case the problem isn't related to gnome-keyring. And I don't use GNOME.
I was forced to reject openbox at all (starting from openbox menu results in the same problem) and have returned to KDE. All is fine now. -
"Running" openbox menu?[SOLVED]
Is it possible to issue a command to open the root openbox menu(then menu that pops open on desktop right click)? I want to use that as a button in pypanel... Thanks for your time in advance.
Last edited by isolier (2009-01-24 17:56:45)I asked myself the same question and found a great application called xdotool. I added it on AUR. One of its usage is to simulate a keypress. Simply add this code somewhere in the <keyboard> section of your rc.xml:
<keybind key="A-C-q">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
Then, just lauch your menu with:
# xdotool key ctrl+alt+q
A launcher in pypanel would look something like this:
LAUNCH_LIST = [
("xdotool key ctrl+alt+q", "/usr/share/pixmaps/openbox.png"),
Of course, you can change the keyboard shortcut, etc...
Hope this helps.
-T
Last edited by rttommy (2008-01-30 00:23:26) -
[SOLVED]XFCE 4.8 remove WINE generated apps from the menu
I want to remove the following entries from the menu.
MOD EDIT -- Follow image posting rules -- Inxsible
The only methods I found were to edit .desktop files (I couldn't find any) or to permanently remove "Others" category.
Last edited by sbfreak (2011-04-05 19:59:44)skunktrader wrote:
sbfreak wrote:The only methods I found were to edit .desktop files (I couldn't find any)
The desktop files should be located in ~/.local/share/applications
Thank You. Didn't think they were actually in my home folder.
Maybe you are looking for
-
I have Acrobat Pro 9 and Macbook with no CD drive
I've seen other threads about this with no resolution. I got as far as a page here on Adobe and found Acrobat Pro 9 "unavailable" to download. Arghh...I have my serial numbers (small business with only 3 of us, and need it on my home laptop, but can'
-
NEW Intel iMac: how to access ampersand?
I just bought a new iMac for my daughter and we can not figure out the key combination required to type the '@' (ampersand) key. Someone please tell us, how do you type the ampersand on this new keyboard? It is not at all like previous Apple keyboard
-
HT3576 how do I turn off the apps running in the background on my I phone 5 with the new ios 7
How do I turn off the apps running in the background with my Iphone 5 with the ISO7 ?
-
Interfacing of weigh bridge to SAP system
hi guy's, our client receiving the raw material by the trucks, so they required the interfacing the weigh bridge to std SAP system. plz light on this scenario, thanks in advance mohan.m
-
Making ssrs realize my first row is headings
Hi. We run 2012 enterprise. I seem to lose my heading row sometimes in designer when playing with row groups. So I've resorted to inserting a row below the upper boundary of the tablix and just keying the column headers into the new cells when tha