Monday, 25 September 2017

ubuntu - Search for menu bar commands on Windows 7

Ubuntu's Unity interface has a feature called "HUD" that allows the user to search for commands in the menu bars of all applications. Is similar software available for Windows that can do the same thing (i. e., allow the user to enter a search query, and then display relevant menu bar commands?)

command line - Open man-page with less




Possible Duplicate:
How to let man utility to use less to display manual rather than more?



How can i open up the Man-page for a command with the less-editor?


Alternatively, how can i find the man-page on the harddrive


I've tried using the manpath command but that doesn't seem to exist on solaris. Maybe there is a command to search for the manpage somehow?



Answer



The man command uses less by default. See man man (hehe). If yours doesn't, you could simply use a pipe like this.


man myCommand | less

Is there any way to suppress the Excel 2007 warning "in a different format than specified by the file extension"?


We have an application that exports data using the older Office XP/2003 XML Spreadsheet format. These files are saved with a .xls extension so that they can be launched directly, without having to know the installation of Excel.


This has worked extremely well for us up until now. However, we have just recently upgraded to Office 2007, and when we launch these .xls files directly, Excel 2007 shows a warning message:



The file you are trying to open, 'file.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?



I have already tried adding the location of the file to the "Trusted Locations" in Excel, but the warning message still comes.


Is there any way to suppress this message?



Answer



1) Exit Excel 2007.
2) Start Registry Editor.
3) Locate and then click the following registry subkey:



HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security



4) On the Edit menu, point to New, and then click DWORD Value.
5) Type ExtensionHardening, and then press ENTER.
6) Right-click ExtensionHardening, and then click Modify.
7) In the Value data box, type 0, and then click OK.


The following list contains the value data settings that are appropriate for the ExtensionHardening setting:



0: Do not check the file name extension and the file type, and bypass the function of the warning message.
1: Check the file name extension and the file type. If they do not match, display the warning message.
2: Check the file name extension and the file type. If they do not match, do not open the file.



Note: The default value data is 1. When the value data is set to 1, the behavior becomes the same as when no registry value is set. When the value data is set to 0, the file name extension and the file content are not checked in all situations. It is not recommended bypassing this function.


8) On the File menu, click Exit to exit Registry Editor.


linux - Terminal that supports the ANSI italic escape code?


I would like to replace GVim with Vim in the terminal. One of the nice things about GVim is that it is able to display text using italics.


Vim allows setting an ANSI escape code for italics (\e[3m), but this does not work in Gnome Terminal. Is there a terminal emulator that supports the ANSI escape code for italics?



Answer



I've tested a number of terminal emulators with echo -e "\e[3mfoo\e[23m" as suggested here. I went through the Arch wiki list, testing emulators in the official repositories.


Support italics



  • konsole 15.04.3

  • rxvt-unicode 9.21

  • tilda 1.2.4

  • xterm 318

  • gnome-terminal 3.16.2

  • pantheon-terminal 0.3.1.1

  • yakuake 2.9.9

  • roxterm 3.1.3

  • sakura 3.3.0

  • termite 10

  • mlterm 3.3.8

  • terminix 1.0.0

  • terminator 1.91

  • xfce4-terminal 0.8.5.1


Do not support italics



  • guake 0.7.2

  • lxterminal 0.2.0

  • rxvt 2.7.10

  • terminology 0.8.0

  • lilyterm 0.9.9.2

  • mate-terminal 1.10.1

  • xfce4-terminal 0.6.3

  • KiTTY 0.64.0.4

  • PuTTY 0.65 Beta


memtest86+ - How many passes are enough with Memtest?

My computer hangs at random on multiple occasions and on different OSes today, requiring me to hit the reset button. I suspect it could be a memory problem and did a memtest with memtest86.


It went through two passes with no errors. Is that enough, or do I need to run through overnight until I see an error?


What if it is a motherboard or CPU issue? How do I know without getting a new motherboard?


System Specifications:



  • Memory: 2.0GiB

  • Processor Pentium(R) Dual-Core CPU E5300 @ 2.60GHz x 2

  • Motherboard: ASUS P5KPL-AM EPU

Stop Windows 8.1 automatically updating the Intel HD Graphics 4000 driver


I have an HP Pavilion g6-2197sa laptop running Windows 8.1. The laptop originally had Windows 7, but I upgraded to 8. When I upgraded again to Windows 8.1, my Intel HD Graphics 4000 driver stopped working. The device status reported in the driver properties window showed this message:



Windows has stopped this device because it has reported problems. (Code 43)



This problem occurs for all variations of version 15.X (10.X) of the Intel HD Graphics 4000 driver that I have tried, including the latest version, currently 15.33.35.64.4176 (10.18.10.4176). This problem causes numerous issues with functionality, such as preventing external monitors from working.


However, I discovered that an older version, 9.17.10.2867, does work. I thought that was the problem sorted, but after every time I install this driver, the later version 10.X is reinstalled automatically again, usually after I reboot or even sleep/unsleep.


The way I install version 9.17.10.2867 each time is by going to Device Manager > Intel(R) HD Graphics 4000 > Update Driver Software > Browse my computer for driver software > Let me pick from a list of device drivers on my computer. Listed here are the latest version, version 9.17.10.2867, and another 10.X version.


What can I do to stop my laptop from automatically reinstalling the later version of the driver and thus keep the older, working version installed?



Answer



When you install any new (not included in Windows) driver in Windows a copy of this driver is copied inside a dedicated folder in Windows.


Your problem is that the newest version of the driver get installed from this location. That's also happen automatically every time you reboot your computer because I believe the version you try to install manifest it self as not compatible with your Windows version or does not have a validation signature and you have set the Action Center (in Control Pannel) to automatically search and resolve problems.


The best practice to avoid a particular driver from being REinstalled FROM cache is to delete its "inf" file copy from the "inf" folder under Windows directory. All the drivers you installed get a copy of their inf file named as "oemX.inf" where X is an iteration number.


To indentify which oemx.inf file is of the driver you try to remove:


Push Windows key + R to open the RUN window prompt. Type: inf. Hit Enter. Open the log file "setupapi.dev.log" and examine the last lines looking for any mention for any oem file related to intel graphics. That's the file you need to delete from the same folder. You may also go through all the oemX.inf files and see which one belongs to the driver you wish to remove.


Now if you reinstall the old version of your driver it should stay. If not then disable the option to automatically search and resolve problems in the Action Center via Control Panel.


backup - Time Machine clone for Windows?




Possible Duplicate:
Time Machine for Windows



I'm using Time Machine for backups on my Mac, and right now I'm using Synology's backup software (Data Replicator 3) for backing up my girlfriends PC. However, Time Machine gives me a couple of nice things:




  • No settings, just "on" or "off", and it just backs up the whole drive. It keeps a backup every hour for the last 24h, every day for the last month and every week till the drive fills up. It automatically syncs the backups to the NAS device when I connect.




  • If I ever need to restore, I can easily do a full system restore from an install CD.




  • A simple GUI to find deleted or changed files




Is there a similar alternative for Windows that Just Works? I don't care how nice the GUI is, or how many advanced options there are, as long as the defaults are sane.



Answer



Acronis True Image does something like this:



  • Backs up all files (to another drive, etc.) .We backup to removable USB drive. Then we rotate the drives.

  • Does incremental backups if you like.

  • Backs up in use files if you like. Can also set it to backup on shutdown, etc.


Cost is about $60.


Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...