SnapOverflow

SnapOverflow Logo SnapOverflow Logo

SnapOverflow Navigation

  • Home
  • Server
  • Ubuntu

Mobile menu

Close
  • Home
  • System Administrators
    • Hot Questions
    • New Questions
    • Tags
  • Ubuntu
    • Hot Questions
    • New Questions
    • Tags
  • Help
Home / user-2355

Flimm's questions

Martin Hope
Flimm
Asked: 2025-01-29 22:13:45 +0800 CST

How do I get the localized title of a package? eg: "LibreOffice Writer", not "libreoffice-writer"

  • 7

I want to get the pretty localized names of APT packages, such as "LibreOffice Writer" (and not libreoffice-writer). I'm writing a script that needs this information.

I can get the localized description of a package using a command like apt show libreoffice-writer. However, it does not show the localized title of the package. I can only find libreoffice-writer as a name, I can't find LibreOffice Writer in any of the fields that apt show prints.

I know that this localized name is stored somewhere. Ubuntu's Update Manager is retrieving this name from somewhere, as you can see in this screenshot:

Screenshot

apt
  • 1 Answers
  • 51 Views
Martin Hope
Flimm
Asked: 2022-02-19 04:28:26 +0800 CST

How can I tell if an application is using XWayland?

  • 15

I'm troubleshooting some issues to do with multiple monitors and HiDPI on Wayland. I've learnt from online resources that applications on XWayland may not handle this use-case as expected. So now I want to know which applications are using XWayland, and which aren't.

How can I tell if an application is using XWayland or not?

xorg
  • 1 Answers
  • 3442 Views
Martin Hope
Flimm
Asked: 2022-01-05 05:43:07 +0800 CST

How do I handle windows that are too tall?

  • 16

Sometimes, I open an application and it opens a window that is too tall for my display. It also doesn't let me resize the window to make it less tall, and it doesn't have a maximize button. In Ubuntu (GNOME Shell), I can drag and drop the title bar to move the window, but I can't move the window higher than the top edge of the screen, which would have been useful to see the lower part of the window.

How do I find a workaround for windows that are too tall to fit in the display? Is there a way to force resize the window? Is there a way to move the window higher than the top edge of the monitor?

(An example of this issue: in VirtualBox, click File -> Import Appliance... The resulting window is too tall on some screen resolutions.)

I am interested in answers in GNOME Shell, as well as other environments.

gnome-shell
  • 3 Answers
  • 1071 Views
Martin Hope
Flimm
Asked: 2017-06-25 08:28:37 +0800 CST

How can I enable --verbose-versions for apt-get and apt by default?

  • 11

apt-get and apt have a very useful option --verbose-versions (or -V for short) that shows you version numbers in its output. For instance:

$ sudo apt dist-upgrade --verbose-versions
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   firefox (53.0.3+build1-0ubuntu0.17.04.2 => 54.0+build3-0ubuntu0.17.04.1)
   firefox-locale-ar (53.0.3+build1-0ubuntu0.17.04.2 => 54.0+build3-0ubuntu0.17.04.1)
   firefox-locale-en (53.0.3+build1-0ubuntu0.17.04.2 => 54.0+build3-0ubuntu0.17.04.1)
   firefox-locale-es (53.0.3+build1-0ubuntu0.17.04.2 => 54.0+build3-0ubuntu0.17.04.1)
   firefox-locale-zh-hans (53.0.3+build1-0ubuntu0.17.04.2 => 54.0+build3-0ubuntu0.17.04.1)

How can I enable this option by default?

apt
  • 1 Answers
  • 2554 Views
Martin Hope
Flimm
Asked: 2017-01-10 06:21:06 +0800 CST

Can an anti-virus protect me from KillDisk, malware for Linux?

  • 19

A relative of mine has recently sent me an email. He recently came across this alarming head-line from anti-virus vendor ESET:

KillDisk now targeting Linux: Demands $250K ransom, but can’t decrypt

The email goes on to describe a piece of software that encrypts the contents of the disk and demands a ransom.

My relative is alarmed and feels that surely an anti-virus is now needed.

I feel strongly that an anti-virus is not needed on Ubuntu. Rather, I feel that the best protection for an Ubuntu user is to install security updates promptly, to keep regular backups and to only install software from trusted sources like the Ubuntu Software Centre. Is that advice now out-of-date with the advent of KillDisk?

security
  • 6 Answers
  • 5486 Views
Martin Hope
Flimm
Asked: 2016-09-23 00:49:12 +0800 CST

Is apps.ubuntu.com deprecated?

  • 14

I'm trying to visit https://apps.ubuntu.com and to search for an app. However, it seems based on this screenshot, that this website only supports Ubuntu versions up to Ubuntu 14.04. Is this correct, or am I missing something?

Screenshot of search results in apps.ubuntu.com, showing zero results for "gnome-calendar"

Edit: karel correctly pointed out that although "Ubuntu 14.04 (trusty)" is listed in the search interface of apps.ubuntu.com, it doesn't do anything:

Search of search results in apps.ubuntu.com for Ubuntu 14.04, showing zero results for "Firefox"

What is going on at apps.ubuntu.com?

ubuntu-website
  • 2 Answers
  • 861 Views
Martin Hope
Flimm
Asked: 2014-06-07 00:17:43 +0800 CST

How can I use docker without sudo?

  • 1065

On Docker's documentation pages, all example commands are shown without sudo, like this one:

docker ps

On Ubuntu, the binary is called docker.io. It also does not work without sudo:

sudo docker.io ps

How can I configure Docker so that I don't need to prefix every Docker command with sudo?

docker
  • 5 Answers
  • 1320297 Views
Martin Hope
Flimm
Asked: 2013-05-10 04:44:35 +0800 CST

How can I install Ubuntu encrypted with LUKS with dual-boot?

  • 89

The Ubuntu installation disk has an option to install Ubuntu encrypted using LUKS. However, there is no option to perform an encrypted installation along-side existing partitions for a dual-boot scenario.

How can I install Ubuntu encrypted alongside another partition from the live disk?

system-installation
  • 4 Answers
  • 105569 Views
Martin Hope
Flimm
Asked: 2013-04-14 09:00:24 +0800 CST

Can I set my user account to have no password?

  • 118

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out:

How do I change my password to be empty? I know you can set Ubuntu to automatically log you in, but I want my password to be empty, I never want to type in a password to authenticate myself as that user.

I know that there are reasons why this might not be a good idea, but I want to know if it is even possible. I'm using Ubuntu 12.10.

password
  • 6 Answers
  • 476513 Views
Martin Hope
Flimm
Asked: 2013-02-06 11:20:40 +0800 CST

How can I install a Gsettings Schema without root privileges?

  • 21

The typical workflow to install a Gsettings Schema is this:

  1. Create a schema, with the extension .gschema.xml, with contents like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <schemalist>
      <schema id="com.companyname.appname" path="/com/companyname/appname/">
          <key type="b" name="mybool">
              <default>false</default>
              <summary>Example summary</summary>
              <description>Example description</description>
          </key>
      </schema>
    </schemalist>
    
  2. Copy the schema to /usr/share/glib-2.0/schemas/.

  3. Compile the schema by running this command:

    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
    

However, writing to /usr/share/glib-2.0/schemas/ requires root privileges. Is there a way to install a schema to a non-global user directory?

application-development
  • 1 Answers
  • 10449 Views
Martin Hope
Flimm
Asked: 2013-01-22 05:25:48 +0800 CST

Can I delete incremental backups made with Déjà Dup?

  • 18

After using Déjà Dup for a while, I keep getting this error after every attempt at a backup:

Backup location is too small. Try using one with more space.

Could I delete some backups made of certain dates only? For example, could I delete all backups older than a month?

My backup folder contains 372 files, with names like:

duplicity-full.20121122T124053Z.manifest.gpg
duplicity-full.20121122T124053Z.vol100.difftar.gpg
duplicity-full-signatures.20121122T124053Z.sigtar.gpg
duplicity-inc.20121122T124053Z.to.20121129T151249Z.manifest.gpg
duplicity-inc.20121122T124053Z.to.20121129T151249Z.vol1.difftar.gpg
duplicity-new-signatures.20121122T124053Z.to.20121129T151249Z.sigtar.gpg

Can I delete some of these files safely?

backup
  • 2 Answers
  • 15392 Views
Martin Hope
Flimm
Asked: 2013-01-22 05:10:32 +0800 CST

How can I set Déjà Dup to keep backups for less than six months?

  • 9

Déjà Dup allows me to choose whether to keep backups for six months, a year, or forever.

Screenshot showing three options

How do I choose to keep backups for less than six months, say, three months, or even more?

backup
  • 1 Answers
  • 3139 Views
Martin Hope
Flimm
Asked: 2013-01-16 02:41:53 +0800 CST

Are dconf schema names case-sensitive?

  • 10

I have found an example of a schema that is referred two in two different ways, differing only in case, which is confusing to me.

Gsettings sees the schema name as com.canonical.Unity.Launcher, and does not accept com.canonical.unity.launcher as a valid schema name. On the other hand, dconf-editor only sees com.canonical.unity.launcher all lower-case, as seen in the screenshot.

If I change the key favorites in Gsettings, that change is reflected in dconf-editor, and vice-versa.

What's going on? Which is the correct schema name, com.canonical.Unity.Launcher, or com.canonical.unity.launcher?

Gsettings:

$ gsettings list-schemas | grep -i com.canonical.unity.launcher
com.canonical.Unity.Launcher
david@david-Aspire-5735:~$ $ gsettings list-recursively com.canonical.Unity.Launcher
com.canonical.Unity.Launcher favorite-migration '3.2.10'
com.canonical.Unity.Launcher favorites ['application://firefox.desktop', 'application://thunderbird.desktop', 'unity://running-apps', 'unity://expo-icon', 'unity://devices']
david@david-Aspire-5735:~$ gsettings list-recursively com.canonical.unity.launcher
No such schema 'com.canonical.unity.launcher'

dconf-editor:

Screenshot of dconf-editor, cropped

dconf
  • 1 Answers
  • 2250 Views
Martin Hope
Flimm
Asked: 2013-01-11 12:45:16 +0800 CST

What are `.mojo.run` files? Should I choose one over a tarball?

  • 8

I'm about to download Dungeon Defenders from the Humble Bundle website, and I am presented with two options: a .tar.bz2 tarball and a .mojo.run MojoSetup file.

Which should I choose? What are the benefits of a .mojo.run file? How easy is it to uninstall a MojoSetup file? How well integrated is it with Ubuntu?

I'm interested in hearing a general answer about .mojo.run files, the Dungeon Defenders game was just an example and not the core of my question.

installation
  • 1 Answers
  • 3562 Views
Martin Hope
Flimm
Asked: 2013-01-05 06:42:21 +0800 CST

How do I troubleshoot problems with my wireless connection? [duplicate]

  • 10
This question already has answers here:
My WiFi adapter is not working at all, how to troubleshoot? (3 answers)
Closed 4 years ago.

Let's say I have a problem with my wireless connection. What commands should I run to share their output with a tech-savvy friend or an online support community?

For example:

  • How can I tell if my wireless card is recognised?
  • How can I get information on which wireless networks are within range?
  • How can I tell if I am connected to a wireless, but not the Internet?

I'm asking this question because I'm seeing many questions about problems with wireless connections, without many details, like this one. It would be useful if I could point to this question so that the asker can improve their question with more information. I'm hoping for a comprehensive answer with all the details, or with links to other generic questions for brevity.

wireless
  • 2 Answers
  • 9129 Views
Martin Hope
Flimm
Asked: 2013-01-04 06:45:13 +0800 CST

Where can I get a device with 'Ubuntu for phones' pre-installed?

  • 25

Canonical has recently announced Ubuntu for phones, which is Ubuntu with a specific interface for mobile devices.

Where can I get phones with this version of Ubuntu pre-installed? If no devices are available yet, where can I pre-order one?

ubuntu-touch
  • 3 Answers
  • 5759 Views
Martin Hope
Flimm
Asked: 2013-01-01 07:58:20 +0800 CST

How can I know which commands were installed with a package?

  • 11

How can I get a list of commands that have been installed with a particular package?

For example, if I install Chromium, what should type now? Or if I install moreutils, how do I know which commands have been installed?

apt
  • 1 Answers
  • 1918 Views
Martin Hope
Flimm
Asked: 2012-12-03 06:23:44 +0800 CST

Should I install programs from a source tarball (`.tar.gz`), from the Ubuntu Software Centre, or from elsewhere?

  • 29

There are several ways to install an application in Ubuntu:

  • You can download a source tarball (generally a .tar.gz or a .tar.bz2 file) and install it manually. (See How do I install a .tar.gz (or .tar.bz2) file?)

  • You can download a .deb file and install it manually, using dpkg or the Software Centre.

  • You can search for the application in the Ubuntu Software Centre and install it there, or use apt with the official Ubuntu repositories.

  • You can find a PPA or a third-party repo, and install it from there.

What are the pros and cons of each method? Please discuss security implications, frequency of updates and program reliability of each method in your answer.

apt
  • 2 Answers
  • 13988 Views
Martin Hope
Flimm
Asked: 2012-11-28 09:00:33 +0800 CST

What file size units do applications on Ubuntu use?

  • 15

I have noticed that different applications use different units, or mean different things by them.

For example, I have come across kB, KB, KiB, Kb and K. How many bytes do each of these units represent?

If there are different definitions for these units, which ones do which applications use?

filesystem
  • 1 Answers
  • 5369 Views
Martin Hope
Flimm
Asked: 2011-06-03 15:33:56 +0800 CST

How can I install `flashplugin-installer` and `ttf-mscorefonts-installer` without an Internet connection?

  • 11

Is there a way to download the Flash plug-in and the Microsoft fonts on one computer, and install them on another offline computer?

Simply downloading the flashplugin-installer and ttf-mscorefonts-installer packages isn't enough, as both these packages require Internet connections during their installation.

According to flashplugin-installer's description:

WARNING: Installing this Ubuntu package causes the Adobe Flash Player plugin to be downloaded from www.adobe.com. The distribution license of the Adobe Flash Player plugin is available at www.adobe.com. Installing this Ubuntu package implies that you have accepted the terms of that license.

And ttf-mscorefonts-installer has a similar warning:

You will need an Internet connection to download these fonts if you don't already have them.

software-installation
  • 1 Answers
  • 4365 Views

Sidebar

Stats

  • Questions 681965
  • Answers 980273
  • Best Answers 280204
  • Users 287326
  • Popular
  • Answers
  • Marko Smith

    How to install Google Chrome

    • 8 Answers
  • Marko Smith

    Is there a command to list all users? Also to add, delete, modify users, in the terminal?

    • 9 Answers
  • Marko Smith

    How to delete a non-empty directory in Terminal?

    • 4 Answers
  • Marko Smith

    How to unzip a zip file from the Terminal?

    • 9 Answers
  • Marko Smith

    How can I copy the contents of a folder to another folder in a different directory using terminal?

    • 8 Answers
  • Marko Smith

    How do I install a .deb file via the command line?

    • 11 Answers
  • Marko Smith

    How do I run .sh scripts?

    • 16 Answers
  • Marko Smith

    How do I install a .tar.gz (or .tar.bz2) file?

    • 14 Answers
  • Marko Smith

    How to list all installed packages

    • 24 Answers
  • Marko Smith

    Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

    • 25 Answers
  • Martin Hope
    Flimm How can I use docker without sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp How do I save terminal output to a file? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd How to unzip a zip file from the Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    pandisvezia How can I copy the contents of a folder to another folder in a different directory using terminal? 2011-12-11 17:19:37 +0800 CST
  • Martin Hope
    TheXed How do I install a .deb file via the command line? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan How to list all installed packages 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry How do I determine the total size of a directory (folder) from the command line? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "The following packages have been kept back:" Why and how do I solve it? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford How can PPAs be removed? 2010-07-30 01:09:42 +0800 CST

Related Questions

Trending Tags

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Home
  • Questions
    • Hot Questions
    • New Questions
  • Tags
  • Help

Footer

SnapOverflow

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Help

© 2022 SOF-TR. All Rights Reserve