Python book that caters to C users?
All times are GMT +1. The time now is 02:40 AM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
Python book that caters to C users?
[ubuntu] I tried to install teamviewer on 14.04 64 bit. But i couldn't install libsm6:i386.
Hello,
I have Ubuntu 14.04 64bit. I have been trying to install teamviewer on my machine. But I could not install libsm6:i386 that is one of teamviewer dependencies.
I tried below.
Code:
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install libsm6:i386 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libsm6:i386 : Depends: libuuid1:i386 (>= 2.16) but it is not going to be installed E: Unable to correct problems, you have held broken packages
So I tried to install libuuid1:i386. It required another dependencies over and over again...
Could you tell me what should I do?
[ubuntu] I tried to install teamviewer on 14.04 64 bit. But i couldn't install libsm6:i386.
So glad to be Windows free (sortof) again!
So I consider myself if not an uber computer geek at least a "power user", and tried to keep my dual boot setup of Windows 10 and Ubuntu 16.04 for as long as I could. I need Windows currently because of some Windows-only software I need for my classes (hopefully won't need these ever again after I graduate). I was really fed up with Windows 10 (don't like all the telemetry crap, don't use the Windows app store, Cortana, forced updates, confusing settings options, interface in general). My last straw was the other night I had some school documents open and unsaved, and Windows decided to just restart on its own to apply some updates.
So I backed everything up, completely wiped Windows 10, did an Ubuntu 16.04 install with the option "erase disk and install Ubuntu", and now I am setting up a Virtualbox Windows 7 VM for those pesky Windows needs. So glad I don't have to deal with Windows 10 anymore, glad that I don't have to dual boot and just have Ubuntu as my main OS, and glad that Virtualbox is so awesome that I can use Windows through it and it's remarkably quick.
Anyway, just feel relieved
So glad to be Windows free (sortof) again!
New install went wrong
All times are GMT +1. The time now is 12:45 AM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
New install went wrong
Launcher icons, file names, and Libreoffice text won't load
All times are GMT +1. The time now is 12:45 AM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
Launcher icons, file names, and Libreoffice text won't load
Turn off keyboard backlight, Asus laptop (Ubuntu Mate 16)
All times are GMT +1. The time now is 11:40 PM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
Turn off keyboard backlight, Asus laptop (Ubuntu Mate 16)
hyphen key changes first character in a term from lower case to upper case
When typing a password or in libre office a sequence of letter, and include - (hyphen) or "minus" the first character, if in lower case, changes to upper case letter.
Thus I can't login directly. I must write the pw in text, correct, and then copy/past. which is quire annoying.
what is the reasin that the "-" key behaves this way.
Thank you for your support
using Asus Model N551J with Ubuntu 16.04.1 LTS
hyphen key changes first character in a term from lower case to upper case
[ubuntu] Screen doesn't turn off when I close the lid
Hi
I just installed Ubuntu 16.04 on my Lenovo Ideapad s510p Touch. I've tried getting the computer to suspend when I close the lid but without success.
I've tried the normal System Settings, no good.
I've tried dconf-editor: org->gnome->settings-daemon->plugins->power: lid-close-ac-action(suspend), lid-close-battery-action(suspend), lid-close-suspend-with-external-monitor(true), no good.
I've tried manually editing /etc/systemd/logind.conf, un-commenting HandleLidSwitch=suspend and HandleLidSwitchDocked=suspend, no good.
Now, I've discovered that when I close down the lid, the screen doesn't even turn off. I can see the light through the crack. I think that's a bit odd. Maybe not?
I would like my laptop to suspend when I close the lid, or at the very least, to turn the monitor off. Anybody know about this or can help me solve it? =)
I'm grateful for whatever help you can give. Thanks!
Simon
[ubuntu] Screen doesn't turn off when I close the lid
[ubuntu] openssl error
All times are GMT +1. The time now is 11:20 PM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
[ubuntu] openssl error
Minecraft freezing on Xubuntu
All times are GMT +1. The time now is 10:10 PM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
Minecraft freezing on Xubuntu
[ubuntu_mate] HDMI works with Live Iso but not with installed OS
Hi! On a notebook the HDMI secondary display output is not working (no signal) after fresh install of UbuntuMate 16.04. It is working properly with the Live Iso from the very beginning of the boot process. Nouveau driver in use in both cases.
What may trigger this behaviour? What should I investigate or how should I proceed? Any hint will be very appreciated. Thanks.
Additional informations:
- Notebook: Compaq Presario CQ60-203EL
- External HDMI TV: Samsung LE32B530P7W
- Nvidia proprietary driver behaves in the same way not solving the issue under Ubuntu 16.04.
- Works with the very same hardware, free and proprietary driver (version 304.131) under Ubuntu 12.04.
- System update ininfluent: OS install performed without internet connection. No change with full update.
- Xorg.log files show no differences between the two boot modes: everything seems to be properly detected and configured in the same way.
- Output of "xrandr --verbose" is the very same on Live and installed OS.
- Notebook uses Fn-f4 as the toggle (switch) display key. I'm unable to confirm Fn-f4 detection: acpi_listen shows no output. However, it is not necessary to use such feature with the Live Iso where mate-display-properties and xrandr properly handle display toggling on the fly.
- Audio: Ubuntu 12.04 detects one properly functioning HDMI stereo output. Ubuntu 16.04 reports a 7.1 HDMI output in addition. When an HDMI audio device is selected under Ubuntu Live 16.04 audio gets disabled and a dummy output is reported. Therefore audio through HDMI is not working under Ubuntu 16.04 neither with Live.
- Avoiding the use of the vt.handoff kernel boot parameter or use of nomodeset does not solve the issue.
- Forcing various manual settings through xorg.conf using "NVIDIA X Server Settings" (while using proprietary driver) is noneffective: from the notebook side everything seems to be already configured and working properly except for the signal not being detected by the secondary display.
- Kern.log files differentiate between Live Iso and installed OS mainly in a few additional lines about vesafb as follows:
--- /LiveISO_Logfile/kern.log
+++ /InstalledOS_Logfile/kern.log
-Command line: file=/cdrom/preseed/ubuntu-mate.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
+Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=9e0c6ddb-1b72-4d00-8b7f-3495c0844123 ro quiet splash vt.handoff=7
-RAMDISK: [mem 0x7e715000-0x7fffffff]
+RAMDISK: [mem 0x33b66000-0x35daafff]
-Kernel command line: file=/cdrom/preseed/ubuntu-mate.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
+Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=9e0c6ddb-1b72-4d00-8b7f-3495c0844123 ro quiet splash vt.handoff=7
-Memory: 2792464K/2881972K available (8356K kernel code, 1278K rwdata, 3920K rodata, 1476K init, 1292K bss, 89508K reserved, 0K cma-reserved)
+Memory: 2782888K/2881972K available (8356K kernel code, 1278K rwdata, 3920K rodata, 1476K init, 1292K bss, 99084K reserved, 0K cma-reserved)
-Console: colour VGA+ 80x25
+vt handoff: transparent VT on vt#7
+Console: colour dummy device 80x25
-tsc: Detected 2099.932 MHz processor
-Calibrating delay loop (skipped), value calculated using timer frequency.. 4199.86 BogoMIPS (lpj=8399728)
+tsc: Detected 2100.014 MHz processor
+Calibrating delay loop (skipped), value calculated using timer frequency.. 4200.02 BogoMIPS (lpj=8400056)
-smpboot: Total of 1 processors activated (4199.86 BogoMIPS)
+smpboot: Total of 1 processors activated (4200.02 BogoMIPS)
-Freeing initrd memory: 25516K (ffff88007e715000 - ffff880080000000)
+Freeing initrd memory: 35092K (ffff880033b66000 - ffff880035dab000)
-audit: type=2000 audit(1469294993.004:1): initialized
+audit: type=2000 audit(1469649024.116:1): initialized
+vesafb: mode is 640x480x32, linelength=2560, pages=0
+vesafb: scrolling: redraw
+vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
+vesafb: framebuffer at 0xc5000000, mapped to 0xffffc90000800000, using 1216k, total 1216k
+Console: switching to colour frame buffer device 80x30
+fb0: VESA VGA frame buffer device
- Magic number: 8:464:492
-rtc_cmos 00:02: setting system clock to 2016-07-23 17:29:54 UTC (1469294994)
+ Magic number: 8:838:850
+ index2: hash matches
+rtc_cmos 00:02: setting system clock to 2016-07-27 19:50:25 UTC (1469649025)
+checking generic (c5000000 130000) vs hw (d0000000 10000000)
+checking generic (c5000000 130000) vs hw (c4000000 2000000)
+fb: switching to nouveaufb from VESA VGA
+Console: switching to colour dummy device 80x25
-tsc: Refined TSC clocksource calibration: 2100.000 MHz
-clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1e4530a99b6, max_idle_ns: 440795257976 ns
+tsc: Refined TSC clocksource calibration: 2099.999 MHz
+clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1e452fc488e, max_idle_ns: 440795307124 ns
-nouveau 0000:02:00.0: DRM: allocated 1920x1080 fb: 0x50000, bo ffff88007f88b800
+nouveau 0000:02:00.0: DRM: allocated 1920x1080 fb: 0x50000, bo ffff8800356e3800
[ubuntu_mate] HDMI works with Live Iso but not with installed OS
How to update ffmpeg
hey guys,
i 'm having a few problems and i'd appreciate if someone helps
1.
currently im using ffmpeg version 2.8.6-1ubuntu2 and want to upgrade it to 3.1.2
Note : i used this guide to install it in the first place http://ift.tt/1lboHUu
2.
i downloaded some tutorials and documentations to use ffmpeg and finally i get it to record,but here is the problem
there is alot of codes and variables and i get lost sometimes, so lets say i want to upload a video to youtube what code should i use to record my screen and my voice and to get this as a result :
Container: MP4
Audio codec: AAC-LC
- Channels: Stereo or Stereo + 5.1
- Sample rate 96khz or 48khz
Video codec: H.264
- Progressive scan (no interlacing)
- High Profile
- 2 consecutive B frames
- Closed GOP. GOP of half the frame rate.
- CABAC
- Variable bitrate. No bitrate limit required, though we offer recommended bit rates below for reference
- Chroma subsampling: 4:2:0
Bitrate
Recommended video bitrates for uploads
| Type | Video Bitrate, Standard Frame Rate (24, 25, 30) |
Video Bitrate, High Frame Rate (48, 50, 60) |
|---|---|---|
| 2160p (4k) | 35-45 Mbps | 53-68 Mbps |
| 1440p (2k) | 16 Mbps | 24 Mbps |
| 1080p | 8 Mbps | 12 Mbps |
| 720p | 5 Mbps | 7.5 Mbps |
| 480p | 2.5 Mbps | 4 Mbps |
| 360p | 1 Mbps | 1.5 Mbps |
| Type | Audio Bitrate |
|---|---|
| Mono | 128 kbps |
| Stereo | 384 kbps |
| 5.1 | 512 kbps |
Note: those are the Recommended upload encoding settings for youtube
and thnx in advance
How to update ffmpeg
[ubuntu] How do I map HP Probook 4520s keyboard?
All times are GMT +1. The time now is 08:40 PM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
[ubuntu] How do I map HP Probook 4520s keyboard?
Mini install auto-login PROBLEM no solution works
I have ubuntu 16.04 mini install on my htpc with openbox and I want to autologin, startx and start kodi. I got the startx thing done but cannot figure out autologin. I have tried editing grub and following [url=http://ift.tt/1D68Lc3] these [\url] instructions. I have put 'exec /bin/login -f username' everywhere, in /etc/rc.local added it to a script in /etc/rc3.d I have put it in /etc/tty1.conf, I have tried various attempts using /sbin/getty I even followed the commands here [url=http://ift.tt/2bxPEUz] which requires compiling a little login program, putting it in sbin and adding an init script. Every time I end up at the login prompt. I don't want to use lightdm because I want it to be as lightweight as possible (as well as the fact I shouldn't have to). I tried using /bin/login -f username >> /home/username/login.log and the file is always empty. Nothing in auth.log or boot.log gives useful information. I normally don't post questions because they all have usually already been answered but I have tried every method I can find AND THEY ALL FAIL and I can't figure out why.
Edit: What the hell is up with the BB code here?
Mini install auto-login PROBLEM no solution works
Settings GUI Crashes
Hello,
My settings GUI Crashes. As you can see in the gif.
I tried old kernels, so the new kernel did not do this.
I recently restored a back up, but this has never happened to me before when restoring a back up.
It was working last month.
Everything else is working fine. None of the settings are broken. I just can not access the settings GUI in any of my desktop environments. Cinnamon. Unity, Gnome, Elementary, etc.
I recently installed a new kernel from the update manager. Well...I will just add a pick of recently updated things. Mono is not the cause. At least I do not think Mono complete kills the settings. I installed Mono complete on July 23rd.
Settings GUI Crashes
[other] Booting ISO from grub
Greetings everyone!
I'm trying to boot ISO from Grub and I've followed instructions from wiki and few tutorials to know what it is
So far, I've done this:
>Made a separate folder called "live" on system partition, which is dev/sda9 partition on my existing dual boot with windows 10. As a root. (My home is not separate partition)
>Copied my ISO file (which is Kali.iso) to this folder as a root.
>Opened 40_custom (in grub.d) folder in gedit as a root
Now, here is what I'm not sure about
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Kali Linux' --class os --class gnu-linux --class gnu --class os --group group_main {
set isofile="/live/kali.iso"
insmod ext4
insmod loopback
insmod iso9660
loopback loop (hd0,9)$isofile
search --no-floppy --fs-uuid --set=root 657f4609-e940-4dd1-a909-30ca312126d7
linux (loop)/live/vmlinuz boot=live fromiso=/dev/sda1/$isofile noconfig=sudo username=root hostname=kali
initrd (loop)/live/initrd.img
}
Is this structure of the file correct?
UUID is copied from sudo bilkd for my /dev/sda9 partition, which is default for my existing Linux operating system in this dual boot
exact output
/dev/sda2: LABEL="SYSTEM_DRV" UUID="AE04-8F6E" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="14cacb72-b6d0-4507-bf95-1c79e5273884"
/dev/sda3: LABEL="LRS_ESP" UUID="DE07-DDC0" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="195a7877-a47e-48ec-8461-5495a30fff87"
/dev/sda5: LABEL="Windows8_OS" UUID="06C00B4EC00B4401" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="9ff9655b-8a49-4616-912f-8db52eadfe06"
/dev/sda6: LABEL="New Volume" UUID="7C2A29002A28B8D2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="93372d34-5976-4e43-8887-bca3cfcf4405"
/dev/sda7: LABEL="New Volume" UUID="2C0C42F30C42B81A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0b5897db-b7f9-4552-a6bd-f38c3fad9d25"
/dev/sda8: LABEL="New Volume" UUID="74B053D1B0539906" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8d7566bf-bbda-4fd2-b38e-624e18cc6fa7"
/dev/sda9: UUID="657f4609-e940-4dd1-a909-30ca312126d7" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="d552ae66-3c05-4493-84ac-18e638304dbb"
/dev/sda10: LABEL="PBR_DRV" UUID="48500DF4500DE990" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0d987a36-3c5f-4cd2-97c4-cd83736ebeaa"
/dev/sda11: UUID="9b00fd59-fad0-425c-8c70-60bd77a268b7" TYPE="swap" PARTUUID="0bec978e-97c6-475d-be65-2f79b810edef"
/dev/sda4: PARTLABEL="Microsoft reserved partition" PARTUUID="8f6cbae8-6d37-46bc-bce2-2ba3adf7dcdd"
[other] Booting ISO from grub
Extremely Unhappy With Ubuntu
Hello, I have just installed Ubuntu again to do web development and everything has been working great for some time. The computer froze on the weekend in Chrome and I had to hold down the power button. Upon restarting it wouldn't boot as there were hard disk errors. I managed to get in and run an fdisk to fix the errors. However, when I rebooted the system wouldn't start because systemd had many failures, and the login service failed.
I searched all over the internet and couldn't find any basic help on how to repair broken services on start. I also was unable to find utilities to help the situation. Surprisingly, I even read I should be able to reinstall Ubuntu and maintain all my local files and folders, but the Ubuntu install couldn't even find the existing Ubuntu installation and said "unknown linux distribution."
I even managed to install without reformatting the drive. But then when I started ubuntu the package manager wouldn't work and dpkg kept failing with depcon: error in linux package manager due to dependencies and linux generic or something like that. I tried everything that was supposed to fix it but I couldn't install any packages like vim. It always failed.
This was getting so frustrating I ended up reformatting the entire drive and now everything works fine.
How come a modern operating system like Ubuntu Desktop has so many problems that are unrecoverable and it seems unacceptable that there isn't more support than what is out there. To have Ubuntu become unrecoverable like this seems to be totally unacceptable. Isn't there a utility or repair tool (not for grub), but for other issues. In fact, grub is also a problem, I installed ubuntu on my external drive but now I am unable to boot without my external drive (even though grub is on main windows partition). I have tried grub repair and it doesn't work. Nothing works without plugging in my external hd. I feel like I am back in the 80's.
My machine is a 3 year old Dell Lenovo laptop with 16gigs of ram and a lot of hard drive space. Please let me know what is happening here, thanks!
Extremely Unhappy With Ubuntu
[ubuntu] Unity : Click on address bar for path
All times are GMT +1. The time now is 07:40 PM.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
[ubuntu] Unity : Click on address bar for path
New username needed please
Hi there,
Apparently my username violates forum rules: "Religion: This is a forbidden topic forum wide. Please find another venue to exercise your freedom of speech on this topic." (Since Yahweh is the Hebrew name for God, and Yahwehnissi references a Bible passage).
I would therefore like to please request that my username be changed - to "WrexhamWill." Thank you
I'd just like to be clear that:
1) I didn't go out of my way to make this my username - it's just my email address so it was automatically suggested to me as my username when I signed up and I didn't think to change it.
2) I don't think this clearly violated the rules as currently written - as to me the wording "forbidden topic" suggests; "We do not want religion in any way discussed (or any attempt made to bring it up for discussion / proselytise, etc) - 'cos it's a contentious topic and in no way relevant to this forum, so let's not have it here." It does not suggest to me that "any reference whatsoever to religion, even in your username, is forbidden." I'm perfectly happy to abide by the rule that "any reference to religion is forbidden," but I recommend that the wording of the rules be amended to make clear that this is the case.
Thanks,
Will.
New username needed please