Posts Tagged ‘change’
Change window border size in Windows 8
With some help of the Windows registry you can now change the width of Windows explorer borders. This can be nice in terms of style but also really handy since it will become far more easier to grab borders to resize a window.
To change border width, point your cursor to the bottom left corner of the screen and right-click it to open a menu where you choose Run from. In the appearing prompt, enter regedit to get to the registry editor.
In the editor, browse to the HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics key in the left pane and left-click once. On the right pane, look for the BorderWidth and PaddedBorderWidth values set to -15 and -60. Change these to your likings: 0 will give you really small borders, while -200 will give you very thick ones. Don’t meddle with too high numbers though, otherwise you will have a hard times changing the values back!
Change startup sound in Linux Mint 13
Linux Mint 13 plays a sound when you start the system as well as when you log into an account. Both of these sound can be changed – to do so, you must be logged in and know the root password.
- Open the main menu and go to Administration > Login Window.
- Go to the Accessibility tab:
You can now check or uncheck the listed sounds or choose new ones from your files – these must be in the .ogg format however! System sounds can be found in /usr/share/sounds/LinuxMint/stereo for example, or you can convert your own files.
Change the languages Google searches results for
Usually Google restricts its results to the language you have set for the page itself, which is the one spoken in the country it locates you in by default.
You can easily change these settings by clicking on the cog wheel icon on the top right and going to Search Settings:
Next, click on Languages on the left pane and add any of the languages listed by checking the box next to them. If you want to use one language only, you need to change the language the page is displayed in – the same language will then be selected for the results.
Afterwards click on Save on the bottom right corner.
Change selection box color in Windows 8 and 7
The selection box that appears when you hold the left mouse-button and drag your mouse away is blue by default on all versions of Windows. However you can change this setting by using two registry values in Windows 7 and Windows 8.
Open the registry by typing regedit into the Windows 7 menu search on Windows 7 or by right-clicking the bottom left corner on Windows 8 and opening a Run… prompt. Enter regedit into it.
- In the registry you will see a tree structure on the left pane – in it, browse for Computer\HKEY_CURRENT_USER\Control Panel\Colors and click it once.
- On the right pane, look for the value of HotTrackingColor. It is given in three values representing the ratios of red, green and blue that range from 0 to 255. Enter values that mix to the color you want to have (you can check the color values in a graphic editor).
- Do the same for he value of Hilight.
These two values also alter the color of hyperlinks and the color of highlighted text. After you set the values, close the registry and reboot your machine. Afterwards the selection box should have the color you chose.
The two different values each stand for a different part of the box – the first determines the color of the inner transparent space, the second determines the color of the non-transparent border. This means you can have different colors for each.
Set lightdm wallpaper that is independant of the user’s wallpaper (Ubuntu/Linux Mint)
Using lightdm, the wallpaper that is shown is usually the one used by the selected user. If you want to change this or just set a static wallpaper for your login screen, there are a few possibilities to do that.
1. Method
The first one is to make your wallpaper inaccessible to others, letting lightdm fall back to its default wallpaper. For this method, dconf-tools must be installed. If it isn’t installed on your system yet, install it with
sudo apt-get install dconf-tools
With these tools you can easily configure lightdm – however you cannot do so in the GUI since you must be logged in as lightdm user. Do so by entering following into a terminal:
sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
Now you can edit any of lightdm’s settings with the command line – you can use the dconf GUI as reference for the paths and variable names (the dconf path to the lightdm unity greeter configuration is com>canonical>unity greeter). Set the background picture with
gsettings set com.canonical.unity-greeter background ‘/usr/share/backgrounds/orsomewhereelse.png’
Replace the path I use with the one to the wallpaper of your choice – it must be closed in quotation marks. You can also change the background color to black (x000000) or some other neutral color.
What happens in the login screen now is that the dconf wallpaper blinks up for a second and is then replaced by your wallpaper. To counter that, you must make your wallpaper inaccessible to other users. To do that, log in to your account again and open a terminal. Change the ownership to you instead of root if you need to (wallpapers in /usr/share… usually don’t belong to you for example). Replace my username (howtoforge)and my group (howtoforge) with yours:
sudo chown howtoforge:howtoforge /usr/share/backgrounds/orsomewhereelse.png
Now right-click the wallpaper and go to the Permissions tab in the Properties menu. Set the rights of Others to None. Lightdm won’t be able to access your wallpaper any longer, so it falls back to the one you specified in dconf-tools.
2. Method
The other possibility is to run
id -u
to find out your user ID and afterwards run (replace [your id] with the ID the previous command spit out (without brackets) and the path I used with the one to the wallpaper you want lightdm to display):
dbus-send –system –print-reply –dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User[your id] org.freedesktop.Accounts.User.SetBackgroundFile string:/path/to/wallpaper.jpg
This command has to be repeated every time you change your wallpaper and only replaces the wallpaper for one user. You can decide whether you like this method or the previous more.
Change account picture in Linux Ubuntu and Mint
Other than in Windows, the account picture in Ubuntu and Mint isn’t displayed in the login-screen but everytime you enter your password for authentication as well as in the user selection applet in Ubuntu.
To change it, open the main menu and type in user accounts. On the window that pops-up upon opening the application, click on the head-icon on the right and select a new picture from the list or browse for more pictures.
Windows Powershell – “Running scripts is disabled on this system”
Powershell scripts can be run on any Windows system as long as they are run from the ISE by pushing the green play button but as soon as you want to run it from the cmd or the desktop file you’ll get hit by an error:
script1.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170
This error happens due to a security measure which won’t let scripts be executed on your system without you having approved of it. You can do so by opening up a powershell with administrative rights (search for powershell in the main menu and select Run as administrator from the context menu) and entering:
set-executionpolicy remotesigned
Add own Windows logo in system properties
The system properties Window in Windows 7 has space for two Windows logos – one is the Windows logo that is shown by default on most systems and one is for manufacturers (computers by Dell and others will have their logo placed there). This manufacturer logo can be changed to an own picture using the registry.
- To start, edit the picture you want to use as logo. It has to be 120×120 pixel large and a bitmap file (.bmp, color range is up to you).
- Save the file into any directory now, I will choose C:\Windows\System32 for that but it can be any other. Name it oemlogo.bmp
- Open the registry by entering regedit into a Run… prompt. On the left column, navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\OEMInformation key.
- On the right column, if there is no value called Logo, create it by right-clicking the empty space and choosing New > String Value.
- Assign the full path of the picture to the Logo value (C:\Windows\System32\oemlogo.bmp).
- Close the registry and open the system properties window to view your beautiful new logo:







