Monday, October 23, 2017

gnome - Mouse cursor leaving "trails" / artifacts

On Ubuntu Gnome 15.10, my mouse cursor leaves strange "trails" all around the screen. This happens when the cursor moves over or leaves a dynamic screen element (anything that changes on hover) such as a link or a toolbar button.




Here's a quick screencast showing what it looks like (posted on YouTube)



Any help to fix this quirk would be appreciated.

indicator - How to change Date/Time format to English?



I have installed Ubuntu 13.04 and set my local time/date and its working, the only thing thats bugging me is that I cannot change it to English. I would like to do this because its hard to read and its not showing in proper format in Terminal, please view the screenshot below.




enter image description here



Show in proper formate



enter image description here



Not showing in proper format in terminal



How can I change my date/time to English format and keep the local time?




click on system settings.



System Settings icon in launcher



Click on Language Support.



Language Support icon in System Settings



Click on the Regional Formats Tab, and change language to English, and apply system- wide. and that will do it.




Note: You may have to relogin, so changes can take effect



Regional Formats settings


login - Ubuntu logs out immediately after logs in

Today when i try to login to my ubuntu main user(not guest),Emad Helmi,after i typed my password it logged in and immediately logged out back to the login page, i try several times,but the same result,finally i hit ctrl + alt + F6 and then typed emadhelmi and the my password after that i run this code, without and chaging directory:


sudo rm -v .Xauthority

and after that:


sudo service lightdm restart

i tried again to logging in to my account but the same problem.How can i fixed it?

drivers - Bluetooth "works" but won't pair with headphones. rtl8723de HP laptop

After having gone through the following threads and following the answers:




Wireless was not working: Realtek Semiconductor RTL8723DE Device d723 issue



Bluetooth was not working: How to activate bluetooth device for RTL8723DE? (I am using cosmic but specified the bionic repo to pull down the module)



My bluetooth adapter searches for and finds headphones, but will not connect to them. The adapter will connect to my phone's bluetooth though, so I'm really confused as to what is causing this. I have tried the suggestion here: ubuntu 18.04 bluetooth not set up without any luck. The description of what is happening with my headphones in that post is spot on.



EDIT: I have tried to connect with two different known working headsets.



As I've seen requested in some other posts:




user@Slacker:/var/log$ lspci -knn | grep Net -A3; lsusb
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]
Subsystem: Hewlett-Packard Company Device [103c:8319]
Kernel driver in use: rtl8723de
Kernel modules: rtl8723de
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f3:250e Elan Microelectronics Corp.
Bus 001 Device 004: ID 0bda:b009 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 05c8:03c7 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
user@Slacker:/var/log$ dmesg | grep -i blue
[ 4.735816] Bluetooth: Core ver 2.22
[ 4.735830] Bluetooth: HCI device and connection manager initialized
[ 4.735834] Bluetooth: HCI socket layer initialized
[ 4.735836] Bluetooth: L2CAP socket layer initialized
[ 4.735845] Bluetooth: SCO socket layer initialized
[ 4.893865] Bluetooth: hci0: rtl: examining hci_ver=08 hci_rev=826c lmp_ver=08 lmp_subver=8873
[ 4.893866] Bluetooth: hci0: rtl: assuming no firmware upload needed
[ 5.854947] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 5.854948] Bluetooth: BNEP filters: protocol multicast
[ 5.854951] Bluetooth: BNEP socket layer initialized
[ 16.677354] Bluetooth: RFCOMM TTY layer initialized
[ 16.677360] Bluetooth: RFCOMM socket layer initialized
[ 16.677363] Bluetooth: RFCOMM ver 1.11


Please let me know if there is any other information needed to help troubleshoot this.



Thanks

How to refresh the software sources in Ubuntu Software Center?



I have added a PPA repository to my fresh installation of Ubuntu 12.04 with the Software sources menu item in the Ubuntu Software Center (USC). The problem is that the new repository is not immediately available. I can't find an option to refresh the software sources in the USC. I have tried to close the USC and reopen it, but no success.
I don't know if this is a question of time (USC needs some time to refresh?), or if I'm doing something wrong.
In the meantime I had to install another software, so I have installed this one. At the end of the installation I have checked out again the software sources, and this time the new PPA repository was there. So, there is some kind of software sources refresh, but I don't know how to force it.



There is somebody else that had this issue?




The software sources needs to be updated. You can do this a couple of ways:
Running



sudo apt-get update


Starting Update Manager and clicking "Check".
The software sources cannot be updated within USC.


partitioning - Unallocated space instead of LUKS partition with gparted



I have unplugged a USB with valuable data with a mounted LUKS partition which destroyed the partition table.



Running testdisk does not recognized the partition: it claim it as unallocated space instead of a LUKS partition. From parted:



Number  Start   End     Size    Type     File system  Flags
1 1049kB 3222MB 3221MB primary boot
2 3222MB 3224MB 2097kB primary



There should be a third LUKS type partition



Number  Start   End     Size    Type     File system  Flags
1 1049kB 3222MB 3221MB primary boot
2 3222MB 3224MB 2097kB primary
3 3224MB 16.0GB 12.8GB primary



I tried adding a new partition with testdisk for this apparent unallocated space but didn't found the crypt_LUKS type in the list:



>List of partition type 
[...]
1e hid. FAT16 LBA 87 HPFS FT mirror-V/S set f0 Linux/PA-RISC boot
20 Willowsoft OFS1 8e Linux LVM f1 Storage Dimensions
[...]


Hence my first question:




1. Is Linux LVM the right type for a LUKS encrypted partition? Which method should be used to force to recognize the unallocated space as a LUKS partition



Choosing Linux LVM does not allow to run cryptsetup luksOpen (I get Device /dev/sdb1 is not a valid LUKS device.)



2. Which other method would you use in order to recover my LUKS partition recognized as unallocated space ?



Linux doesn't care about partition types. Just give it any type which is not a Windows type; Linux LVM works well, or 0xDA (Non-FS Data). To check whether a device, for example, /dev/sdc3 is a LUKS container:



sudo cryptsetup isLuks /dev/sdc3 && echo LUKS container || echo Not a LUKS container



The best way is to recreate the partition as it was and, if necessary, restore the LUKS header from backup. Backup the first 2 MiB of the partition first.


dual boot - Where did Ubuntu go?

I just formatted my PC and added Windows 7, alongside Ubuntu. I installed them in a separated disk partition so Ubuntu and my files should be ok, though I cannot find them anywhere. When I try to boot manually, my only choice is windows 7, same also on startup settings in control panel.
Ubuntu must be somewhere though. The disk has the half the size it's supposed too. But I can't access their partition. I didn't retrieve my files, and that's definitely a problem.
Can you help me please?

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...