When a new user is created, they are assigned to a set of default groups. How do I change which default groups are assigned?
Sepero's questions
This question is in reference to another question that has not been answered. When I upgraded Ubuntu, all my PPAs were removed (which I'm ok with). Is there a way to list all the packages that no longer have a repository associated with them?
I recently upgraded from Ubuntu 12.04 to 14.04. While using 12.04, I installed several packages via PPA's. Now that I've upgraded to 14.04, I've discovered that some of the PPA packages from 12.04 are still installed. All of those PPA repositories were removed during upgrade.
I would like to uninstall the PPA package versions of any package that exists in the Ubuntu repositories. For example, I have a SVN version of Audacity that is newer than the version in the Ubuntu repositories, but I want to replace it with the Ubuntu repository version.
I want to do the same thing with all PPA installed packages. I tried pinning this in /etc/apt/preferences.d/main
Package: *
Pin: release a=trusty
Pin-Priority: 2001
Package: *
Pin: release a=trusty-updates
Pin-Priority: 2002
Package: *
Pin: release a=trusty-security
Pin-Priority: 2003
Then
apt-get update; apt-get upgrade
Unfortunately, it didn't downgrade any packages like I hoped. For example, running apt-cache show catfish
shows version 1.0.2-2 is available from the Ubuntu repositories, but I still have 1.0.82-1~precise~ppa1 installed.
I want to Downgrade all packages to their current release in the Ubuntu repositories.
Ubuntu 14.04 and Skype 4.2 installed. I've set up AppArmor using the Skype AppArmor profile from this wiki. When I use AppArmor with Skype, it has no audio. Is anyone using AppArmor successfully with the latest Skype? How can I make this work?
UPDATE:
The profile below is what I now use successfully. I commented out a few permissions that I think Skype shouldn't have. If you have problems with this profile, then try removing all hashes (#) after line 15, and reload the profile with apparmor_parser -r /etc/apparmor.d/usr.bin.skype
.
# Last Modified: Tue Jun 24 05:59:42 2014
#include <tunables/global>
/usr/bin/skype {
#include <abstractions/audio>
#include <abstractions/consoles>
#include <abstractions/dbus-session>
#include <abstractions/gnome>
#include <abstractions/kde>
#include <abstractions/nameservice>
#include <abstractions/video>
deny /sys/devices/virtual/dmi/** r,
deny owner @{HOME}/docker** r,
deny owner @{HOME}/.mozilla/ r,
deny owner @{HOME}/.mozilla/** r,
# /dev/ r,
/dev/video[0-9]* mrw,
# /etc/ r,
/etc/asound.conf r,
/etc/machine-id r,
/etc/xdg/Trolltech.conf r,
# /etc/xdg/Trolltech.conf rk,
/etc/xdg/sni-qt.conf r,
# /etc/xdg/sni-qt.conf rk,
/sys/devices/pci*/*/usb[0-9]*/*/{idVendor,idProduct,speed} r,
/sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_{cur_freq,max_freq} r,
# /tmp/** rwlk,
/usr/bin/kde4-config mrPUx,
/usr/bin/skype mrix,
/usr/bin/xdg-open mrPUx,
/usr/lib{,32}/libv4l/v4l2convert.so r,
# /usr/lib{,32}/libv4l/v4l2convert.so mr,
/usr/lib{,32}/skype/skype mrix,
/usr/share/icons/*/index.theme r,
# /usr/share/icons/*/index.theme rk,
/usr/share/nvidia/nvidia-application-profiles-*-rc r,
# /usr/share/skype/ r,
/usr/share/skype/** r,
# /usr/share/skype/lib/libQtWebKit.so.4 mr,
/{run,dev}/shm/pulse-shm* r,
# /{run,dev}/shm/pulse-shm* rwk,
# /home/ r,
owner @{HOME}/ r,
owner @{HOME}/.Xauthority r,
owner @{HOME}/.cache/fontconfig/* r,
owner @{HOME}/.kde/** r,
owner @{HOME}/.Skype/ r,
owner @{HOME}/.Skype/** rwk,
owner @{HOME}/.config/Skype/ r,
owner @{HOME}/.config/Skype/** rwk,
owner @{HOME}/.config/Trolltech.conf r,
# owner @{HOME}/.config/Trolltech.conf rwk,
owner @{HOME}/.config/fontconfig/fonts.conf r,
owner @{HOME}/.config/gtk-3.0/bookmarks r,
owner @{HOME}/.config/oxygen-gtk/argb-apps.conf r,
# owner @{HOME}/.config/oxygen-gtk/argb-apps.conf rw,
owner @{HOME}/.config/pulse/cookie r,
# owner @{HOME}/.config/pulse/cookie rwk,
owner @{HOME}/.icons/** r,
owner @{HOME}/.kde4/share/config/gtkrc-2.0 r,
owner @{HOME}/.kde4/share/config/kdeglobals r,
# owner @{HOME}/.kde4/share/config/kdeglobals rwk,
owner @{HOME}/.kde4/share/config/oxygenrc r,
owner @{HOME}/Downloads/ r,
owner @{HOME}/Downloads/** rw,
owner @{PROC}/[0-9]*/cmdline r,
owner @{PROC}/[0-9]*/fd/ r,
owner @{PROC}/[0-9]*/status r,
owner @{PROC}/[0-9]*/task/ r,
owner @{PROC}/[0-9]*/task/[0-9]*/stat r,
@{PROC}/*/net/route r,
@{PROC}/[0-9]*/net/arp r,
@{PROC}/sys/kernel/{ostype,osrelease} r,
@{PROC}/sys/vm/overcommit_memory r,
}
I'm on Ubuntu 14.04. According to the help menu in Audacity, it is version 2.0.6-alpha-May 31 2014, and it has bugs and occasionally crashes in the middle of recording. Losing an hour of recording/edits is not cool.
Is there a ppa download for the stable Audacity 2.0.5?
I'm trying to (unsuccessully) correct the timezone on my system:
root@102c5d7bfc0d:/# dpkg-reconfigure tzdata
debconf: unable to initialize frontend:
debconf: (Can't locate Debconf/FrontEnd/.pm in @INC (you may need to install the Debconf::FrontEnd:: module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 34) line 2.)
debconf: falling back to frontend: Noninteractive
Current default time zone: 'Etc/UTC'
Local time is now: Sun Jun 15 10:15:52 UTC 2014.
Universal Time is now: Sun Jun 15 10:15:52 UTC 2014.
How can I get dpkg-reconfigure to interactively ask me for my time zone?
Which Ubuntu package installs/uninstalls the default mouse cursor pointer?
Btrfs does not appear to support errors=remount-ro. In /etc/fstab, what option can I use with Btrfs to achieve equivalent result as "errors=remount-ro"?
If a laptop is powered on and connected to AC power, is there a way to issue a command that tells it not to charge the battery?
EDITED:
Perhaps charging of the battery may be stopped if there were a way to fool the system into thinking the battery is already at 100% charge.
Is there a way to have the number of workspaces automatically increase and decrease intelligently?
For example: I set a minimum of 2 workspaces, but if I have windows on those workspaces, a 3rd workspace is automatically created. If I close out the windows on workspace 2, then workspace 3 is removed.
I'm trying to use a program called 'pyrit' which can use OpenCL. When I run the program, I get this warning:
Failed to load Pyrit's OpenCL-core ('Failed to enumerate OpenCL-platforms (Unknown CLresult)')
(the code for pyrit to work with opencl has been successfully compiled and installed already)
I have an Nvidia Hybrid Optimus graphics card (geforce gt 630m), and I assume I need to enable OpenCL for it to work properly. I want to avoid CUDA if I can, but I don't know if that's an option.
I'm not sure what I need to do to enable OpenCL. Should I just follow the normal instructions for installing CUDA as described here? How can I get nVidia CUDA or OpenCL working on a laptop with nVidia discrete card/Intel Integrated Graphics?
How can I find out what type of security a wireless access point (essid) is using? wep/wpa/wpa2 (preferably using commandline tools)
I have an Asus N53SM laptop that I leave running for several weeks at a time. I never put it in hibernate or suspend, I only close the lid when I'm not using it. After a few days or weeks of running, the touchpad and keyboard will Both lock up (at the same time) for no apparent reason. I could be just surfing the internet when it happens.
The touchpad and keyboard seem to only lock up when I'm actively using the laptop (not when idle), which may mean it's related to something I press, but I'm not sure? The touchpad never locks or unlocks when Pressing FN and the designated touchpad lock key (it does not seem to work on Linux).
While the touchpad and keyboard are locked, I am able to plug in my USB mouse and successfully use it to control the screen cursor. I can also remotely get into the system with vnc and ssh, everything seems to run fine there as well. No processes appear out of control. It's just the laptops physical touchpad and keyboard that are locking up.
How might I go about diagnosing this problem?
- What system logs to look at? (anything specific to look for in them?)
- Perhaps I should try reloading some modules?
- Any thing else I should inspect?
I want to use an image as a video stream source in flashplayer, for websites like ustream. Preferably something light on memory/cpu.
From what I've read, xawtv might be able to create a fake vloopback source from a picture?
Thoughts on how to accomplish this?
PS. I know about ws4l, but it is VERY resource heavy for this simple purpose.
Everyone knows that in general, Nvidia has the best supported graphics cards under Linux. But I don't want to buy into Nvidia's proprietary drivers if I don't have to. ATI has open source drivers, but they have almost no support, and their open source drivers are significantly worse than their closed source drivers. Intel has open source drivers, but their graphics are all integrated and built into the motherboard.
Are there any graphics card manufacturers which have open source drivers and are actually friendly with the open source community? I would gladly like to purchase from them if they exist.
I'm using Kdenlive to edit some video I recorded. I have some "uh"s, "um"s, and dead air I want to delete quickly. For every little bit I need to remove, I'm having to:
- Select track
- Set end cutting point
- Cut clip (Shift+R)
- Set start cutting point
- Cut clip (shift+R)
- Select portion to delete
- Press delete
- Right-click in empty area
- Click "remove space"
This is a real pain. :-( I'm used to Cinelerra, where you just click-drag a selection, then press delete. Unfortunately, the codecs in Cinelerra are sorely out of date. How can I speed this process up in Kdenlive?
I'm not sure what I pressed to mess this up. I was on tty1, but it doesn't look like I'm on tty1 anymore. When I press any key on the terminal it just prints weird letters. Pressing Ctrl-Alt-F1 through F7 also just prints characters.
Multiple times I tried typing in reset
and [Enter] into the terminal, but it isn't fixing the problem. I tried typing Ctrl-q then reset
, but still just crazy characters.
I'm pretty sure the kernel is still running correctly because, before this happened, I started a very large file transfer from a host computer to this computer. The files still appear to be copying correctly from the host computer.
https://i96.photobucket.com/albums/l169/extralifestar/bad_term.png
Anyway to restore a system like this?
I often run programs maximized (leaving no desktop area). I want to be able to use my mouse alone to open the menu, and my mouse has no scroll wheel. I'm just going for a simple old school windows look.
How can I put a menu button on the fluxbox toolbar?
I have some optical discs that are sorely scratched. I've cleaned the discs, but they still have trouble reading. When trying ddrescue to backup the discs, it will read up to X bytes, and fail on all bytes after that (because the drive needs to be ejected before it can resume from the read failure).
Is there any good software specifically for the purpose of copying scratched optical discs to an image file?