Looking to change the size of the cursor in CentOS 5.8 XDM.
We have changed the cursor file in /usr/share/X11/fonts/misc/cursor.pcf.gz to no avail. We have also tried using xcursorgen with a PNG and .cursor config file, again to no avail.
Perhaps there is a way in which we can point the system to our new big black cursor that we have created?
Many thanks.
You can copy the contents of an existing theme into /usr/share/icons/default and that will be picked up when the X-server is restarted. This will keep the cursor theme when using the MWM theme. I'm not sure about other themes.
Related
I'm actually wondering how you can control the icon size (or generally: which icon to use?) for a 'classic' WPF application appearing in the Windows 10 start menu as a tile shortcut.
I only found very few posts like this one on SO, but the only answer one gets is that the corresponding mechanisms are only implemented for 'modern' Windows apps. This may be true in terms of live tiles and manifest-based definitions.
However, there has to be a way of triggering 'bigger' icons. Specific example: I have built an WPF application that, when pinned to the start menu, only shows up with a small icon in it. This is the case for all 'classic' applications - see attached image of a shortcut to the 'Orca.exe' db editor. I do believe in a way to achieve bigger icons because I noticed the Mozilla Thunderbird application (which is a 'classical' application) shows up with this one (custom background color and big icon size).
Is there anyone who understands how to achieve this and may share his knowledge? I already extracted the used icons from executables/shortcuts and compared them, but both only provide standard icon sizes up to 256px, no difference there.
Thanks!
This is actually pretty simple, but I remember having a hard time myself finding the documentation (or realizing that this is perfectly working for 'classic' applications):
Reference: MS docs - How to customize Start screen tiles for desktop apps
You can control the described behaviour and appearence of start menu tiles with a xml file called [Software].VisualElementsManifest.xml, where [Software] has to be replaced by the name of the .exe file (without extension), e.g. thunderbird.VisualElementsManifest.xml. As you already mentioned it, you can peek into the Thunderbird folder for a working example of it's content. Basically it looks like this:
<Application xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<VisualElements
ShowNameOnSquare150x150Logo='on'
Square150x150Logo='VisualElements\VisualElements_150.png'
ForegroundText="dark"
BackgroundColor="#FF0000"/>
</Application>
You can even provide additional options and assets for proper scaling, localization and accessibility by creating proper ressource files, documentation from MS has step by step instructions for this.
Note that the documentation warns about it's deprecated content. I don't know how long this work or if they are planning to completely remove this way of tile specification in the future, however it went perfectly fine on all version of W10 so far.
Note #2: If you're trying this out with an existing installation/shortcut, you have to refresh the modification timestamp of the corresponding shortcut and then unpin/pin the tile again, otherwise the shell won't notice the new definition file existance. Simplest way to do so in PS (run as admin when modifying shortcut in the system folder):
(ls "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\[ShortcutName].lnk").lastwritetime = get-date
or from CMD within the destination folder:
copy /b [ShortcutName].lnk +,,
Environment: Windows, Java-Application with JxBrowser control (Swing)
Since 6.12 we have the issue that a saved file does not appear in the target directory. The dialog opens, path can be choosen, but after hitting the save button, nothing happens.
There are no error messages.
This worked without problems with 6.8.
The file that should be saved is served by our java backend.
Any ideas?
I have the same problem. It seems that the location set by the method setDestinationFile() in class DownloadItem does not take effect and the file is always saved to the default location.
This problem does not appear in 6.11.1 version.
Hope my answer would help and looking forward to a solution.
When I need to input a path in Codename One preferences, for example to set up the icon or the certificates to use, I use the browse button. However the path that is then filled up in the associated field leads to the jre (java runtime environnement) folder instead of the parent folder of the file I selected.
Moreover the path is preceded by "file:" where it should not be there.
Here is an example to make it clearer :
As a workaround I manually paste the folder path where the file I want to use resides, and then paste it in the field. So as it is a little bit annoying, I was wondering if I could do something to make it work as it should ?
Please note : my setup involves Eclipse Mars running under Linux 64 with Oracle's Java 8 JDK.
Any help appreciated,
This seems to be related to this issue, I wasn't able to reproduce it in full although I did fix the file: prefix. The paths I got were correct despite all my attempts.
My only guess is that this might be an issue that affected an earlier version of the tool so I've added a version number to the title (1.13 in my current version). If this still happens in the next plugin update and the title of the preferences is 1.13 or newer I'd like to know.
Freshly installed drupal 7 and omega theme. I copied the omega-html5 to sites/all/theme folder and made changes to info file as per instructions. Then i changed the css files names. I refreshed the appearance page and my theme showed up. I enabled and set default. Alpha and Core are disabled. When i clicked the setting options, screen showed just the mark up language and nothing else.
My System is vista running Apache 2.2.16 PHP 5.3.17 and mySql 5.
What i have tried but no solution,
Clear the cached
Enabled one by one and both (Alpha and Core
Omega theme)
Changed PHP memory to 128 to 256 MB
Previously
tried the Omega tools to create subtheme,
Same Mark up shows when i tried setting after enabling and set default the Omega Core Theme but when i set default the Alpha theme of Omega I can see the settings.
I really like the GUI feature of the Omega Theme and wish to use it but this problem is making me BALD(as i am pulling my hair out)
Thanks in advance,
(Just tried and found that if i use Alpha-xhtml starterkit it works fine but not sure should i use it?)
Each subtheme must have unique configuration. For example if your subtheme's name is "mytheme" then you should have:
theme's folder name: mytheme
theme's info file: mytheme.info
CSS files must be set in the mytheme.info file with their names.
Also, the base_theme must exist on the themes folder!
For some strange reason, when I move a PHP file from one folder to another, Vista copies an old version of the file instead of the current version. This really screws up the web application I'm working on and causes me to waste time in figuring out the problem.
What the hell is going on here and how do I prevent Vista from copying or moving previous versions of a file?
To explain a little further, when I open my PHP file in its current location I see the current version of my code. When I copy the file to the new location and open the file I see an old version of the code.
Check \UserName\Documents\AppData\Local\VirtualStore (or whatever %LOCALAPPDATA%\VirtualStore equates to) and see if somehow you're running into Vista's virtual store with your editor.
(This article explains some of how the virtual store works.)