On my bq Aquaris E4.5 I want to create a launcher button for the App Scope to start a shell script. Is there an easy way to create such a launcher?
Ralf Hersel's questions
I want to run a shell script on my "bq Aquaris E4.5 Ubuntu-Edition" phone in the Terminal App and created a shell script in /home/phablet/Documents/sync.sh
#!/bin/sh
# sync contacts and calendar with OwnCloud
syncevolution owncloud calendar-defaultcalendar
syncevolution --sync slow owncloud contacts
exit 0
The script is executable but returns:
bash: ./sync.sh: /bin/sh: bad interpreter : Permission denied
I'm not sure what interpreter runs on Ubuntu-touch (bash, sh, ??) and I'm also not sure what rights the default user has.
So what's wrong or missing?
I noticed that WebApps on my Aquaris E 4.5 Ubuntu Editon are somehow frozen when they lose the focus or when the phone goes on stand-by. This is annoying when e.g. an Internet Radio WebApp is pushed to the background and stops playing music. Even keeping it on top does not help because it will stop playing as soon as the phone switches to stand-by. Can this behaviour be influenced by a setting?
Since a fresh install of Ubuntu 14.04 I'm loosing internet connection after a few minutes. I comes back after reboot or wakeup from standby. That seems to be a known issue with the Realtek RTL8188CE wireless driver. The same worked perfect with Ubuntu 12.04.
Here are the details:
uname -a
Linux annika-notebook 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lspci -nnk | grep -i net -A2
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:9181]
Kernel driver in use: rtl8192ce
08:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
Subsystem: QUANTA Computer Inc Device [152d:0872]
Kernel driver in use: atl1c
cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 annika-notebook
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ifconfig -a
eth0 Link encap:Ethernet Hardware Adresse e8:9a:8f:ca:6d:92
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:11699 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:11699 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:8044499 (8.0 MB) TX-Bytes:8044499 (8.0 MB)
wlan0 Link encap:Ethernet Hardware Adresse 9c:b7:0d:33:fa:cd
inet Adresse:192.168.1.37 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: fe80::9eb7:dff:fe33:facd/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:351596 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:216953 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:498072663 (498.0 MB) TX-Bytes:23696977 (23.6 MB)
wlan0 IEEE 802.11bgn ESSID:"UNTEN"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:E9:D0:A7
Bit Rate=18 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:135 Missed beacon:0
wlan0 IEEE 802.11bgn ESSID:"UNTEN"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:66:E9:D0:A7
Bit Rate=18 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:135 Missed beacon:0
route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
cat /var/lib/NetworkManager/NetworkManager.state
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
# PCI device 0x1969:0x1083 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:9a:8f:ca:6d:92", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
cat /etc/udev/rules.d/70-persistent-net.rules | egrep -i 'device|sub' -A3
# PCI device 0x1969:0x1083 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:9a:8f:ca:6d:92", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8176 (rtl8192ce)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="9c:b7:0d:33:fa:cd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
I want to create a shutdown icon for the launcher in 13.04. In former versions of Ubuntu I used this desktop file and put it in the launcher:
.local/share/applications/indicator-session-shutdown.desktop
[Desktop Entry]
Name=Shut Down
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --shutdown
Icon=system-shutdown
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session
I wonder if
/usr/lib/indicator-session/gtk-logout-helper --shutdown
is still the correct command in 13.04.
Here is a screenshot with old shutdown dialog:
Here is a screenshot with new shutdown dialog:
I want to use Qt for developing Ubuntu desktop, phone and tablet applications but I don't want to learn a new programming language (C++, JavaScript). Is it possible to write Qt application in Python utilizing Qt-Creator as IDE?
I was following the step-by-step guide on how to develop an Ubuntu Phone application but Qt Creator throughs the error message (module "QtQuick" version 2.0 is not installed) when I run it with QMLscene. Seems to me that Qt Creator utilizes Qt4 instead of Qt5. How can I fix this?
On my Notebook (with Realtek ALC269VB) the sound over speakers works well until I plugin the headphones, Speakes get muted as expected but no sound on headphones. I noticed that as soon as I plugin the headphones, Alsamixer, Ubuntu Sound Control and pavucontrol switched to 'Headphones' which have no effect (does not really exist). When I switch back to 'Speakers' everything is fine; I can control the sound of headphones. This is a kind of work-around (starting pavucontrol to switch from Headphones to Speakers) but not relly satisfying.
My complete sound configuration and a screenshot of Alsamixer.
You may notice that Alsamixer says 'Intel Cougarpoint HDMI' instead of 'Intel HDA Realtec ALC269VB' what it did two days ago. Anyway, I couldn't find any differences between it.
My question:
In order to easy the work-around: is there a command line option to switch to 'Speakers'?
In Software Center, I have to run through the purchasing process even if a product is priced with 0$ (e.g. 'Full Circle Magazine'). That makes no sense to me. If the price of the product is 'zero', It should not lead through the purchasing process and instead should just let me install the product straightaway.
Can I know why this is the case and can someone point me to the design decisions for this if there are any?
I know how to create a DEB and push it into my PPA at Launchpad but I want to know how I can include a screenshot of the application that it shows up in Software-Center.
I like the concept of an activities centric desktop and I wonder if this can be achieved in Unity. For me, an activity is a couple of applications that belong to the same subject, like 'photo manipulation', 'software development', 'office work', 'social activities', 'music and video'. I would like to utilize the virtual desktops to arrange applications that belong to the same activity group.
Example: Desktop 1 contains all applications that belong to 'office work' Desktop 2 contains all applications that I need for 'software development' Desktop 3 contains all applications that I usually need for 'photo works'
Therefore I would like to give names to the virtual desktops that reflect their purpose. And I would like Unity to auto-start the required applications when I start my computer or when I switch to one of the virtual desktops.
Is this possible with Unity (or any other desktop)?
All my applications are already in my PPA in Launchpad. Now I want to submit them to MyApps. But MyApps insists in getting something to upload which makes no sense because everything is already uploaded and confirmed in my PPA. I put the information about the PPA in the 'additional notes for the reviewer'. Please help me to proceed.
Since today the Unity systray icons for network, audio and messaging do not react on mouse clicks. Only data, me-menu and system-menu do react. When I open of them and move the mouse to the non-reacting icons they open. How can I fix or reset the Unity panel (indicator area)?
Possible Duplicate:
Unity crashed, how can I report that to developers?
Unity crashes every now and then (but daily). I cannot recognize any pattern of what caused it to crash. After the crash it restarts automatically the desktop. I have a Nvidia Geforce Go 7600.
Is there any log file that could be inspected or reported?
Is it possible to browse by genre in Banshee? Per default I only see browsing enables by artist and album. Can the browser be configured to support genres as well?
Since Banshee became the default player in Natty, I want to import my playlists from Rhythmbox. Banshee offers an 'import playlists' feature but it does not recognize Rhythmbox's playlists (in folder home/user/.local/share/rhythmbox).
Unity will introduce a new desktop paradigm for most of us. Therefore alot of people may wonder how to perform their common use cases, e.g.:
- how do I open an application?
- how do I find an application?
- how do I configure my desktop?
- how do I utilize the virtual desktops in a meaningful way?
- how do I add an application to the launcher?
- how do I switch between open applications?
- how do I categorize my applications like I was used to do it in the old menu?
- how do I assign personal hotkeys (not numbers) to my favourite applications?
- and so on ...
Is there a guideline or documentation available that helps users to transition to the new desktop?
I understood that the Unity desktop in Natty uses Compiz and therefore requires a graphics card driver that support composition effects. Does this mean if I have an ATI or NVIDIA card I'm forced to install a proprietory driver because the open source drivers for those cards do not support Compiz?
I always get this error when I click on a FTP bookmark in Nautilus:
"DBus error org.freedesktop.DBus.Error.InvalidArgs: Mountpoint Already registered"
When I click a second time it works (not always). This is annoying and makes working with FTP servers no fun. Is there any work-around for this problem?