Plank has a hidden settings window for developers/OEMs.
- Hold down Control and right click anywhere on the dock
- Select “Preferences”
- make changes.
Plank has a hidden settings window for developers/OEMs.
I read about this error before but never faced it, until today.
I ran a
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade to make my lap up to date. and ended up with to problems. Hopefully I can Fix them. 1. Pantheon-Mail now stretches horizontally across the screen. 2. when I click “network settings” from drop-down menu of network icon on wing panel, it opens “system settings”.
after a brief googling I found solution for the first one.
kill or close pantheon-mail then run the following command on terminal.
dconf reset -f /org/pantheon/mail/
Which will reset the settings of Mail to default. For me after running this it was solved.
(some user said this is not a permanent solution and i may have to run the same when it appears again! )
Create a file name .bash_aliases in home directory
Then when we need to create a alias open that file in text editor(in my case: Gedit) with root privileges.
sudo gedit ~/.bash_aliases
then create whatever alias you want inside the text file
alias update="sudo apt-get update"
and save the text file.
as you may have noticed I assigned “update” to “sudo apt-get update”
now whenever I type in the command ‘Update’ on to the terminal it will run “sudo apt-get update”
In the latest versions of Ubuntu,
~/.bashrc automatically sources
~/.bash_aliases, so permanent aliases are best put into this file instead. previously we used to put permanent aliases on
I was in a situation where i couldn’t identify which is my default file manager. after a brief google search I ended up with the following command
what’s the current default file manager?
xdg-mime query default inode/directory
In my laptop Libinput is used as my touch-pad driver. this solution is for Libinput. you may have Synaptic as your driver. to check this open terminal and run
in mine this will give the following result yours may differ.
nesi@Alpha:~$ xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ DLL0651:00 06CB:2985 id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Integrated_Webcam_HD id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] ↳ Dell WMI hotkeys id=13 [slave keyboard (3)]
Mine is a dell laptop for some reason name of my touch-pad driver is not detected properly. “DLL0651:00 06CB:2985 id=11” this is my touch-pad. if yours is synaptic you’ll see that written here instead.
note the id of the device. mine is 11. then in terminal run the following command to check what options are turned on. [by default a zero = false, and one = true ]
xinput list-props 11
this will list all options of your touchpad
xinput list-props 11 Device 'DLL0651:00 06CB:2985': Device Enabled (140): 1 Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (275): 1 libinput Tapping Enabled Default (276): 0 libinput Tapping Drag Enabled (277): 1 libinput Tapping Drag Enabled Default (278): 1 libinput Tapping Drag Lock Enabled (279): 0 libinput Tapping Drag Lock Enabled Default (280): 0 libinput Tapping Button Mapping Enabled (281): 1, 0 libinput Tapping Button Mapping Default (282): 1, 0 libinput Accel Speed (283): -0.508333 libinput Accel Speed Default (284): 0.000000 libinput Natural Scrolling Enabled (285): 0 libinput Natural Scrolling Enabled Default (286): 0 libinput Send Events Modes Available (260): 1, 1 libinput Send Events Mode Enabled (261): 0, 0 libinput Send Events Mode Enabled Default (262): 0, 0 libinput Left Handed Enabled (287): 0 libinput Left Handed Enabled Default (288): 0 libinput Scroll Methods Available (289): 1, 1, 0 libinput Scroll Method Enabled (290): 1, 0, 0 libinput Scroll Method Enabled Default (291): 1, 0, 0 libinput Click Methods Available (292): 1, 1 libinput Click Method Enabled (293): 1, 0 libinput Click Method Enabled Default (294): 1, 0 libinput Middle Emulation Enabled (295): 0 libinput Middle Emulation Enabled Default (296): 0 libinput Disable While Typing Enabled (297): 1 libinput Disable While Typing Enabled Default (298): 1 Device Node (263): "/dev/input/event12" Device Product ID (264): 1739, 10629 libinput Drag Lock Buttons (299): libinput Horizontal Scroll Enabled (300): 1
check the last option it reads “libinput Horizontal Scroll Enabled (300): 1 “ which means Horizontal scroll is enabled,(value 1 means true). and ID number of the option is 300 given in bracket. In yours ID may be different.
Disable while typing is the option available for Palm Detection. by default it was enabled on my device. if your is showing value 0. note the ID of this option as well.
to change the value of Horizontal scrolling from 1 to 0, type in the following command
xinput set-prop 11 300 0
set-prop: set property
11 : ID of the device whose property is being changed
300 : ID of the option available.
0 : zero to make the value “false”
[in case you want to turn it back on: xinput set-prop 11 300 1 ]
Doing the above will turn off the horizontal scroll for the current section.
if you want to make this change permanent, add that command to startup
settings >> applications >> startup >> click the + button to add new >> custom command >> type in the command : xinput set-prop 11 300 0
IDs will be different in your system. thats all.
Do the same for any options you need.
[ Update: In case you connect another pointing device later, make sure you connect them after the system has finished loading OS. because otherwise there is a small chance that the ID of your touchpad may change. Today I connected my usb mouse before loading os. and ID of my touchpad changed from 11 to 12, thus my startup command didn’t run. ]
When I boot my laptop, Bluetooth was on by default:
after searching a while I found it is possible to set it to off when I start up my laptop:
To do this we will edit the “rc.local” file and add a command “rfkill block bluetooth”
step 1. Open rc.local as root in a text editor. in my case I used Gedit.
sudo gedit /etc/rc.local
It will open the rc.local file. Just add the following line just before the last line (which is “exit 0”. )
rfkill block bluetooth
Restart your PC to confirm the change.
$ alsactl restore
And that’s that! 🙂
I ran into this problem when I connected an aux cable to headphone jack, nothing works when connected on that jack anymore. Above command fixed the issue asap.
LibreOffice 5.3 comes with plenty of new features. The most awaited ribbon interface which is a immensely popular in Microsoft Office is now available in the latest release.
INSTALL LIBREOFFICE 5.3 IN UBUNTU, LINUX MINT, AND ELEMENTARY OS
LibreOffice 5.3 is not yet propagated into the official repositories. Therefore apt-get command will not fetch the latest version. If you already have LibreOffice installed, you should be having version 5.1 as of today (Feb 8, 2017). You can check your LibreOffice version by opening one of the applications from the suite, then click ‘Help’ > ‘About’.
UNINSTALL OLDER VERSION OF LIBREOFFICE
STEP 1: Launch ‘Terminal’
STEP 2: Run the following command. Elementary OS users first may need to enable PPA before attempting the below command. This command will remove the LibreOffice suite from your PC.
sudo apt-get remove libreoffice-core
STEP 3: Finally, we shall clean the configuration files using purge command:
sudo apt-get remove --purge libreoffice-core
That’s it. Older version of LibreOffice is now uninstalled from your PC. You can go ahead and install LibreOffice 5.3.
STEP 1: Since PPA doesn’t have the 5.3 version yet, you need to download the debian binary package (.deb) from official website.
STEP 2: I will assume that the downloaded file goes to ‘Downloads’ directory. Extract the contents.
STEP 3: Launch ‘Terminal’.
STEP 4: Navigate into the Downloads directory.
STEP 5: Use ls command to see the folder contents:
STEP 6: Copy the folder name which was extracted. You have to select the file name and then right-click ‘Copy’.
STEP 7: In my case, it’s a 64-bit version. So I would go into the LibreOffice_18.104.22.168_Linux_x86-64_deb directory.
STEP 8: Now go into DEBS directory where all the installation files are located.
STEP 9: Finally run the dpkg command. and you have finished installing libre Office 5.3 on your computer. Enjoy.
sudo dpkg -i *.deb