Move Show application to top of Dock/Launch bar in Ubuntu

In Ubuntu 18.04 , the Show Application icon is at the bottom of the Dock.If you have Windows experience you may feel better if it locates on the top but not bottom to make Ubuntu much like Windows

To move the Show Application icon to top , the simplest way is to use gsettings command . Maybe you hate command line ,but that what Ubuntu is , you need to install another tool or application without using command line.

Right-click your Ubuntu desktop then click Open Terminal (Or by pressing Ctl+Alt+t) , then input below command and press Enter , it’s done ,so simple.

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

If you want to revert it back ,just issue below command

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top false

Change Username in Ubuntu

1.(Optional) If it’s the only user account whose name you want to change , you need to enable root account in case something wrong and cause both new and old account can not login. To enable root account ,just open an terminal by pressing Ctl+Alt+t,then
issue below to commands to set a password for root

sudo -s
passwd

2.Logout the user account whose name you need to change

3.Press Ctl+Alt+F3(or F4 F5 F6) to switch to virtual console and login with root (Of course if you have another user account with admin access ,you can login gui with that account )

4.use below commands to change the username

usermod -c displayname -d /home/newname -l newname oldname

Eg: Here we assume account user01 ,whose home directory locates /home/ubuntu01 ,and the display name also is ubuntu01,below command with change all these field to ubuntu02

usermod -c ubuntu02 -d /home/ubuntu02 -l ubuntu02 ubuntu01
mv /home/ubuntu01 /home/ubuntu02

5.(Optional)Assume user01’s default unix group is also user01, we can use below command to rename group user01 to user02

groupmod -n user02 user01

6.Use command “exit” to exit current konsole and press Ctl+Alt+F2 to switch back to the GUI konsole ,now username ubuntu01 has been changed to ubuntu02

7.(Optional) You can use below command to disable root password

sudo -s
passwd -dl root

Remote desktop to ubuntu from Windows 10

  1. On your Ubuntu machine side , open a terminal(Ctrl+Alt+t) and run below command to install xrdp
sudo apt-get -y install xrdp

2, On your Windows machine side , open your Remote Desktop Connection Manger

3.Input your Ubuntu machine’s Ip Address or Hostname in the Computer field,then click Connect

4.Click Yes if a warning window prompts

5.Input the username and password of your ubuntu machine

6.Click OK then you should be able to connect to your ubuntu

Note:If you get a blank screen or the RDP window exits automatically , maybe because you or someone already logged into the console ,you need to get the console logged out.