Configuring context-sensitive menu - awesome-wm

I'm using the vertex theme from https://github.com/lcpz/awesome-copycats. However, I'm seeing several applications in the context-sensitive menu which I don't even have installed, and want to remove them. For example, AVAHI SSH Session, IntelliJ IDEA, and urxvt (tabbed). When I select any of these items nothing happens. If I install IntelliJ through my package manager (pacman on my arch system) then I get a second entry for IntelliJ and that one actually launches the program. Also it's annoying that Visual Studio Code is in the Accessories submenu. I want it in the Development submenu.

I finally figured it out by accident. I was just researching how to configure VLC media player skins, and on their website, they describe where to place the skins. Under $HOME/.local/share/applications I found a directory called jetbrains-idea-ce.desktop. I simply moved the "applications" folder to $HOME and restarted awesome wm. Now the old and icon-less IntelliJ entry in the context-sensitve menu is gone. Answering my own question for posterity in case someone finds it useful.

Related

Qt Creator not responding upon startup for a few minutes

Not a VERY big deal, but it's still annoying. Qt Creator shows Not Responding for a few minutes upon startup, then it's OK. What could be the reason? How to fix it? I have cleared my temp files, also have given Qt Creator admin rights. It still does not help. Below is the screenshot:
Tried disabling the welcome screen as per the suggestion. Now the welcome screen does not show up, but I still have the same problem:
The culprit is likely the "welcome" screen.
Go to help - about plugins and disable welcome.
Another source of delays might be due to an internet connection being unable to go through and waiting to time out.
It is normal if the first time Creator is started to take a little longer while scanning for external tools, but after the initial run it should not be a problem.
As the comment noted, it might be the case of a recently introduced issue, in the case you are running the affectd version - 4.6.1.
For those observing instances of the problem with versions 4.8 and upwards running on Windows 10, I can confirm Windows Defender having a role in it.
Disabling the Welcome Plugin does not always solve the problem, as this is also triggered by first-open of the File menĂ¹ (which populates Recent Files/Projects submenus) or often by simply hitting Ctrl+K.
My solution consisted in adding Qt Creator to the Windows Defender exclusion list.
This is done by navigating Windows Security -> Virus & threat protection -> Virus & threat protection settings -> Exclusions.
Then add a Process exclusion entry using the path to the Qt Creator binary directory, such as C:\Qt\qtcreator-4.9.0\bin\*.
Note the presence of the final \* bit, to whitelist all binaries in that directory.

JWrapper windows shortcuts broken

JWrapper support now redirects to StackOverflow, so I'm posting here.
The Windows shortcuts created by JWrapper don't work; they point to a location which doesn't exist; I can verify this by navigating to the directory pointed to in the properties of the shortcut:
C:\Users\jchrist\AppData\Roaming\JWrapper-SampleApp
and seeing that the expected SampleAppWinLauncher.exe isn't there.
I can reproduce this simply with a slight modification of the SampleApp. Open the jwrapper-sampleapp.xml file and copy main virtual app, but give it a different name:
<App>
<Name>SampleApp2</Name>
<LogoPNG>sampleapp/logo.png</LogoPNG>
<MainClass>jwrapper.SampleApp</MainClass>
<Param>one</Param>
<Param>two</Param>
</App>
If you do this, and then run the 32-bit offline installer, you'll get a dialog which allows you to select which of the two virtual apps you want to launch.
After selecting one of the (identical) virtual apps and quiting it, the shortcuts provided in the start menu in the SampleApp folder do not work. If you dig into the properties of the shortcuts, you can see they point to an executable which doesn't exist. (It did exist, but it deletes itself after the first run).
I'm using the latest JWrapper (jwrapper-00036138363.jar, although this problem existed with jwrapper-00035090611.jar) as well.
I've tested this on Windows 7 today and it works OK. I haven't tested this on server 2008 but Windows 7 is treated basically the same as Server 2008 by JWrapper. Also the executable disappearing after the first run is not normal behaviour.
My guess would be that this is antivirus software that is detecting the run as a false positive and deleting the executable. Do you have any AV software installed? can you turn it off to test?
Unfortunately some AV software will delete files etc without any warning.

Is there any other alternative way to see direct effect of changes made in plugin without UNINSTALL & INSTALL it again and again?

I am new to nopcommerce and I am developing a plug-in in it.
I have partially created my plug-in and meanwhile i have found that if i change anything in plug-in's code (View, model, controller, services, etc.) then i have to UNINSTALL my plug-in and then INSTALL to see the changes.
It is really tedious task to do.
Is there any other alternative way to see changes especially for designing view where we just need to set our designing.
If it is possible to see changes by just reloading it in browser then it will be great for all.
Please reply if anyone has any idea about that.
All answers are accepted.
Thanks in advance.
As far as I know all installed plugins are cached into memory so just overwrite .dll in Plugins folder and you can either
Restart your application with IIS/WebMatrix
Go to Admin > Configuration > Plugins and in top-right corner of the plugins view hit "Reload list of plugins"
"Restart application" or maybe even "Clear cache" in top-right corner of the admin page may work too. Try it out.
You should clean the solution and then build plugins after making changes to the code of the your plugin.
I have a batch-file that I run each time I want to deploy changes to my plugin on my local IIS. It may be overkill, but it works. I keep it on my desktop. When I want to test changes, I right-click and "Run as Administrator".
#ECHO OFF
ECHO Stopping IIS
iisreset /stop
ECHO Clearing Temporary ASP.Net Files (Server cache)
for /d %%i in ("%systemroot%\Microsoft.Net\Framework\*") do for /d %%j in ("%%i\Temporary ASP.Net Files\*") do RD /q/s "%%j"
for /d %%i in ("%systemroot%\Microsoft.Net\Framework64\*") do for /d %%j in ("%%i\Temporary ASP.Net Files\*") do RD /q/s "%%j"
ECHO Building MyPlugin
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /build Debug "C:\Path_to_Nop_Source\Plugins\MyPlugin\MyPlugin.csproj"
ECHO Deploying MyPlugin
xcopy "C:\Path_to_Nop_Source\Presentation\Nop.Web\Plugins\MyPlugin" "C:\Path_To_WebRoot\Plugins\MyPlugin" /D /Y
ECHO Restarting IIS
iisreset /start
ECHO Done
pause
When I ran into this problem I tried restarting everything starting with the app, then the app pool and even iis. Unfortunately it didn't work. What did work however was rebuilding the site again and copying it over again (mainly all the nop.core.dll, nop.web.dll etc.). I did copy the core dlls of the site the first time around too, but I guess the plugin was copied after those. I think the important part is that the core dlls need to be recompiled so they appear different to iis and cause the already loaded plugins to get unloaded from memory.
I'm quite sure that restarting the whole server would work too, but who would want to do that?
P.S. I was about to ask the same question, because I couldn't find this one while googling (probably because the title is a little too specific). I intended to name mine Plugin not updating after copying a newer version. What lead me to this question was the similar question block that appears when you write a question.
Update: So I discovered that sometimes rebuilding and replacing nop core libraries isn't enough. However in that situation using the "Reload list of plugins" option in admin panel did the trick. Another time I was trying to just use that option and it didn't work until I replaced the core libraries. So to reload a plugin one or both of those steps might be required.

Filezilla opens new aptana process

My problem is basically the same than this one but on windows 7:
How to open files of Filezilla in current open Aptana Studio 3
Every file that opened from Filezilla launch a new Aptana3 process, which crashes because the workspace is already used in the other instance.
I had the same issue before but can't remember how I solved it.
I have another computer with Windows7 where it works fine, I compared Filezilla and Aptana settings and they are all the same.
In Filezilla settings I have:
File Editing:
Use custom editor: [aptana path]
Always use custom editor
Filetype associations:
Inherit system filtype associations
Custom filetype associations is empty
Again, that works fine with the same settings on another computer...
Any ideas?
Thanks!
It is a bug in the program - Bug Discussion. Apparently there is a fix but to get to it you have to register at Aptana to view the workaround. Too many hoops and bugs for me so am going to uninstall Aptana and use Netbeans from now on.

Is there a way to have ClearCase display icons in the Windows Explorer to denote the state of files/directories?

For example, in TortoiseSVN, I can find out when a directory is out-of-date or checked out by looking at the images in the corner of the directory icon. However, I don't have that with ClearCase. Inside of Eclipse, I can see what I have checked in/out, but I'm not always inside Eclipse. It appears that I can right click on the file and I see "Check Out..." as an option if the file is not checked out and "Check In..." as an option if the file is checked out.
What I really want are images or icons to let me know visually what I have checked in and out through the Windows Explorer shell. Is this possible?
Currently, this is not done by any tool/plugin I know of, except for ClearCase Eclipse plugin (where a "recursive" option can be set, to show a "dirty" state on packages of a project if one of the files is checked out)
Since ClearCase is managed file-by-file, that would require a recursive request which may not be compatible with the speed a Windows explorer is supposed to refresh itself.
The best way I found to visually indicate which files are checked out or in is to set Windows Explorer to show file attributes for all of your ClearCase folders. Then you can determine which files are checking in or out by looking to see if the files are read-only or not. When the files are checked in, they are read-only; when they are checked out they are not read-only.
I wonder if it'd be possible to do it this way, with a little bit of Perl? Not particularly efficient, but it's a start...
Is there is a way to change a Windows folder icon using a Perl script?

Resources