Skip to main content

Posts

Showing posts with the label Laptop

Adjust brightness in Linux Mint

I installed Linux Mint Qiana 17.2 on my (very old) Acer Aspire laptop. Was pretty surprised that I was not able to adjust the screen brightness using the laptop buttons. The hack I got was as follows, Open terminal (as a superuser) We now need gksudo to edit the grub file You can do gksudo gedit /etc/default/grub   In the text file that opens, look for the line which says GRUB_CMDLINE_LINUX="" In the empty quotes i.e. the "" insert the words "acpi_backlight=vendor" The line now looks like this GRUB_CMDLINE_LINUX="acpi_backlight=vendor" Remember to save before you close the file Back again in the terminal session, type sudo update-grub Reboot ACPI is Advanced Configuration and Power Interface It is used when the machine starts to control the amount of power given to each device attached to the computer. When we do acpi_backlight=vendor it tries to load vendor drivers before it tries the default generic driver for screen ...

Find size of package in Ubuntu before downloading it via command line

It is better to know the size of a package before downloading it. At times, apt-get install prompts before downloading the package and we can read the size there. However sometimes dependencies are downloaded and then there is a prompt for the BIG package. But by now some packages are already installed and if the BIG package is rejected because of slow bandwidth etc. an extra effort is to be made to clean the unnecessary packages too.( apt-get autoremove does it too. But, it is extra effort after all)   What we can do is this, apt-cache --no-all-versions show $package | grep '^Size: '   E.g: apt-cache --no-all-versions show qtoctave | grep '^Size: ' Size: 3891520 The size is in bytes. Ubunut Version: 12.04 LTS

Solving Ubuntu - Android unable to send file over bluetooth from phone to Dell Vostro Laptop

I have Ubuntu 12.04 LTS on my Dell Vostro laptop. I am able to send files over bluetooth from my PC to my Android mobile but not vice versa even though the two devices are paired.The file transfer just fails with " File Not Sent " message. The problem is the option to receive files is disabled in the gnome-file-share-properties of Ubuntu. To access this dialog open the terminal and type  gnome-file-share-properties Please note that you might be able to change the property if you are using the dialog as a root user.You need to be a non-root user for this. You just need to check the option for " Receive files in Downloads folder over Bluetooth " and it is done.