Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

2021-01-02

fix GRUB missing in Windows/Linux dual-boot

Open a command prompt with elevated rights (run as admin) and run:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

To restore to previous settings run:

bcdedit /deletevalue {bootmgr} path \EFI\ubuntu\grubx64.efi delete grub boot

bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi set windows boot

2020-12-29

How to change icon size of the dock in Ubuntu / Unity

To change the size of the Dock icons go to:

Settings > Appereance > Dock > Icon Size

2020-12-02

Disable ask for password after suspend in Ubuntu

Run in the terminal:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

2020-12-01

Add Chrome shortcut for more profiles on desktop

1. Create a file named User.desktop

2.Edit the file:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=google-chrome
Exec=google-chrome --profile-directory=Profile\ 1
Name[en_US]=User
Name=User
Icon=google-chrome

3. Move the file on the desktop

4. Right click on he file and select "Allow Launching" 

5. Double click on the file to start chrome with your profile

2019-12-02

Update Ubuntu to latest version from the Terminal

Open a terminal window and run:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Get Ubuntu version from the terminal

Open a terminal window and enter the following command:

lsb_release -a

2019-11-04

2019-02-01

Ubuntu: Install Java from terminal

Install Java 7:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Download multiple files / splitted archive from one command

If you have a splitted archived like file.part001.rar to file.part008.rar you cand download all file with this command:

wget https://myserver.net/files/file.part00{1..8}.rar

Install Midnight Commander from the terminal

Open the terminal and run:
sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc

Ubuntu: Install Google Chrome from the terminal

Open the terminal and run the following commands:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

2015-10-11

Enabling File Sharing in Ubuntu


  • install samba
    • sudo apt-get install system-config-samba
  • open samba and go to Preferences > Server Settings
  • set your workgroup name
If you want to enable file sharing between Ubuntu and Windows, enable the file sharing on both OS's and set the same workgroup

2014-09-07

Modify boot order

Method 1: from the Terminal
  • sudo gedit /etc/default/grub
    • edit order and save the file
  • sudo update-grub
Method 2: Install Grub Customizer
  • sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  • sudo apt-get update
  • sudo apt-get install grub-customizer
    • after the install edit the order

2012-05-05

Install Mac OS X Lion Theme On Ubuntu

Install Icons
  • mkdir ~/.icons
  • wget http://dl.dropbox.com/u/47950494/Mac-Lion-Icons.tar.gz
  • tar -xzvf Mac-Lion-Icons.tar.gz -C ~/.icons
Install Cursors
  • wget http://dl.dropbox.com/u/47950494/Mac-Lion-Cursors.tar.gz
  • sudo tar -xzvf Mac-Lion-Cursors.tar.gz -C /usr/share/icons
Install Theme
  • mkdir ~/.themes
  • wget http://dl.dropbox.com/u/47950494/Mac-Lion-Theme.tar.gz
  • tar -xzvf Mac-Lion-Theme.tar.gz -C ~/.themes
Enable Theme/Icons/Cursors

Method 1:
  • gsettings set org.gnome.desktop.interface gtk-theme 'Mac-Lion-Theme'
  • gsettings set org.gnome.desktop.interface icon-theme 'Mac-Lion-Icons'
  • gconftool-2 --set --type string /apps/metacity/general/theme 'Mac-Lion-Theme'
Method 2:
  • install GNOME Tweak Tool
    install sudo apt-get install gnome-tweak-tool
  • open Theme tab and select:
    Cursor theme > Mac-Lion-Cursors
    Icon theme   > Mac-Lion-Icons
    GTK+ theme   > Mac-Lion-Theme
    Window theme > Mac-Lion-Theme

2012-04-04

Remove applications menu from top panel [Unity/Ubuntu]

Applications menu will be displayed in the main window, not in the top panel:

sudo apt-get remove indicator-appmenu

2012-02-19

Show/hide Desktop icons (Computer/Home/Network) [Ubuntu]


  • run in terminal (Ctrl+Alt+T): sudo gconf-editor
  • go to apps / nautilus / desktop and enable/disable the icons you need

2012-02-12

Desktop Gadgets for Ubuntu


  • Screenlets
  • sudo apt-add-repository ppa:screenlets/ppa
    sudo apt-get update
    sudo apt-get install screenlets
    

2012-02-11

Change login Screen [Ubuntu]


  1. Activate the Appearance window at login:
    • sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow
  2. re-login
  3. select a wallpaper from the background tab
  4. Disable the Appearance window at login:
    • sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop