Ubuntu 18.04: “Add to Favorites” missing for certain qt-based applications?

OS: Ubuntu 18.04 (minimal installation option):

dkb@dkb-ubu1804:~$   cat /etc/X11/default-display-manager /usr/sbin/gdm3 dkb@dkb-ubu1804:~$   echo $  XDG_SESSION_TYPE x11 dkb@dkb-ubu1804:~$    

I installed the following qt-based applications using apt install: dolphin, featherpad, gwenview, kate and qterminal.

Out of these, dolphin, gwenview and kate did not show the “Add to Favorites” option when I right-clicked on their icons in the launcher. But featherpad and qterminal had the “Add to Favorites” option. Why is that?

(The situation persists even after a reboot.)

Their .desktop files didn’t offer any clues.

• Dolphin

[Desktop Entry] Name=Dolphin Exec=dolphin %u Icon=system-file-manager Type=Application X-DocPath=dolphin/index.html Categories=Qt;KDE;System;FileTools;FileManager; GenericName=File Manager Terminal=false MimeType=inode/directory; InitialPreference=10 X-DBUS-ServiceName=org.kde.dolphin 

• Featherpad

[Desktop Entry] Name=FeatherPad GenericName=Text Editor Comment=Lightweight Qt5 text editor Exec=featherpad %F Icon=featherpad Terminal=false Type=Application MimeType=text/plain; Categories=Qt;Utility;TextEditor; X-KDE-StartupNotify=false 

• Gwenview

[Desktop Entry] Name=Gwenview GenericName=KDE Image Viewer Comment=A simple image viewer Exec=gwenview %U Terminal=false Icon=gwenview Type=Application Categories=Qt;KDE;Graphics;Viewer;Photography; MimeType=inode/directory;image/gif;image/jpeg;image/png;image/bmp;image/x-eps;image/x-icns;image/x-ico;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/tiff;image/x-psd;image/x-webp;image/webp;image/x-tga; X-DocPath=gwenview/index.html # InitialPreference should be greater than Okular so that Gwenview is the # primary application associated with images, but less than Konqueror or Dolphin # so that Gwenview is not the primary applications for folders. InitialPreference=8 X-DBUS-ServiceName=org.kde.gwenview 

• Kate

[Desktop Entry] GenericName=Advanced Text Editor Name=Kate Comment=KDE Advanced Text Editor MimeType=text/plain; Exec=kate -b %U StartupNotify=true X-KDE-HasTempFileOption=true Icon=kate X-DocPath=kate/index.html Type=Application Terminal=false InitialPreference=9 X-DBUS-StartupType=Multi X-DBUS-ServiceName=org.kde.kate Categories=Qt;KDE;Utility;TextEditor; 

Dolphin (shown below), gwenview and kate don’t show an “Add to Favorites” option

dolphin

 

Featherpad (shown below) and qterminal have the expected “Add to Favorites” option

featherpad

Missing disk io schedulers

The question is , where are the schedulers ?

# for f in /sys/block/sd?/queue/scheduler; do printf "$  f is "; cat $  f; done /sys/block/sda/queue/scheduler is [mq-deadline] none /sys/block/sdb/queue/scheduler is [mq-deadline] none /sys/block/sdc/queue/scheduler is [mq-deadline] none /sys/block/sdd/queue/scheduler is [mq-deadline] none  # uname -r 5.0.0-25-generic 

i want to set cfq for my hdd disks not deadline

Boot devices missing in BIOS

A month ago I installed Lubuntu 18.04 to my new Acer a315-21. I downloaded the .iso, used Rufus to make a bootable USB Stick, and then installed it to my hard drive. Everything worked fine until today when I pressed the F2 key to go to the BIOS and discovered that the Boot Priority order is completely blank (i.e. it displayed some dots). Even with a USB (Puppy Linux iso burned with Rufus) inserted it does not detect it. How do I boot into USB, and is this normal?

enter image description here

Please note that I have encryption enabled, Lubuntu is now at 18.04 and inside Lubuntu everything works fine (i.e. the drive is detected).

Unity Tweak Tool – Schema missing

I installed unity tweak tool through the terminal and whenever i try to run it I get the dialog “the following schema is missing: com.canonical.indicator.bluetooth. I tried to look online for solutions but it was mostly people who had different type of schemas missing. I even installed the packages they recommended but it didn’t do anything. I anybody knows how to solve this particular problem it would be much appreciated. Thank you.

Drive space missing before ext4’s 5% reserve – What’s responsible? [on hold]

I’m somewhat of a linux noob and I’ve having trouble solving a problem I noticed on my new KDE Neon install. My 1TB hdd, which should be 931GiB of space, is being reported as 916 by df and treated as such by Dolphin. Both display 870GiB remaining after subtracting the filesystem’s reserve space, which should only be taking about 47GiB. My other drives show appropriate numbers.

Here is df’s report compared to fdisk enter image description here

And here is the full output from df enter image description here

Does anything look odd? Am I missing something obvious?
I’d really appreciate some help.

Word document results missing default HitHighlightedSummary on search page

SP 2013 on-prem. We are site collection owners so can’t change or look at anything in central search services.

We are just standing up a site with a custom results page. Some of the results are documents like Word and PowerPoint files.

If I search on “word OR PPT” I get a powerpoint file and a word file. Neither file contains either ppt nor word as part of the hit highlighting summary. The ppt result shows a “default” summary that includes just a bit of text extracted from some part of the document. But the word result doesn’t include any summary text and it makes the result look weird.

I used my browser debugger to put breakpoints in the item_word.js and item_powerpoint.js item rendering templates. At both of those places I check the value of ctx.CurrentItem.HitHighlightedSummary. The ppt result had a value, but the word result didn’t.

If I change my search to search on something that is included in the body of the word doc, in this example the word “change,” then I do get a regular hit highlighting summary for the same item’s result.

Is there somewhere that the default value for the summary comes from if the actual search term isn’t actually able to be highlighted?