i've been using ClipX on windows for quite some time, but it seems the latest version (which haven't been updated for quite some time) has some bugs, or perhaps it's windows 7 with something installed or used at the moment.
from time to time it did not catch all the "ctrl + c" events from text editors, so a couple of months ago i've moved to Ditto, which has much more features, yet at the same time can remain quite simple when in action. it can store a very large number of entries in a database that can be cleared any time and is still quite responsive when retrieving something (perhaps slightly slower that ClipX).
on the linux side of things, the only one i've tried is parcellite, which apparently to a majority of users is the best one out there.
perhaps future OS's will have native implementations of clipboard (history) managers pre-bundled.
--
Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts
Thursday, December 13, 2012
Friday, October 26, 2012
#windows 8 micro rant
i haven't seen or tried it yet, but i've seen some posts that people do not like the windows 8 new looks and mobile-like utilities. this new version seems like windows 7 with some mobile + touch screen extras, people say. what i'm sure however is that some of that can be disabled. here is an example for disabling the metro-ui:
http://techmell.com/how-to/disable-metro-ui-windows-8/
so things like metro-ui should not be the only reason not to get a certain peace of software, because there may be an option to disabled such. perhaps the price itself can be a reason - which is around 30euros.
i cannot say more about the OS itself as i haven't read something drastically negative yet...
if you a are a windows "fan" and simply don't like the number 8, stick to 7.
but if you are concerned about the price or anything else certainly try linux instead
--
http://techmell.com/how-to/disable-metro-ui-windows-8/
so things like metro-ui should not be the only reason not to get a certain peace of software, because there may be an option to disabled such. perhaps the price itself can be a reason - which is around 30euros.
i cannot say more about the OS itself as i haven't read something drastically negative yet...
if you a are a windows "fan" and simply don't like the number 8, stick to 7.
but if you are concerned about the price or anything else certainly try linux instead
--
Friday, August 24, 2012
#nightly builds of subsurface for windows
(EDIT: the repository no longer exists as subsurface provides nightly builds!)
subsurface is a mulitplatform dive log application that is written mainly by linus torvalds and dirk hohndel.
it's website is at:
http://subsurface.hohndel.org
and with a mailing list at:
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
for quite some time i have the program set up with all the required libraries for building with mingw on windows. i will be uploading regular updates of binary packaging at the following github repository:
http://github.com/neolit123/subsurface_win32
--
subsurface is a mulitplatform dive log application that is written mainly by linus torvalds and dirk hohndel.
it's website is at:
http://subsurface.hohndel.org
and with a mailing list at:
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
for quite some time i have the program set up with all the required libraries for building with mingw on windows. i will be uploading regular updates of binary packaging at the following github repository:
http://github.com/neolit123/subsurface_win32
--
Labels:
subsurface,
windows
Thursday, June 28, 2012
#win32: a tool to set the keyboard repeat rate
i have a windows 7 machine and every time it exits sleep mode it (re)sets the keyboard repeat rate to a very low value (i normally set the value to high). i believe this could be due to a small driver issue.
here is a command line tool that can be used to get/set the kb rate value (source code included):
setkbrate.zip
usage:
setkbrate n
where n is a number between 0 (slowest) and 31 (fastest).
calling with no arguments will output the current rate.
the way to use it when the system exits sleep mode is to set a new task scheduler task:
1) control panel -> system and security -> administrative tools -> task scheduler
2) right click the task list -> create basic task
3) for triggers, one way would be to try to capture the system "exit sleep mode" event:
- set trigger mode to "on an event", log: "system", source: "power-troubleshooter", id: "1" (should be 1, but has to be verified in the event log)
4) for the action select "start a program" then browse and set to "setkbrate.exe", while adding a numeric argument of 0-31.
--
here is a command line tool that can be used to get/set the kb rate value (source code included):
setkbrate.zip
usage:
setkbrate n
where n is a number between 0 (slowest) and 31 (fastest).
calling with no arguments will output the current rate.
the way to use it when the system exits sleep mode is to set a new task scheduler task:
1) control panel -> system and security -> administrative tools -> task scheduler
2) right click the task list -> create basic task
3) for triggers, one way would be to try to capture the system "exit sleep mode" event:
- set trigger mode to "on an event", log: "system", source: "power-troubleshooter", id: "1" (should be 1, but has to be verified in the event log)
4) for the action select "start a program" then browse and set to "setkbrate.exe", while adding a numeric argument of 0-31.
--
Wednesday, September 21, 2011
#windows 8 "enabled" pcs may be prevented from booting linux
in a recent post matthew garrett (via greg.k.h) explains that windows 8 may utilize UEFI secure booting and lock away all linux boot managers (or at least attempt to do so).
There is no centralised signing authority for these UEFI keys. If a vendor key is installed on a machine, the only way to get code signed with that key is to get the vendor to perform the signing. A machine may have several keys installed, but if you are unable to get any of them to sign your binary then it won't be installable.
full read here:
http://mjg59.livejournal.com/138973.html
a video presentation of UEFI booting (ironically in WMV format):
http://video.ch9.ms/build/2011/wmv/457.wmv
my opinion is that such a firmware setup may greatly reduce the choices for home users to purchase some new system and essentially limit their freedom if they are already using one of such due to certain circumstances. also software updates in signed boot managers might get prevented as well and therefore a firmware update will be required. but i do think that UEFI is a great peace of technology and that BIOS should be eventually replaced - sooner or later.
update 23.09.2011:
looks like microsoft responded to the issue, but apparently they do not provide enough evidence to contradict the available facts for the consequences of setting up a secure boot interface:
http://mjg59.dreamwidth.org/5850.html
--
full read here:
http://mjg59.livejournal.com/138973.html
a video presentation of UEFI booting (ironically in WMV format):
http://video.ch9.ms/build/2011/wmv/457.wmv
my opinion is that such a firmware setup may greatly reduce the choices for home users to purchase some new system and essentially limit their freedom if they are already using one of such due to certain circumstances. also software updates in signed boot managers might get prevented as well and therefore a firmware update will be required. but i do think that UEFI is a great peace of technology and that BIOS should be eventually replaced - sooner or later.
update 23.09.2011:
looks like microsoft responded to the issue, but apparently they do not provide enough evidence to contradict the available facts for the consequences of setting up a secure boot interface:
http://mjg59.dreamwidth.org/5850.html
--
Thursday, May 26, 2011
#listing files in a remote git repository
here is a small batch script for windows (msysgit) that will list the files from a certain branch in a remote git repository. i wrote the initial script some time ago because i wanted git have this functionality with a single cmd line, but finished it just yesterday.
git_lrt.zip
it works as follows:
if no branch is given 'master' will be used.
what it does is (if you want to port to linux bash for example):
- create local temp folder
- init a git repository in there
- add remote from url
- fetch objects
- list remote files for branch
- clear local temp folder (& repository)
you may find the script useful to check the contents before cloning a small repository to your local windows hard drive. it seems there might be a possible vulnerability in msysgit where files that are part of the repository can be written to system folders. an example that mr. tale gives:
cockos forum post
--
git_lrt.zip
it works as follows:
git_lrt some-url some-branch
git_lrt some-url some-branch > logfile.log if no branch is given 'master' will be used.
what it does is (if you want to port to linux bash for example):
- create local temp folder
- init a git repository in there
- add remote from url
- fetch objects
- list remote files for branch
- clear local temp folder (& repository)
you may find the script useful to check the contents before cloning a small repository to your local windows hard drive. it seems there might be a possible vulnerability in msysgit where files that are part of the repository can be written to system folders. an example that mr. tale gives:
cockos forum post
--
Monday, March 28, 2011
#TDM releases TDM-GCC 4.5.2-1
a couple of days ago (03-27) TDM has released x86 and x64 builds of their compiler suite based on GCC 4.5.2:
http://tdm-gcc.tdragon.net
http://tdm-gcc.tdragon.net
Friday, March 18, 2011
#stripping down the windows sdk 3.5
here are some notes on how to strip down the size of the windows sdk 3.5 if you only need the set of compiler and libraries. this is a straight copy-past from a recent forum post...
[post]
you can strip down the 3.5 sdk as follows:
- get setup.exe from here:
link
(notice what the title says: Windows SDK for Windows Server 2008
_and_ .NET Framework 3.5)
- destination "somedrive:\sdk_tmp"
- install only the following components:
developer tools -> windows headers and libraries
developer tools -> compilers
- copy "program files\microsoft visual studio x.x" to "somedrive:\msvc"
- copy "somedrive:\sdk_tmp" to "somedrive:\sdk"
- goto "somedrive:\sdk" and delete everything but "lib" and "include"
- inspect the files "somedrive:\msvc\vc\bin\vcvars*.bat"
- set path to "somedrive:\msvc\vc\bin"
- set your environment variables "lib", "include", "windowssdkdir",
"vsinstalldir" etc..
- strip further libraries and compilers you don't need (e.g. for IA64).
- uninstall the 3.5 sdk
depending on what you have deleted and kept you will end up with a footprint of 100-400mb, which is a realistic size for a set of cross-compilers and libraries.
on low level debugging:
- find a older build of windbg (6.11.1 or something) (~20mb)
- include debug symbols with /Zi (or linker /debug) in your object code.
- follow trivial debug procedures...
reports in the category of addr2line should be available
or use alternative debuggers / methods...
[eop]
lubomir
--
[post]
you can strip down the 3.5 sdk as follows:
- get setup.exe from here:
link
(notice what the title says: Windows SDK for Windows Server 2008
_and_ .NET Framework 3.5)
- destination "somedrive:\sdk_tmp"
- install only the following components:
developer tools -> windows headers and libraries
developer tools -> compilers
- copy "program files\microsoft visual studio x.x" to "somedrive:\msvc"
- copy "somedrive:\sdk_tmp" to "somedrive:\sdk"
- goto "somedrive:\sdk" and delete everything but "lib" and "include"
- inspect the files "somedrive:\msvc\vc\bin\vcvars*.bat"
- set path to "somedrive:\msvc\vc\bin"
- set your environment variables "lib", "include", "windowssdkdir",
"vsinstalldir" etc..
- strip further libraries and compilers you don't need (e.g. for IA64).
- uninstall the 3.5 sdk
depending on what you have deleted and kept you will end up with a footprint of 100-400mb, which is a realistic size for a set of cross-compilers and libraries.
on low level debugging:
- find a older build of windbg (6.11.1 or something) (~20mb)
- include debug symbols with /Zi (or linker /debug) in your object code.
- follow trivial debug procedures...
reports in the category of addr2line should be available
or use alternative debuggers / methods...
[eop]
lubomir
--
Tuesday, February 15, 2011
#win32: automatic backup script for 7za
here is a small batch script for windows that will periodically create a zip backup of a certain folder with 7za.
on the top of the 'backup.cmd' it is possible to set:
- source path (folder where 'backup.cmd' is by default)
- target path
- update period (minutes)
- excluded files and sub-folders (7za option)
- other compressor options
(for more information about 7za options see: '7za -h')
just check the above settings and place the file in the project folder you wish to backup.
the result will be written at the 'target path' as 'foldername_date_timestamp.zip'.
it can be easily modified so that another compressor is used.
download link
on the top of the 'backup.cmd' it is possible to set:
- source path (folder where 'backup.cmd' is by default)
- target path
- update period (minutes)
- excluded files and sub-folders (7za option)
- other compressor options
(for more information about 7za options see: '7za -h')
just check the above settings and place the file in the project folder you wish to backup.
the result will be written at the 'target path' as 'foldername_date_timestamp.zip'.
it can be easily modified so that another compressor is used.
download link
Monday, January 10, 2011
#re-packing gnu-nano-2.2.5 for use on certain win-xp setups
i'm a big fan of the gnu nano editor...of course its purpose is to be simple and fun to use, while not competing with other editors like vim, emacs, codeblocks, geany, gedit, etc...etc.
(i personally think that pspad on windows may be much stronger than a lot of these editors considering the install size / functionality trade off).
edit: also a nano-2.2.6 build is available at the bottom.
i wanted to try nano for win32, so basically i went to http://www.nano-editor.org/download.php and i've downloaded the latest windows build 'nano-2.2.6.zip'.
running it however spat out a nasty message 'redirection is not supported'. after some investigation (installing / compiling / running / disassembling / testing stuff and sending emails...) i've put together a older version package of nano - 2.2.5 that runs ok on my system.
here is a fuller story in the README.txt:
this is the gnu-nano-2.2.5 from cygwin (dll 1.7.7-1), stripped down with just
the cygwin terminal information and the basic needed dlls.
the reason that i created this package is that on my desktop pc running
windows xp sp2 i've got the message "redirection is not supported" and the
program did not work.
some disassembly debug on the included dll / exe's in the official
package revealed that the message is related to cygwin1.dll.
i've installed the latest cygwin, got the pdcurses for windows and compiled
them. unlike compiling pdcurses with mingw, with the gcc-cygwin i've got
"redirection is not supported" for all new test executables - which ment
that something is wrong with cygwin/pdcurses, but not exactly sure what
specifically.
unfortunately none of the people related to this issue which i've tried
contacting replied so i've quickly decided to redistribute this
'gnu-nano-2.2.5-winxp-fix.zip' package from my website.
so instead of persisting on this and eventually patching cygwin dll's (and wasting a lot of time in the process), which wouldn't actually be the greatest and of moral things to do, i'm redistributing the one compiled for the cygwin project with the appropriate license information from both parties.
here is a bug report that i've set to gnu-nano @ savannah:
https://savannah.gnu.org/bugs/?32077
here is the DOWNLOAD of the package:
gnu-nano-2.2.5-winxp-fix.zip
i still have no idea what the cause for this is, but i can confirm that the official nano-2.2.6 works ok on other people's windows installations.
**** UPDATE ****
i was able to compile 2.2.6 with ncurses under cygwin. here is a working snapshot, download this version instead of the one above if you would prefer:
gnu-nano-2.2.6-ncurses-5.7.18.zip
06052012: here is a native (but buggy) windows build attempt, explained in comments 4-5 bellow:
gnu_nano_2.2.6_pdcruses_win32_native.zip
lubomir
(i personally think that pspad on windows may be much stronger than a lot of these editors considering the install size / functionality trade off).
edit: also a nano-2.2.6 build is available at the bottom.
i wanted to try nano for win32, so basically i went to http://www.nano-editor.org/download.php and i've downloaded the latest windows build 'nano-2.2.6.zip'.
running it however spat out a nasty message 'redirection is not supported'. after some investigation (installing / compiling / running / disassembling / testing stuff and sending emails...) i've put together a older version package of nano - 2.2.5 that runs ok on my system.
here is a fuller story in the README.txt:
this is the gnu-nano-2.2.5 from cygwin (dll 1.7.7-1), stripped down with just
the cygwin terminal information and the basic needed dlls.
the reason that i created this package is that on my desktop pc running
windows xp sp2 i've got the message "redirection is not supported" and the
program did not work.
some disassembly debug on the included dll / exe's in the official
package revealed that the message is related to cygwin1.dll.
i've installed the latest cygwin, got the pdcurses for windows and compiled
them. unlike compiling pdcurses with mingw, with the gcc-cygwin i've got
"redirection is not supported" for all new test executables - which ment
that something is wrong with cygwin/pdcurses, but not exactly sure what
specifically.
unfortunately none of the people related to this issue which i've tried
contacting replied so i've quickly decided to redistribute this
'gnu-nano-2.2.5-winxp-fix.zip' package from my website.
so instead of persisting on this and eventually patching cygwin dll's (and wasting a lot of time in the process), which wouldn't actually be the greatest and of moral things to do, i'm redistributing the one compiled for the cygwin project with the appropriate license information from both parties.
here is a bug report that i've set to gnu-nano @ savannah:
https://savannah.gnu.org/bugs/?32077
here is the DOWNLOAD of the package:
gnu-nano-2.2.5-winxp-fix.zip
i still have no idea what the cause for this is, but i can confirm that the official nano-2.2.6 works ok on other people's windows installations.
**** UPDATE ****
i was able to compile 2.2.6 with ncurses under cygwin. here is a working snapshot, download this version instead of the one above if you would prefer:
gnu-nano-2.2.6-ncurses-5.7.18.zip
06052012: here is a native (but buggy) windows build attempt, explained in comments 4-5 bellow:
gnu_nano_2.2.6_pdcruses_win32_native.zip
lubomir
Wednesday, June 9, 2010
#mingw: TDM releases TDM-GCC 4.5.0
twilight dragon media (TDM) has just released GCC 4.5.0 for windows (32 bit /64 bit).
http://tdm-gcc.tdragon.net/
edit: i've noticed a 2x times increase in file size for tdm-4.5.0 compiled binaries over the same with tdm-4.4.1.
http://tdm-gcc.tdragon.net/
edit: i've noticed a 2x times increase in file size for tdm-4.5.0 compiled binaries over the same with tdm-4.4.1.
Sunday, April 4, 2010
#send to cmd.exe
here is an useful trick. wonder if you can always right click a file under windows and open the file location in a command prompt?
on win xp. navigate to:
"[Drive]:\Documents and Settings\[Username]\Sendto"
on vista or 7 the folder should be at:
"[Drive]:\users\[Username]\AppData\Roaming\Microsoft\Windows\SendTo"
create a new file called "SendTo.cmd", place the following line of code inside it and save:
what this commands does is:
echo off, open cmd.exe with ansi output, carry out a command and remain, change directory to the first input file's drive and path
now every time you right click a file or a folder and call "Send To -> SendTo.cmd" you will have a command prompt with its parent folder open.
for example:
right clicking + "sendto.cmd" any file or sub-folder in "c:\windows\system32\"
will open a command prompt showing:
"c:\windows\system32>"
lubomir
on win xp. navigate to:
"[Drive]:\Documents and Settings\[Username]\Sendto"
on vista or 7 the folder should be at:
"[Drive]:\users\[Username]\AppData\Roaming\Microsoft\Windows\SendTo"
create a new file called "SendTo.cmd", place the following line of code inside it and save:
@cmd /a /k cd /d %~d1%~p1what this commands does is:
echo off, open cmd.exe with ansi output, carry out a command and remain, change directory to the first input file's drive and path
now every time you right click a file or a folder and call "Send To -> SendTo.cmd" you will have a command prompt with its parent folder open.
for example:
right clicking + "sendto.cmd" any file or sub-folder in "c:\windows\system32\"
will open a command prompt showing:
"c:\windows\system32>"
lubomir
Subscribe to:
Posts (Atom)
