Skip to main content

Posts

Showing posts from November, 2016

macos - VPN messes up DNS resolution

After connecting with the Kerio VPN client (OS X Leopard) to a server, the internet (~web browsing) stopped working for the client. After poking around, the issue seems to be bad DNS server (i.e., entering IPs directly works). After disconnecting from the VPN, the invalid DNS server disappears from scutil --dns and all's well again. Now, I don't understand why OS X on the client even changes the DNS settings -- internet should be routed through a different interface, through the default gateway, not through the VPN. Questions: By what mechanism does connecting the VPN client change the "default" DNS server? How can I stop the VPN client from changing routing/DNS rules? Where is this stuff stored/modified? Before VPN: $ scutil --dns DNS configuration resolver #1 nameserver[0] : 10.66.77.1 # <---- default gateway = home router; all good order : 200000 resolver #2 domain : local options : mdns timeout : 2 order : 300000 ... VPN connected: $ scutil --d

encoding - Can GNU sed (for Windows) handle Unicode? If so, is it a code-page/locale issue, or a switch?

I've been using GNU SED on and off for a couple of years now. It spins me out a bit sometimes, but it does a good job... for single-byte char sets! I now and then notice references to GNU SED being Unicode-aware, but the closest I've seen of this is its "binary" mode.. and binary is not Unicode. Can GSED process a Unicode text file at CodePoint resolution, including and especially \r\n (Windows)... and if it can, does it expect UTF-8, UTF-16, or what? and how does SED detect the encoding?

encryption - Activate local logging of OTR chat sessions in Pidgin

I am Using Pidgin with OTR-encryption on Linux and Windows but those encrypted chats are not logged in my chat history. Is it possible to activate the chatlog for chats, that are done with OTR-encryption? Answer There is an option in the settings of the OTR-Plugin to enable logging called "Don't log OTR conversations": or in german:

Can't see DVD drive in Windows 8 Developer Preview

After installing the Windows 8 Developer Preview (64-bit) on my PC, I can no longer see my DVD drive. What could be wrong? My PC specifications: Gigabyte GA-EP41T-UD3L (G41) motherboard Samsung DVD (connected via SATA) Intel Core 2 Duo 2.93GHz 4GB DDR3 RAM ATI Radeon HD 4600 Series 1GB The "Hide Empty Drives" option has been Unchecked, but had no effect. Answer Windows8 is still in its infancy, and many drivers are not yet stable enough to deploy to Windows8. Unfortunately this means that you will not be able to use your drive on the Windows8 CP until either the Windows8 RC or unless the manufacturer of the drive releases drivers compatible with the Win8 CP.

ubuntu - How can I increase the Hyper-V display resolution?

I just started experimenting with the Hyper-V of Windows 8 and installed Ubuntu on it. However when I launch it my screen resolution is small. How can I scale Ubuntu to the resolution of my screen? Answer Install the Hyper-V Integration Services . This provides better display/input/network integration between the guest and host.

windows - Tool which finds which process is causing the heavy hard drive activity?

Sometimes my Windows 7 system is accessing the hard drive heavily for several minutes and it slows down the machine considerably. Is there a tool which tells me which process is causing it? That includes if Windows is accessing the virtual memory? I tried SysInternals' DiskMon but it doesn't show useful information, like the process. The Task Manager shows some I/O counters but I still can't determine which one is doing it the most. Plus it doesn't show virtual memory access. Answer "What's my computer doing?" : Perhaps even you are curious why your hard disk LED is sometimes flashing. Or why the CPU fan gets louder even if you're not doing anything. The free software "What's my computer doing?" tells you why. It shows all programs (with details!), that are accessing your hard disk or using the CPU. Furthermore you have the option to close these programs or even uninstall them.

windows 7 - cmd needs ".exe" to run programs

Windows 7, cmd: C:\>python 'python' is not recognized as an internal or external command, operable program or batch file. C:\>python.exe (works) C:\>bash 'bash' is not recognized as an internal or external command, operable program or batch file. C:\>bash.exe (works) etc... Is there a way to make e.g. python.exe run when I type "python"? Answer Make sure .exe is in your %PATHEXT% : C:\>set pathext PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pl When you run python , Windows tries all extensions listed in that environment variable. C:\>set pathext=.exe;%pathext%

linux - running a connection script on boot, on ubuntu, or using /etc/networks properly

There's probably a MUCH more elgant way to solve this, but basically, i have a terribly minimal ubuntu system that connects to a wireless network. At the moment i'm using a script that calls wpa supplicant and dhclient, to connect. I'd like to have this automatic - but i've had no luck with /etc/network/interfaces, or getting the script i use to run on boot. A working solution from either approach would be 'correct'. Using network manager isn't really what i want, so that's out, and i will not need roaming. the config file for wpa_supplicant works, as does the whole setup when run from terminal. Answer You want to edit /etc/network/interfaces so it automatically brings it up on boot. It should look something like this for your wireless: iface wlan0 inet dhcp wireless-key s:KEY wireless-essid NETWORK_SSID auto wlan0 replace KEY with your wireless key, and NETWORK_SID with your router's SSID. If you wish to use your script on startup... copy it to /

Why are there chargers available for the same laptop with different wattages?

I have Acer Aspire 7745G and I’m curious why I can find supported chargers with different wattages? Here are the specs for each charger: Answer The chargers most likely have the same connector to the laptop and the manufacturers are offering higher wattage to make their chargers more appealing to a larger market of Acer laptop users. Without knowing anything about these laptops — and using basic deductive reasoning — let’s just look at which laptop models each of these chargers are for: Laptop Charger Factory : 7745G Green Cell : 7552G 7745G 7750G V3-771G V3-772G KWOKKERK Laptop Charger Store : 7750G 7739Z 7560G 7745G 5750 Without even knowing the wattage, my immediate guess is the Green Cell and KWOKKERK models are higher wattage than the one from Laptop Charger Factory. Why? Easy: Those models provide more wattage. And it’s clear to me that the one from Laptop Charger Factory just supports the 7745G so it must be the lowest wattage. And none of this is weird… Pretty much every sma

macos - How to shutdown OSX and avoid programs inturrupting the shutdown?

There are certain programs that I always run that interrupt the shutdown process. When I try to shut down my laptop a message pops up saying that a program interrupted the shutdown process, but when I check the program it is already shut down. These programs probably just take a little longer to shut down. Is there a good way to shut down OSX without having to deal with these interruptions? Answer You can use sudo shutdown -h now in you terminal. The shutdown program sends the SIGTERM and after some time SIGKILL interrupts to all running programs. So shutdown should not be interrupted.

windows 7 - MS Office 2007 - change UI display language from German to English

Microsoft Office 2007 comes in different languages. This includes different formula names in Excel, e.g. =Summewenn instead of =sumif. This is quite inconvenient if you're used to the English names or your training material uses those. I have a German Windows 7 and Office 2007 Professional Plus because I bought them in Germany. I would like to change as much as necessary to English in order to get English Excel formulas and preferably also menu items. I went to Excel Options/Language Settings (Spracheinstellungen) - this is the same as what you get through Windows Start/Microsoft Office Tools. There was no Display Language tab and no check box to uncheck to use the Windows system language. On the tab "Bearbeitungssprachen" I was able to select English (US) as primary interface language. This setting had no effect whatsoever. After some research, I tried the following Registry changes: HKCU/Software/Microsoft/Office/12.0/Common/LanguageResources set UILanguage to 0409 - ch

gpu - Why do workstation graphics cards cost far more than equivalent consumer graphics cards?

An Nvidia GeForce GTX 780 Ti costs $700, while a Quadro K6000 costs $4000—yet they use the same underlying GK110 core! The same can be said for other workstation GPUs from both Nvidia and AMD. What exactly does this price difference pay for with a workstation GPU? It is my understanding that they have specially-tuned drivers for CAD and other intensive business applications, sacrificing speed in gaming applications for greater accuracy and performance in such business software, but this by itself can't explain the cost difference. They may have more memory, and often of the ECC type, but that still can't explain a nearly sixfold difference. Would hardware validation explain the difference? I suspect it goes like this: among the GPU chips that test as usable, 30% go into a high-end consumer card, and 68% go into a slightly cheaper consumer card; the other 2% go through even deeper validation, and the few that pass get put into a workstation card. Could this be the case, and is t

Can't remove a line or border in Word 2013

How can I remove this border or line from Ms Word I can't recall how it got there in the first place, or what it is. And I can't see a borders button in Word 2013. (I see a borders dialog box under the design tab, but no borders button) Pre Word 2013, I'd normally try putting the cursor near it and seeing if a border showed as being there and click none. If I try highlighting the whole lot Then hitting del then I end up with 1. and I can't delete it. Really trying to explain the things that happen when I try to my wrong attempts at deleting and evading them, how they reappear, or appear elsewhere, or move or don't move.. explaining that isn't that feasible, and hopefully isn't necessary. There should just be some way to delete the things. I notice the cursor changes to up and down arrows when it hovers over them.. that may help identify what they are. I can't screenshot that though. Answer Try to choose "No Border" option. Select the paragrap

Recovering Data once a drive has been formated with windows re-installed

Here is the scenario. A co-worker of mine was performing a migration to windows 7 pro from an xp box. They made a backup of the general user folders, but managed to miss a few critical folders that are stored elsewere. These folders contained critical year end excel documents. In their infinite wisdom they chose to format and re-install windows without making a backup image of the entire drive before hand. I was now given the task of attempting to retrieve the lost documents using any methods known to me. I've already tried most of the usual programs like get data back, ontrack easy recovery and a few others. seeing the folder path and file names is not an issue but all of the excel documents I retrieve contain useless machine language. Does anybody out there know of a program or method to pull some of these files successfully from the ether's of binary space? Or am I up a creek without a paddle on this one? Answer BartPE & WinHex would be my tool of choice. WinHex is p

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't appeared. I'm afraid I now have two tasks that do the same thing, but I can't change them in any way. What can I do? Answer Start > Programs > Accessories > System Tools > Task Scheduler I had the same problem, and my custom tasks only showed up if I navigated to Task Scheduler via the method above. If I did Start > Right-click on Computer > Manage > Task Scheduler then they would not show up. I hope this helped.

linux - Recover Partition-Table still present in running system

Hy, I accidentially overwrote the first 1M of my harddisk on linux (using dd). So, the partition-table is gone. I can still access all partition (except the first one) using /dev/sda2 (and so on), so the data is still there. I only need the partition boundaries to restore the table. How can I do this? The Linux-Kernel must still know them because all mount-points still work. fdisk -l /dev/sda doesn't work because it acctualy reads the partition table. Thanks! Answer The extents of the partitions can be read from /sys/block/sda/sda1/start , /sys/block/sda/sda1/size and so on. The values are in sectors. Write down these values before doing anything else, especially rebooting. Once you have the values, you can recreate the partitions with fdisk . Use the u command to switch the unit to sectors, then create the partitions by entering n p rimary/ l ogical/ e xtended partition number (except for logical partitions: do them in order) initial sector + size in sectors

firefox - How do I save an image of a really long website? Taking about millions of pixels in height

For my high school graduation, I'd like to make a video telling the story of my class via flying through our Facebook group's posts and highlighting a few of the most important ones. To do this, I wanted to use one of the many browser extensions that take a screenshot of a website, but all of them either just bug out, or say there's not enough video memory (FireShot), even with only the past 3 months' posts. That's not a huge surprise though, the group has thousands of posts, and if we say a post takes up around 400px, that means the end images would be maybe 10,000,000px large in total. I then tried to print the page to a PDF, but I just couldn't find a way to get rid of the page breaks—the end result should have no seams at all. Currently I'm thinking of just getting all data via Facebook's API and writing a program that generates an image from that, resembling Facebook's design. But I thought it'd be wise to ask for alternatives before I resor

keyboard - Function keys on Dell laptop requires Fn+F1-F12 (default is multimedia/oem key)

In most dell laptop (e.g. Studio 1555 , Inspiron 1545 , Inspiron 3000 , Inspiron N5010 etc) the F1 - F12 keys at the top of the keyboard are dual function with Multimedia/OEM keys such as volume and screen brightness etc. The problem is, is that the Multimedia/OEM keys are the default, and you have to press the Fn key to get the F1 - F12 key to work. For example, this means you have to hit Alt + Fn + F4 to close a window, instead of the regular Alt + F4 . This is really annoying. Is there a way to reverse the default functions of the F1 - F12 keys in Windows? Ideally this is possible without some kind of third party hotkey manager. Answer From Whirlpool's KB article on the Dell Studio 1555: The media buttons are switched on by default instead of the F keys so to perform a task such as closing a window (Alt-F4), you are required to press Alt-Fn-F4. To reverse this function, it is necessary to go into the BIOS.

windows 10 - How do I delete a WindowsApps folder?

I have the following problem: I download an app using the Windows Store on Windows 10. The download failed, but the Windows Store does not seem to recognize that. If I go to that app's page on the Store, it will give me the option to download it again. However, the 130GB that it occupies are still allocated on my hard disk, and I can-t find any way to remove the directory. I know which directory it is, but giving myself permissions didn-t work. I also tried booting from Linux and doing sudo rm -rf, but I still get a "permission denied" error. How do I delete this folder? The guys over at Microsoft Support couldn't help me at all, they even stopped responding after the third failed attempt

wireless networking - How to reveal the MAC address of a Sony Ericsson W715?

Is there a way to tell or to reveal the MAC address of a Sony Ericsson W715 mobile phone? I need to know the MAC address of the phone in order to use the Wi-Fi. I have looked through the settings in all relevant places and have not found any mention of a MAC or a "physical" address anywhere. Aren't MAC addresses supposed to be printed on every Ethernet and Wi-Fi device? Update: I have now managed to connect the phone over Wi-Fi. After connecting the phone this is what I see in the router logs. Dec 21 00:04:49 debug UDHCPD sending ACK to 192.168.0.109 Dec 21 00:04:49 info UDHCPD sending OFFER of 192.168.0.109 Dec 21 00:04:47 debug UDHCPD sendOffer : find a free IP The date and time is wrong (it almost never shows the right date and time). But as you can see no MAC address is listed here. This is from a D-Link DIR-825. I normally have MAC filtering enabled. That's why I needed the MAC of the phone to add it in the exception list.

memory - Is there a rule of thumb for RAM upgrades?

I'm having a hard time figuring out whether or not a certain laptop/computer's RAM can be upgraded or not. Is there a rule of thumb that determines how much max RAM one could add to a system without looking it up via external websites? A little bit of a background information: I work in computer sales at a computer electronics store, so it is virtually impossible for me to install any sort of software that would detect computer specs, and I get a lot of customers who wonder what laptop/desktop RAM upgrades usually are. It's frustratingly annoying to have to constantly search the web for information. Is there a certain rule that adding more RAM entails? Does it make a difference if it's a 32-bit or 64-bit machine? Are other factors, such as the OS, hardware, and other things matter? Answer There is no easy way to find the maximum amount you can upgrade the RAM to without doing some reading of manuals, opening the computer or using some hardware reporting software. Ther

Copy Word 2010 outline view to new document

I am writing a lengthy article in Word 2010 and want to share an outline of what I have completed thusfar with a colleague. Because I have carefully applied heading 1, 2, etc. styles I can switch to outline view and see exactly what I want to share. I first looked for just how to print the darn thing. Thanks to Martin Liversage's answer to the SU question print in outline format microsoft word I found that, though the print preview indicates otherwise, the standard print command does in fact print the outline view. So I could print that to a PDF and have it at least as a file rather than hard copy. I would really prefer, however, to be able to simply copy the outline (with formatting!) so that I could paste it into an email or into another Word doc, etc. But a standard copy operation on the outline actually copies the whole document. Is there any way to copy just the outline? Answer Make sure you've expanded all the outline sections you intend to copy, then follow the steps

linux - Executable lauches if called directly from terminal, but does not work when called from shell script

I have downloaded some software (called samtools ) and it is stored in a folder on my desktop. Then I've added the path to the executable into the PATH environment variable. In other words my ~/.bashrc file has the following line: export PATH="~/Desktop/samtools/samtools-1.1:$PATH". The executable file named samtools is in this folder. When I try to launch it from the command line by simply typing samtools , it works. It also works when I use the full path to the executable. However, when I try to launch it from a shell script, it does not launch and reports either: No such file or Directory not found . Can anyone help me to solve this problem? EDIT: As some people requested. The exact error message is: Realigning using Bowtie2... ./RP_capture//realign/filter_long_inserts.sh: 29: ./RP_capture//realign/filter_long_inserts.sh: samtools: not found ./RP_capture//realign/filter_long_inserts.sh: 29: ./RP_capture//realign/filter_long_inserts.sh: samtools: not found Could not

linux - How to remove systemd services

If I install a new service then decide I don’t want that application anymore and delete it, the service is still listed in the output from systemctl as error . Where is this coming from and how can I remove them thoroughly? Answer My recipe for service obliteration (be careful with the rm statements!) systemctl stop [servicename] systemctl disable [servicename] rm /etc/systemd/system/[servicename] rm /etc/systemd/system/[servicename] symlinks that might be related systemctl daemon-reload systemctl reset-failed It is possible that the systemd service 'wraps' the old style scripts in /etc/init.d, so you may want to clean that up too, but that is not where systemd services live.

linux - Why is a new group not active after SSH login via tmux?

This is my situation: I have added a new group to my user. I have verified /etc/group is properly set up. If I do su - myuser the group is shown with id -a But login-out and login-in again (via ssh ) does not reload the group: id -a does not show the new group It is as the SSH connection was reusing some process with the old group settings. What could this be? Additional info: I am using tmux , but on the client. The server where I am sshing to (and where I am changing the groups), has no tmux running. It could be that this is related to ssh connection sharing.

windows - VirutalBox - How to use USB based mouse as PS/2 mouse?

I'm using VirutalBox to run Windows 1.1 . But this version of windows only support PS/2 input devices (Keyboard/Mouse). So, Is there any methods to use USB Based mouse (and Keyboard) as PS/2 standard? Answer As Ramhound mentioned , in older versions of VirtualBox PS/2 was used by default. In recent versions (Since v3.2), however, the default pointing device emulates a USB tablet device ( See docs ). You can configure VirtualBox to force it to always use PS/2 from the Motherboard Settings Tab in the System section of the VM configuration. Under "Pointing Device" select "PS/2".

What is the difference between shell, console, and terminal?

I'm confused with the terminology. What is the difference between shell, console, and terminal? Answer In the linux world they can all look the same from the point of view of the user at the keyboard. The differences are in how they interact with each other. The shell is the program which actually processes commands and returns output. Most shells also manage foreground and background processes, command history and command line editing. These features (and many more) are standard in bash , the most common shell in modern linux systems. A terminal refers to a wrapper program which runs a shell. Decades ago, this was a physical device consisting of little more than a monitor and keyboard. As unix/linux systems added better multiprocessing and windowing systems, this terminal concept was abstracted into software. Now you have programs such as Gnome Terminal which launches a window in a Gnome windowing environment which will run a shell into which you can enter commands. The cons

windows 7 - Outlook 2016 only syncs folders when clicked

I'm using Outlook 2016 with Exchange v15.1. If I log into Outlook Web Access (OWA) I can see dozens of unread email throughout my folders, but in Outlook I have to click each folder individually to get it to synchronize. How can I fix this? Answer Try creating a new Outlook profile for this Exchange account. Sometimes odd behavior in Outlook can be sorted out with a new profile. Also, since Exchange 2016 is still in Preview, there's the possibility this is due to a bug, although I searched diligently for reports by others of similar behavior and found none.

centos - LUKS encryption with non-interactive login on RHEL6

I need to have LUKS encryption on this system but during lab development I don't want to have to enter the password at the console each reboot. I'd like a way to set a simple password that can be passed and then later removed once the system is deployed. http://atterer.org/linux-remove-disable-luks-encryption-password-on-disk-partition-crypttab-initrd I found the above method but it's for debian and the paths don't exist. I tried to put a script with echo -n password that was executable as /boot/passphrase then updated /etc/crypttab to have keyscript=/boot/passphrase and it's not working. Has anyone found a working method in fedora/RHEL6?

windows 10 - Logitech wireless keyboard won't type anything

I have a Logitech K800 wireless keyboard and Performance MX mouse running off of the same Unifying Receiver on Windows 10. All of a sudden, the keyboard doesn't type anything. The function keys work (I can mute, change volume, etc), but I can't input any numbers or letters. The mouse still works just fine. The keyboard pairs correctly using the Unifying software and when I press a key on it, the icon lights up that the computer received input, but nothing happens. I tried using the keyboard on another computer and it works just fine, so it must be a Windows issue. Strangely enough, my spare Mac corded keyboard works just fine (and that's what I'm using to type this)... Searching for this issue and trying the few suggestions doesn't yield any success. Many recommend updating the device driver from the Device Manager, but the only keyboard listed is the corded Mac keyboard. Plugging the Unifying Receiver into different USB ports also doesn't change anything, nor d

windows 8 - How to log out from skype app?

I have installed the Skype-App for Windows 8 and a friend logged in first with his account . Now I want to log him out to log in myself with my account but there is no Logout option. I tried to uninstall and then re-install the app but then my friend is still logged in with his account . How can I log out from the Skype-App for Windows 8? Answer While using Skype press Win+C (charms bar) then click Settings and in app Options you will be able to logout.

windows - Resolution Independence on OSes?

I know this isn't really a question, but has there been any recent advancements or news about Resolution Independence in any of the major OSes? (Windows / Mac / Linux) I'm quite interested in the whole idea and concept of it but recently it's been quite quiet on the whole topic. Answer Apple took great strides with allowing more RI in Leopard, but there is still a ton of fixed- and/or low-resolution bitmaps in various places. Windows 7 is the same way, leaps and bounds over its predecessor, but still hamstrung in various places. For the clarification: Resolution Independence refers to an OS's ability to scale objects on the screen, so that if you're running a super-high resolution display, your icons and text don't continuously shrink. a 512x512 pixel image might be 2" across on a 20" display running at 1680x1050. On a 20" display running at 3360x2100 or more, the pixel density is such that that same 512x512 image would be the size of a postage

file management - What is the best way to Organize MP3s, Photos and Videos?

Do you just use a standard directory structure? Do you use tools to help rename/move files? Answer I use MediaMonkey to manage my files, and I am very happy with it. As far as videos, I take advantage of the folder views and thumbnails to make my folders nice to look at: A cool trick I only recently learned is that you can just name the image you want to show in the folder "folder.jpg" and it will be automatically used as the thumbnail. This is particularly handy.

linux - Limiting nginx requests based on port

Is it possible to drop excessive connections on per port basis? Let's say I 've multiple virtual hosts in Nginx listening on different ports. I want to set different rules for different ports. For eg. If port 8000 gets more than 1000 connections/sec, drop the rest of the requests without harming the limit of open file count

Chrome - Password saving with self-signed or broken SSL

I have searched frequently for a way to do this and never found a good answer, though there have been tickets created in the past ( #142818 & #405549 ). Apparently, the chromium devs have failed to create a chrome://flags override for "broken" SSL and/or password saving. This would seem to be the easiest way to fix this annoying "feature" (via flags). I DO understand completely why they block it by default. Since there is no override to my knowledge, I had assumed that you would need to import the given self-signed certificate to a trusted root area in (Windows) store. This does not appear to work either. Has anyone been able to get this to work? I can live with the warning - just not the lack of password saving. I spent most of my workday in a dev environment and need to keep re-entering passwords dozens of times a day (copy/paste).

Simplify FFmpeg amerge and volume customization

I have 3 consecutive FFmpeg commands that will customize the volume of an audio, customize the volume of a video, and amerge audio and video to a final output. First command, edit volume level of a mp3 File ffmpeg -i music.mp3 -vol 100 music2.mp3 Second command, edit volume level of a mp4 file ffmpeg -i video.mp4 -vol 200 video2.mp4 Third command,merge music2.mp3 and video2.mp4 ffmpeg -i music2.mp3 -i ruby.mp4 -filter_complex \ "[0:a][1:a]amerge,pan=stereo:c0 -map 1:v -map "[out]" -c:v copy -c:a libfdk_aac -shortest video2.mp4 Is there an easy way to simplify and breakdown processes into just one process/command? I've tried this one, but not working: ffmpeg -i music.mp3 -vol 100 -i video.mp4 -vol 200 -filter_complex \ "[0:a][1:a]amerge,pan=stereo:c0 -map 1:v -map "[out]" -c:v copy -c:a libfdk_aac -shortest output.mp4 Error log(s): ffmpeg version N-60332-ga0d5204 Copyright (c) 2000-2014 the FFmpeg developers built on Feb 4 2014

google chrome - webcam detection in chromium on fresh ubuntu install

I've just received my new laptop (Asus Zenbook), and installed Ubuntu 17.10 on it. I installed Chromium on it (Version 63.0.3239.132), but it could not access my webcam at all. I tried with appear.in, hangout, meet, and all the others, but the result is always the same : it doesn't ask me at all to allow any webcam. Even if I force it with the left "secured" button, it doesn't change anything. In appear.in, it says "We can't detect a camera. Try connecting a camera to join the conversation". When I use other softwares, like Firefox or Cheese, it works just fine. All the posts I found are to allow access to a detected camera, but I can't find anything to help chrome detecting the cam :) The problem occurs with HTML5 based site, so it is not flash related. Answer Thanks to Nikita to point me at the snap install. I found on this launchpad the way to connect the camera to a snap install. It works perfectly $ sudo snap connect chromium:camera :cam

windows - Installed python 32 bits after 64 bits

I wanted to use the 32 bits python because I need a module that only works with the 32 bits version, but I don't want to use the 32 bits version always, but when I run a script, it runs with the 32 bits version, always. What can I do to only use the 32 bits sometimes, and leave the 64 bits for default use? Answer There are four different ways that Windows chooses which Python to run. If you type python or python foo.py at a DOS prompt, it goes by which one is found first on the PATH. Normally, the installer for each version puts that version at the start of your PATH, so whichever one you installed last wins. If you double-click foo.py in Explorer, it goes by Explorer's file type association mapping. Normally, the installer sets the association to its version, so again, whichever one you installed last wins. If the latest one you installed was new enough to have the "Python Windows Launcher", it will actually set that , rather than Python itself, as the Explorer

windows 7 - 'This computer does not have enough space for temporary files...' error 0x80070103

I am trying to install windows server 2008 r2 a computer with multiple drives. My c drive has 3gb space, and I have 2 other hardrives with more than 100gb space. The error is telling me I need about 1gb of space to install windows server. I have looked at trying to set the partition as active through the computer management console, but an asterisk message saying 'only mark partition as active if it has a functioning operating system..." All of the other drives have the partition as active. I am worried the computer will stop working if I set the partition as active. Any way to test and see if it has an operating system? What should I do to solve this?

permissions - Permissionless external drive with NTFS

I have an external hard disk which has 1 partition, formatted in NTFS. I use this drive on multiple computers with a different logins on different machines, Windows XP and Windows 7. All files are plain old files, not OS encrypted or compressed. Every now and then Windows 7 does not let me access some files, citing permission problems. I can circumvent this per case by taking ownership and setting appropriate permissions. This, however, is tedious. Is there a simple way to tell Windows to not enforce or store any permissions on any file/directory on a partition? Answer Your external drive is formatted with the NTFS file system, which supports access restrictions. Unfortunately, while some users and security groups are built-in to Windows with predefined Security IDs which are the same on all machines (such as Everyone), other users and groups have SIDs derived from the machine they're defined on. To normalize the situation you should: While logged-in as Administrator, right-click

thinkpad - Laptop wireless networking options: 1x1 vs 2x2

I am currently customizing a Lenovo Thinkpad. Under the section " Integrated WiFi wireless LAN adapters " there are two options. Default: ThinkPad 1x1 b/g/n Upgraded: ThinkPad 2x2 a/b/g/n (+$10 AUD) What does the 1x1 and 2x2 mean? For reference, here is the link. 5th option from the bottom. Customize Lenovo Thinkpad Answer That's a no-brainer. Pay the +$10 AUD and get the 2x2 a/b/g/n. It can move data at up to twice the speed of the "1x1 b/g/n" solution, and it supports the much larger, less congested 5GHz frequency band, making it less likely to interfere with (or receive interference from) all the other uses of the 2.4GHz band. 1x1 and 2x2 refer to the number of transmit and receive radio chains built into the Wi-Fi card. 2x2 means it has two transmit and two receive radio chains, and usually implies that it supports 2 "spacial streams", which is a key way that 802.11n is faster than the previous generation of Wi-Fi technologies. 802.11n is the f

How to get vim to open multiple files into tabs at once

Is it possible to get vim to open multiple files into tabs, similar to the way the args command will open multiple files into buffers? Doing something like :tabe ./* results in the error "E77: Too many file names", even though the number of files is less than the value set in the tabpagemax property. (I believe the vim -p option will open in tabs, but I'm hoping to find a way to do it when vim is already open.) Answer :tab all will open all the files in Vim's argument list in individual tabs. The argument list is initially set to the list of file names given on the command line when Vim is started. The list may be changed with the :args and related commands. See :help :all :help argument-list Example: :args *.c :tab all will open all the .c files in the current directory in individual tabs.

sync - How can I synchronise my Outlook Calendar with Google Calendar (preferably using a free/open source tool)?

How can I synchronise my desktop Outlook calendar with my Google Calendar (Outlook -> Google)? I saw the question Free tool for Synchronizing Google Contacts and Calendar with Outlook , but the solution that was suggested there is no longer available - Google Sync End of Life . There are tools that required a payment, like SyncMyCal , gSyncit and OggSync , but I am looking for a free / open source solution. One can download Google sync, but when trying to use it there's an error: For now, I use OggSync to synchronise, but as a freeware it allows to synchronise manually only, not automatically, so I have to remember to synchronise after every change. I checked Mozilla Sunbird , but I couldn't find any relative posts on how to synchronise Outlook -> Google using it. Just to be clear : I'm not looking for software; I am looking for a solution. What can I do if sometimes software is a solution? Answer The synchronisation is sort of no longer needed. You can simply o

windows 7 - How do I troubleshoot when I have no clue where to start?

I am looking for hints, tips and answers on how to get started on troubleshooting when: The problem is intermittent The problem could lie literally anywhere - operating system; free source software; my own software developments; purchased software; crumbs on the keyboard; the specific combination of software I am currently running; Maxwell's demon; the little blue men actually running the machine have gone on strike; etc. I have expertise only in a few of the areas that are potential candidates for the cause of the problem. The specific problem I am having is detailed below as an example, but I am not seeking answers to my current problem, but rather where and how to start on tackling such problems. I am currently encountering a problem with my new machine. On a few occasions the machine has just frozen; not accepting keystrokes, mouseclicks, or anything except the power on/off switch. Invariably I have been merely browsing the web; I have had a few (<= 6 other applications) run

networking - Why is a router needed?

I‘ve been trying to figure out why a router is needed. I know a router can be used for DHCP and some other things, but I’m just thinking of networking with static IPs. So the following: Is it possible to do the following with static IPs: Modem -> Switch -> PCs Or do you need to go: Modem -> Router -> Switch -> PCs So what exactly does a router do and why is it needed? Answer I think generally routers serve as an access point, DHCP, firewall and switch as an easy solution for people who don't know much about networking No, routers are a separate kind of device from APs and switches. "Router" is not just a generic name – it describes a specific function, routing IP packets between networks. In other words, you're describing a router + switch + AP combination, which might be better called a "SOHO (Small Office/Home Office) router" or a "home gateway". (However, many dedicated routers do have an integrated firewall and sometimes even

image conversion - How to convert multiple embedded PNGs to JPEGs in Powerpoint file?

I have a large PowerPoint file with many embedded images, some of which are JPEGs and some PNGs. To make the file as small as possible I would like all the PNG images to be converted to JPEGs. This can be done by manually saving each image, converting it, and re-adding it to the presentation, but it takes a lot of time. Is there functionality to do a batch conversion in MS Powerpoint (2016), or some other method to achieve this more efficiently? Added: I realise that images can be compressed in PowerPoint, and I have done that already. But that does not reduce the file size as much as replacing the PNGs with JPEGs, since the PNGs are much much larger files – hence the question.

linux - How to bulk-rename files with invalid encoding or bulk-replace invalid encoded characters?

I have a debian server and I'm hosting music for an internet radio station. I have trouble with file names and paths because a lot of files got an invalid encoding, for example: ./music/Bändname - Some Title - additional Info/B�ndname - 07 - This Title Is Cörtain, The EncÃding Not.mp3 Ideally, I would like to remove everything that is not letters A-Z / a-z or numbers 0-9 or dash - /underscore _ ... The result should look like something like that: ./music/Bndname-SomeTitle-additionalInfo/Bndname-07-ThisTitleIsCrtain,TheEncdingNot.mp3 How to achieve this for a batch of a lot of files and directories? I've seen this similar question: bulk rename (or correctly display) files with special characters But this only fixes the encoding, I would prefer a more strict approach as described above. Answer You're going to run in some problems if you want to rename files and directories at the same time. Renaming just a file is easy enough. But you want to make sure the directories a

Chrome: remove URL from autocomplete which doesn't show up in history?

I accidentally visited gist.gihub.com (note the missing t ), and now that URL auto completes each time I start typing gist.… . How can I remove this URL? I've tried removing it from my history, but that doesn't help: (note the empty search results) Answer Highlight the item (using your keyboard arrows) and use shift + delete (Note that on the Mac you seem to need to also press fn , so fn + shift + delete ) NOTES this won't work on URLs that have been bookmarked. For these you must first delete the bookmark, then delete it from the Omnibar history (you can tell it's a bookmark if there's a star next to it as you start typing) you must select the entries in the Omnibar history using the arrow keys to select

windows 7 - "Cannot connect to the real Gmail.com"

Dunno what happened, but suddenly I cannot connect to Gmail from Chrome on this computer: Under "more" it says: What does this mean? gmail.com normally uses encryption (SSL) to protect your information. When Chrome tried to connect to gmail.com this time, gmail.com returned unusual and incorrect credentials. Either an attacker is trying to pretend to be gmail.com, or a Wi-Fi login screen has interrupted the connection. Your information is still secure because Chrome stopped the connection before any data was exchanged. Network errors and attacks are usually temporary, so this page will probably work later. You can also try switching to another network. Technical details gmail.com has asked Chrome to block any certificates with errors, but the certificate that Chrome received during this connection attempt has an error. Error type: HSTS failure Subject: mail.google.com Issuer: ESET SSL Filter CA Public key hashes: sha1/LBVQpu3n4BwHoMqkrzfLxLsSnbI= sha256/RHmN1dbh3iUcYQqF0J9erD

windows 10 - Identifying software affecting download speed

I am trying to troubleshoot a family members PC that is getting a very poor download speed compared to all other computer on the network. All other computers get around 23Mb/s down 4Mb/s up. But this computer is getting a >0.1Mb/s down and 4Mb/s up. I initially thought this was a wifi issue however when accessing files on a local NAS I get 35MB/s up and down. Troubleshooting further I found I do not have the issue when using a wired connection but do have the issue when using a variety of different USB wifi dongles with different chipsets (or the inbuilt PCI adapters) I have also tested the connection from Ubuntu which did not have any issues so I believe I can rule out hardware I have removed the drivers and reinstalled the latest version, with no effect. All this leads me to believe it is an issue with some software affecting only internet downloads. Looking around a number of people seem to have had issues with AMD quick stream/sync but this is not installed on this machine. How