Posts

Emacs C IDE / Gnu Global helm-gtags - Ask Ubuntu

hello ubuntu community, so first of i'd quite new ubuntu (16.10) , linux. decided use windows little possible , wanted start learning programming language c. however, thought nice in emacs started learning emacs , did tutorials on emacs. basics , learning doing. found tutorial https://tuhdo.github.io/c-ide.html before installed lot of packages including helm , gtags , helm-gtags. installed ncurses libary in order install gnu global. so problem / question. first of if honest don't gtags is, thought gonna figure out when install (something navigation guess). under section 'source code navigation' talks about: "before using ggtags or helm-gtags, remember create gtags database running gtags @ project root in terminal: ".. , commands i think somehow have connect libary emacs. gnu_global faq written create link project folder reffering to: /usr/src/lib but in /usr/src directory no lib folder. guess , because ubuntu has different structures other lin...

Suspend on lid close doesn't work 16.04 - Ask Ubuntu

i've checked each , every option , possible solutions asus laptop doesn't suspend when close lid. settings set proper via menues nothing happens. when perform suspend ubuntu menu works perfect. ok, had add "network-manager restart" because of disabled wifi in end suspend , resume in general works. i have tested scripts other posts , in addition uncommented "handlelidswitch(docked)" events suspend didn't help. tried below with ubuntu 16.04 laptop doesn't suspend when lid closed nothing worked me. i able check external monitor lid switch in general works. checked /proc/acpi/button/lid/lid/state , found "closed" or "opened" correctly. in log of journalctl can see systemd-logind "watching system buttons lid" here relevant text: okt 21 15:35:28 dijana-asus systemd-logind[643]: watching system buttons on /dev/input/event0 (lid switch) a different laptop same 16.04 lts shows same entry in journalctl there suspe...

16.10 - Are there plans for snap packages to auto-update through Software Centre? - Ask Ubuntu

currently, of date of post, have run cli command snap refresh update snap packages, manually. does canonical have plans snap packages update automatically through software centre non-snap packages do? by default snapd auto-updates snaps. check output of sudo journalctl -u snapd.refresh.service to see how last updates went. note: documentation feature available here , needs update ( bug 1636383 ).

unity - Status bar icon indicators disappear when waking from suspend - Ask Ubuntu

Image
so, when wake suspend, happens: the missing icons skype , mega. when close 1 of programs, other icon appear, this: how can fix or make script refreshes status bar? as temporary solutions until bug fixed, can create file f.e. icons.sh (dont't forget give execution rights chmod +x) @ location: #!/bin/bash dbus-monitor --session "type=signal,interface=com.canonical.unity.session,member=unlocked" | while read msg; lock_stat=`echo $msg | awk '{print $nf}'` if [[ "$lock_stat" == "member=unlocked" ]]; killall unity-panel-service /usr/lib/x86_64-linux-gnu/unity/unity-panel-service& fi done after saving script, open ubuntu startup applications apps menu , configure script run after login: every time unlock screen, unity panel service automatically killed , started, keeping icons in place.

wireless - Wi-Fi connection fail after configuring wlan - Ask Ubuntu

Image
i have been trying configure wifi connection dns values correct according isp had provided. used network configuration gui ubuntu 14.04 panel , connection works perfectly: it might of importance publish ifconfig 's output when wi-fi connection alive , working: wlan0 link encap:ethernet hwaddr 70:1a:04:a4:f0:31 inet addr:192.168.1.104 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::721a:4ff:fea4:f031/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:4658 errors:0 dropped:0 overruns:0 frame:0 tx packets:5685 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:1534231 (1.5 mb) tx bytes:1228569 (1.2 mb) my problem occurred when out of curiosity, tried set values provided isp editing /etc/network/interfaces . deleted numbers dialog box shown above , put below information in interfaces file: auto wlan0 iface wlan0 inet static addres...

networking - SSH through VPN Chromebook - Ask Ubuntu

so, issue have chromebook crouton running on it. i've been using browser extension connect pre-set vpn avoid network's filters. but, 2 things happening i'm not sure how around/handle. the extension tunnels traffic browser, , not external applications/processes. if enable extension on chrome in chromeos environment, works in environment not ubuntu one, , vice-versa (so each environment has own separate instance). my main issue first point because want use ssh connect vps because can't on network use lot (and don't want use mobile hotspot.) included second point because i'm not sure environment should let handle network settings vpn tunneling or if conflict @ all. overall, want find way around network filters connect via ssh vps. can through desktop client or custom configurations, prefer not set own vpn server. i'd able along same lines using pre-set 1 in chrome extension. have ubuntu 14.04 unity desktop environment installed. update : have in...

Create a LXD-based Juju controller that works with physical MAAS - Ask Ubuntu

i have maas setup 5 servers, including region controller. can create lxd-based juju controller works physical maas? i lose machine juju controller each time deploy. there way keep 4 physical servers juju charms? last night mi solution has make juju lxd controler in maas server , "add-machine ssh:node.maas" every node... the bad 1 auto creation of new lxd machines when bundle-charm deploy, use de --to x point de phisical pc , add-unit --to x have redundancy. i have 4 nodes 2 on trusty , 2 on xenial, charms. in general think working good, today start openstack in cloud!