My workaround is: Create file ~/bin/gobi1000:
#! /bin/sh sudo /lib/udev/gobi_loader-25-generic /dev/ttyUSB0 /lib/firmware/gobi sudo pkill modem-manager
Set execution bit for this file:
chmod a+x ~/bin/gobi1000
place gobi1000.desktop in ~/.config/autostart:
[Desktop Entry] Type=Application Exec=/home/jakshi/bin/gobi1000 Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[ru_UA]=Gobi1000 3G activate Name=Gobi1000 3G activate Comment[ru_UA]=upload firmware and restart modem-manager Comment=upload firmware and restart modem-manager
add to /etc/sudoers:
%admin ALL=NOPASSWD: /lib/udev/gobi_loader-25-generic %admin ALL=NOPASSWD: /usr/bin/pkill
My workaround is:
Create file ~/bin/gobi1000:
#! /bin/sh gobi_loader- 25-generic /dev/ttyUSB0 /lib/firmware/gobi
sudo /lib/udev/
sudo pkill modem-manager
Set execution bit for this file:
chmod a+x ~/bin/gobi1000
place gobi1000.desktop in ~/.config/ autostart:
[Desktop Entry] jakshi/ bin/gobi1000 Autostart- enabled= true UA]=Gobi1000 3G activate ru_UA]= upload firmware and restart modem-manager
Type=Application
Exec=/home/
Hidden=false
NoDisplay=false
X-GNOME-
Name[ru_
Name=Gobi1000 3G activate
Comment[
Comment=upload firmware and restart modem-manager
add to /etc/sudoers:
%admin ALL=NOPASSWD: /lib/udev/ gobi_loader- 25-generic
%admin ALL=NOPASSWD: /usr/bin/pkill