Tag Archives: loki

Pantheon-Mail stretches horizontally across screen eOS

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! )

Leave a comment

Posted by on September 14, 2017 in Linux


Tags: , , , , , , ,

create permanent alias eOS

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  ~/.bashrc

Leave a comment

Posted by on September 8, 2017 in Linux


Tags: , , , , , ,

Check which is the default file manager – eOS loki

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


Leave a comment

Posted by on September 8, 2017 in Linux


Tags: , , , , ,

Disable horizontal scroll & enable palm detection eOS loki

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

 xinput --list

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. ] 

Leave a comment

Posted by on September 8, 2017 in Linux


Tags: , , , , , ,

Disable Bluetooth on startup in eOS loki

When I boot my laptop, Bluetooth was on by default:

bluetooth on upon startup

after searching a while I found it is possible to set it to off when I start up my laptop:

bluetooth off

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.

Leave a comment

Posted by on September 7, 2017 in Linux


Tags: , , , , , , , ,

No sound when plugging in headphones – elementary OS Loki

$ 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.

1 Comment

Posted by on September 7, 2017 in Linux


Tags: , , , , , , ,

how to change the icon theme in dock and applications menu without changing the indicator icons and Pantheon icons?



Switch icons back to default.

In usr/share/icons/numix-circle. Open up your index.theme file with text editor

A few lines down there will be a line saying


Change it to say


In the tweaks panel, select Numix Circle

now numix theme will apply to both plank and sligshot menu only. indicator and pantheon icons will stay as default.

(this solution was given by Adderbox76 in reddit )

Leave a comment

Posted by on September 7, 2017 in Linux


Tags: , , , , , ,