Git Product home page Git Product logo

box-ubuntu-budgie-17-x64's People

Contributors

martinandersson avatar

Watchers

 avatar

box-ubuntu-budgie-17-x64's Issues

Improve taskbar

The taskbar is a bit boring. In particular, I use workspaces a lot even inside a VM. So, maybe we want something like this:

Taskbar screenshot

Taskbar settings

Note in particular a few details/changes:

  1. Stupid nightlight icon is gone (the settings are still available natively).
  2. Added:
    1. Workspace Switcher
    2. Screenshot Widget
    3. Quick & easy notes
    4. Calendar

Not sure I want to keep the notes' widget. It's a new thing I am trying out as of this writing. Hopefully, it will replace a constant opening and closing of empty text editors lol.

The login keyring not unlocked

The login keyring is manually unlocked during box setup but was missed this time around, with the implication that Chrome is asking for the user password. Only affects version 10.0.2.

3D acceleration makes the machine super slow

With VirtualBox's 3D acceleration enabled, the machine performance will come down to a painfully slow crawl never to return again.

This only happens after a window is maximized or snapped to one of the sides of the desktop.

But, leave 3D acceleration off and the VM should be performant and "snappy" - yes, even
after maximizing a window.

This is an upstream issue, but I should find Oracle docs/forum threads discussing this topic and mark this issue as resolved as soon as the Guest Additions installed in this box has fixed the issue.

To clarify; actions that are needed by the end user is absolutely none. Simply don't turn on 3D acceleration.

The packaging process will transfer 2D- and 3D acceleration settings from the VirtualBox box to the Vagrant box and ultimately to the VM instance the end user creates. This project will ensure those correct acceleration settings has been applied before packaging and distribution. Currently, 3D acceleration is off [and 2D is off as it applies only to Windows guests]. 3D acceleration will be enabled by the box once this feature starts working correctly, which is probably never.

How do I know the settings are transferred you ask?? Basically through a hands-on experiment.

vagrant package generates a box file, which is an archive of some sort. Inside this guy, we find another file: box.ovf. This file is mostly concerned with describing the hardware of the future VM. Inside this file, we find a display element which would look like this if acceleration is not enabled prior to packaging:

<Display VRAMSize="256"/>

..with acceleration turned on it would look like this:

<Display VRAMSize="256" accelerate3D="true" accelerate2DVideo="true"/>

I empirically established these settings also came into effect when instantiating a new VM off of the box.

Box fails to provision due to a lock file being locked

Each apt-get (also apt and aptitude?) process instance lock a lock file to make sure it never runs concurrently (because otherwise, shit happens?).

Recent Ubuntu/Debian releases have an "apt daily" timer setup which fires off on boot (I believe this comes as part of the unattended-upgrades package). This will cause the lock file to be locked and subsequent provisioning done by Vagrant that uses apt-get will fail. It has also been reported that it makes the machine startup slow.

Actually, /lib/systemd/system/apt-daily.timer is configured to fire the timer each day at a random time. But it also has Persistent=true set which makes the machine catch up a missed event immediately on boot.

Setting Persistent=false (default value) should "fix the problem". But I don't consider this an optimal solution for two reasons.

Firstly, this reduces the likelihood of the collision to happen but does not definitively get rid of the problem, the chance is still there if that random event time happened to be right at boot. Secondly, I agree with this comment that the update process shouldn't run at a random time at all. It should be deterministic (at least to some degree) and occur some short time after boot.

Solution: Configure the apt daily timer such that it elapses 15-45 minutes after boot. It may also be delayed up to one hour at the discretion of the system (to minimize CPU wake-ups). Repeat every day the machine stays awake.

Some good-to-have links:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.