PDA

View Full Version : how to open .deb file



kambagiri
20th August 2011, 08:09 PM
i tried to connect a bsnl 3g datacard, in that datacard i found bsnl-1.0.deb file how do i install it in fedora15

please give me a detailed process

rockdoctor
21st August 2011, 12:16 AM
It's been ages since I used it, but alien //http://kitenet.net/~joey/code/alien/ (http://forums.fedoraforum.org//http://kitenet.net/%7Ejoey/code/alien/) is probably the tool you want

kambagiri
25th August 2011, 03:24 PM
ya, i have downloaded the alien file and how to install it and also give a information about how to convert/install .deb file in f15 please don't mind as i am new to linux

leigh123linux
25th August 2011, 03:54 PM
Or you could use this to install it (the drawback is there is no uninstall)


su
ar vx bsnl-1.0.deb
tar -xzvpf --no-overwrite-dir data.tar.gz -C /or


su
ar p bsnl-1.0.deb data.tar.gz | tar xzp --no-overwrite-dir -C /

PabloTwo
25th August 2011, 04:44 PM
Using alien is a poor choice in this case in attempting to create an rpm package from the bsnl-1.0.deb package. Debian based system often locate their files in directories that are non-standard and/or non-existent in Fedora. The bsnl-1.0.deb package that I found and downloaded includes one of those non-existent directories.

You're much better off just extracting the files from the .deb package into a directory somewhere in $HOME and then moving the directories/files from that extraction to the proper locations under /. In the case of bsnl-1.0.deb, all locations except /lib/udev/ should be OK as is. To extract the package, first, as root,

yum install dpkg
Then as regular user in your home directory,

mkdir bsnl-1.0
dpkg-deb -x bsnl-1.0.deb ~/bsnl-1.0
The above assumes the .deb package is in your current directory. If not, include the path to it's location in the command. Once extracted, you have all the directories/files from that package in the bsnl-1.0 directory. The view from the tree command:

BASH:src/-> tree bsnl-1.0/
bsnl-1.0/
├── lib
│** └── udev
│** └── rules.d
│** └── 40-ewcdma.rules
├── sbin
│** ├── ewcdma
│** └── ewcdmaUtil
└── usr
├── lib
│** └── BSNL
│** ├── alertPanel.xrc
│** ├── BSNL
│** ├── bsnlconfig.xml
│** ├── BSNL.icns
│** ├── changeAPNLockDialog.xrc
│** ├── changeLockDialog.xrc
│** ├── changePasswdDialog.xrc
│** ├── contactDialog.xrc
│** ├── EditContact.xrc
│** ├── eMobileOne.db
│** ├── image
│** │** ├── BSNL.bmp
│** │** ├── BSNL.icns
│** │** ├── bsnllogo.png
│** │** ├── call_off.png
│** │** ├── call_on.png
│** │** ├── closeBtn.png
│** │** ├── data_off_off.png
│** │** ├── data_off.png
│** │** ├── data_on_off.png
│** │** ├── data_on.png
│** │** ├── Dial_0_off.PNG
│** │** ├── Dial_0_on.PNG
│** │** ├── Dial_1_off.PNG
│** │** ├── Dial_1_on.PNG
│** │** ├── Dial_2_off.PNG
│** │** ├── Dial_2_on.PNG
│** │** ├── Dial_3_off.PNG
│** │** ├── Dial_3_on.PNG
│** │** ├── Dial_4_off.PNG
│** │** ├── Dial_4_on.PNG
│** │** ├── Dial_5_off.PNG
│** │** ├── Dial_5_on.PNG
│** │** ├── Dial_6_off.PNG
│** │** ├── Dial_6_on.PNG
│** │** ├── Dial_7_off.PNG
│** │** ├── Dial_7_on.PNG
│** │** ├── Dial_8_off.PNG
│** │** ├── Dial_8_on.PNG
│** │** ├── Dial_9_off.PNG
│** │** ├── Dial_9_on.PNG
│** │** ├── Dial_cancel_off.PNG
│** │** ├── Dial_cancel_on.PNG
│** │** ├── Dial_end_off.PNG
│** │** ├── Dial_end_on.PNG
│** │** ├── Dial_hash_off.PNG
│** │** ├── Dial_hash_on.PNG
│** │** ├── Dial_plus_off.PNG
│** │** ├── Dial_plus_on.PNG
│** │** ├── Dial_star_off.PNG
│** │** ├── Dial_star_on.PNG
│** │** ├── Dial_start_off.PNG
│** │** ├── Dial_start_on.PNG
│** │** ├── dr_off.png
│** │** ├── dr_on.png
│** │** ├── LEDBlueH.png
│** │** ├── LEDBlue.png
│** │** ├── LEDGreen.png
│** │** ├── LEDRed.png
│** │** ├── log_off.png
│** │** ├── log_on.png
│** │** ├── minbtn.png
│** │** ├── pb_off.png
│** │** ├── pb_on.png
│** │** ├── set_off.png
│** │** ├── set_on.png
│** │** ├── signal1.png
│** │** ├── signal2.png
│** │** ├── signal3.png
│** │** ├── signal4.png
│** │** ├── signal5.png
│** │** ├── signal6.png
│** │** ├── signal_bg_off.png
│** │** ├── sms_off.png
│** │** ├── sms_on.png
│** │** ├── Teracom.bmp
│** │** ├── Thumbs.db
│** │** └── wait.gif
│** ├── infoPanel.xrc
│** ├── internetDialog.xrc
│** ├── LW272_files
│** │** ├── image002.jpg
│** │** ├── image004.jpg
│** │** ├── image005.jpg
│** │** ├── image007.jpg
│** │** ├── image009.jpg
│** │** ├── image011.jpg
│** │** ├── image013.jpg
│** │** ├── image015.jpg
│** │** ├── image017.jpg
│** │** ├── image019.jpg
│** │** ├── image020.jpg
│** │** ├── image021.jpg
│** │** ├── image022.jpg
│** │** ├── image024.gif
│** │** ├── image026.gif
│** │** ├── image028.gif
│** │** ├── image030.gif
│** │** ├── image032.gif
│** │** ├── image034.gif
│** │** ├── image036.gif
│** │** ├── image038.gif
│** │** ├── image040.jpg
│** │** ├── image042.gif
│** │** ├── image044.gif
│** │** ├── image046.gif
│** │** ├── image048.gif
│** │** ├── image050.gif
│** │** ├── image052.jpg
│** │** ├── image054.gif
│** │** ├── image056.gif
│** │** ├── image058.jpg
│** │** ├── image060.jpg
│** │** └── image062.jpg
│** ├── LW272.htm
│** ├── MainDlg.xrc
│** ├── mainFrame.xrc
│** ├── ModalDialog.xrc
│** ├── MyMessageDialog.xrc
│** ├── ppp
│** │** ├── chap-secrets
│** │** ├── ip-down
│** │** ├── ip-down.d
│** │** │** ├── 0000usepeerdns
│** │** │** └── 0dns-down
│** │** ├── ip-up
│** │** ├── ip-up.d
│** │** │** ├── 0000usepeerdns
│** │** │** └── 0dns-up
│** │** ├── ipv6-down
│** │** ├── ipv6-down.d
│** │** ├── ipv6-up
│** │** ├── ipv6-up.d
│** │** ├── options
│** │** ├── options.pptp
│** │** ├── pap-secrets
│** │** ├── peers
│** │** │** ├── provider
│** │** │** ├── wvdial
│** │** │** └── wvdial-pipe
│** │** ├── pppoe_on_boot
│** │** ├── resolv
│** │** └── resolv.conf
│** ├── SelectContactDialog.xrc
│** ├── setDialog.xrc
│** ├── smsDialog.xrc
│** ├── SmsNoticeDialog.xrc
│** ├── SMSSendingDialog.xrc
│** ├── verifyAPNLockDialog.xrc
│** ├── verifyDialog.xrc
│** ├── verifyLockDialog.xrc
│** ├── verifyPINDialog.xrc
│** └── verifyPUKDialog.xrc
└── share
└── applications
├── BSNL.desktop
└── BSNLWebLink.desktop
The compiled binary in this package (at least from the package I downloaded), sbin/ewcdmaUtil, is 32 bit. If you're running 64 bit Fedora, that could be a problem for you. You'll have to deal with the proper relocation of the lib/udev/rules.d/40-ewcdma.rules file in F15. I'm not sure where that might be now since I'm not running F15.

kambagiri
25th August 2011, 07:32 PM
Using alien is a poor choice in this case in attempting to create an rpm package from the bsnl-1.0.deb package. Debian based system often locate their files in directories that are non-standard and/or non-existent in Fedora. The bsnl-1.0.deb package that I found and downloaded includes one of those non-existent directories.

You're much better off just extracting the files from the .deb package into a directory somewhere in $HOME and then moving the directories/files from that extraction to the proper locations under /. In the case of bsnl-1.0.deb, all locations except /lib/udev/ should be OK as is. To extract the package, first, as root,

yum install dpkg
Then as regular user in your home directory,

mkdir bsnl-1.0
dpkg-deb -x bsnl-1.0.deb ~/bsnl-1.0
The above assumes the .deb package is in your current directory. If not, include the path to it's location in the command. Once extracted, you have all the directories/files from that package in the bsnl-1.0 directory. The view from the tree command:

BASH:src/-> tree bsnl-1.0/
bsnl-1.0/
├── lib
│** └── udev
│** └── rules.d
│** └── 40-ewcdma.rules
├── sbin
│** ├── ewcdma
│** └── ewcdmaUtil
└── usr
├── lib
│** └── BSNL
│** ├── alertPanel.xrc
│** ├── BSNL
│** ├── bsnlconfig.xml
│** ├── BSNL.icns
│** ├── changeAPNLockDialog.xrc
│** ├── changeLockDialog.xrc
│** ├── changePasswdDialog.xrc
│** ├── contactDialog.xrc
│** ├── EditContact.xrc
│** ├── eMobileOne.db
│** ├── image
│** │** ├── BSNL.bmp
│** │** ├── BSNL.icns
│** │** ├── bsnllogo.png
│** │** ├── call_off.png
│** │** ├── call_on.png
│** │** ├── closeBtn.png
│** │** ├── data_off_off.png
│** │** ├── data_off.png
│** │** ├── data_on_off.png
│** │** ├── data_on.png
│** │** ├── Dial_0_off.PNG
│** │** ├── Dial_0_on.PNG
│** │** ├── Dial_1_off.PNG
│** │** ├── Dial_1_on.PNG
│** │** ├── Dial_2_off.PNG
│** │** ├── Dial_2_on.PNG
│** │** ├── Dial_3_off.PNG
│** │** ├── Dial_3_on.PNG
│** │** ├── Dial_4_off.PNG
│** │** ├── Dial_4_on.PNG
│** │** ├── Dial_5_off.PNG
│** │** ├── Dial_5_on.PNG
│** │** ├── Dial_6_off.PNG
│** │** ├── Dial_6_on.PNG
│** │** ├── Dial_7_off.PNG
│** │** ├── Dial_7_on.PNG
│** │** ├── Dial_8_off.PNG
│** │** ├── Dial_8_on.PNG
│** │** ├── Dial_9_off.PNG
│** │** ├── Dial_9_on.PNG
│** │** ├── Dial_cancel_off.PNG
│** │** ├── Dial_cancel_on.PNG
│** │** ├── Dial_end_off.PNG
│** │** ├── Dial_end_on.PNG
│** │** ├── Dial_hash_off.PNG
│** │** ├── Dial_hash_on.PNG
│** │** ├── Dial_plus_off.PNG
│** │** ├── Dial_plus_on.PNG
│** │** ├── Dial_star_off.PNG
│** │** ├── Dial_star_on.PNG
│** │** ├── Dial_start_off.PNG
│** │** ├── Dial_start_on.PNG
│** │** ├── dr_off.png
│** │** ├── dr_on.png
│** │** ├── LEDBlueH.png
│** │** ├── LEDBlue.png
│** │** ├── LEDGreen.png
│** │** ├── LEDRed.png
│** │** ├── log_off.png
│** │** ├── log_on.png
│** │** ├── minbtn.png
│** │** ├── pb_off.png
│** │** ├── pb_on.png
│** │** ├── set_off.png
│** │** ├── set_on.png
│** │** ├── signal1.png
│** │** ├── signal2.png
│** │** ├── signal3.png
│** │** ├── signal4.png
│** │** ├── signal5.png
│** │** ├── signal6.png
│** │** ├── signal_bg_off.png
│** │** ├── sms_off.png
│** │** ├── sms_on.png
│** │** ├── Teracom.bmp
│** │** ├── Thumbs.db
│** │** └── wait.gif
│** ├── infoPanel.xrc
│** ├── internetDialog.xrc
│** ├── LW272_files
│** │** ├── image002.jpg
│** │** ├── image004.jpg
│** │** ├── image005.jpg
│** │** ├── image007.jpg
│** │** ├── image009.jpg
│** │** ├── image011.jpg
│** │** ├── image013.jpg
│** │** ├── image015.jpg
│** │** ├── image017.jpg
│** │** ├── image019.jpg
│** │** ├── image020.jpg
│** │** ├── image021.jpg
│** │** ├── image022.jpg
│** │** ├── image024.gif
│** │** ├── image026.gif
│** │** ├── image028.gif
│** │** ├── image030.gif
│** │** ├── image032.gif
│** │** ├── image034.gif
│** │** ├── image036.gif
│** │** ├── image038.gif
│** │** ├── image040.jpg
│** │** ├── image042.gif
│** │** ├── image044.gif
│** │** ├── image046.gif
│** │** ├── image048.gif
│** │** ├── image050.gif
│** │** ├── image052.jpg
│** │** ├── image054.gif
│** │** ├── image056.gif
│** │** ├── image058.jpg
│** │** ├── image060.jpg
│** │** └── image062.jpg
│** ├── LW272.htm
│** ├── MainDlg.xrc
│** ├── mainFrame.xrc
│** ├── ModalDialog.xrc
│** ├── MyMessageDialog.xrc
│** ├── ppp
│** │** ├── chap-secrets
│** │** ├── ip-down
│** │** ├── ip-down.d
│** │** │** ├── 0000usepeerdns
│** │** │** └── 0dns-down
│** │** ├── ip-up
│** │** ├── ip-up.d
│** │** │** ├── 0000usepeerdns
│** │** │** └── 0dns-up
│** │** ├── ipv6-down
│** │** ├── ipv6-down.d
│** │** ├── ipv6-up
│** │** ├── ipv6-up.d
│** │** ├── options
│** │** ├── options.pptp
│** │** ├── pap-secrets
│** │** ├── peers
│** │** │** ├── provider
│** │** │** ├── wvdial
│** │** │** └── wvdial-pipe
│** │** ├── pppoe_on_boot
│** │** ├── resolv
│** │** └── resolv.conf
│** ├── SelectContactDialog.xrc
│** ├── setDialog.xrc
│** ├── smsDialog.xrc
│** ├── SmsNoticeDialog.xrc
│** ├── SMSSendingDialog.xrc
│** ├── verifyAPNLockDialog.xrc
│** ├── verifyDialog.xrc
│** ├── verifyLockDialog.xrc
│** ├── verifyPINDialog.xrc
│** └── verifyPUKDialog.xrc
└── share
└── applications
├── BSNL.desktop
└── BSNLWebLink.desktop
The compiled binary in this package (at least from the package I downloaded), sbin/ewcdmaUtil, is 32 bit. If you're running 64 bit Fedora, that could be a problem for you. You'll have to deal with the proper relocation of the lib/udev/rules.d/40-ewcdma.rules file in F15. I'm not sure where that might be now since I'm not running F15.
hi pablo,
i have followed your instructions and extracted the file in home directory, but i could not connect my datacard.
please give me instructions on what to do next

PabloTwo
25th August 2011, 08:03 PM
Just extracting the deb package into a directory in $HOME isn't is only the first step.
You would then need to move (mv), as root, the usr/, sbin/ and lib/ directories that were extracted to the system root directory (/). Then reboot.

At first look I thought /lib/udev/rules.d/ directory was not correct for Fedora, but looking, I find many packages installed on that path on my F12 system. In fact, more entries than in /etc/udev/rules.d/, which is what I though the proper place should be. You could have just as easily done (and you still can):

sudo dpkg-deb -x bsnl-1.0.deb /
and they would have been "installed" to the system directories directly. You would still require a reboot after doing that.

---------- Post added at 03:03 PM ---------- Previous post was at 02:47 PM ----------

Looking into the two *.desktop files in this package, I see problems there that would require those to be edited for Fedora.

BASH:src/-> cat bsnl-1.0/usr/share/applications/BSNL.desktop
[Desktop Entry]
Name=BSNL 3G
Comment=BSNL 3G WCDMA PC Tools
Exec=gksudo /usr/lib/BSNL/BSNL
Icon=/usr/lib/BSNL/BSNL.icns
Terminal=false
Type=Application
Categories=Application;Internet;Network
BASH:src/-> cat bsnl-1.0/usr/share/applications/BSNLWebLink.desktop
[Desktop Entry]
Name=BSNL Live
Comment=BSNL Live
Exec=gnome-open http://www.bsnllive.in
Icon=/usr/lib/BSNL/BSNL.icns
Terminal=false
Type=Application
Categories=Application;Internet;Network
Both of those Exec= lines need editing (the first one shown for sure as there is no gksudo in Fedora).
I don't use Gnome, so I am not sure of the second one (gnome-open), but if you're not using Gnome you probably need to substitute "gnome-open" with "htmlview" or just use the name of your default browser.

kambagiri
25th August 2011, 08:11 PM
Just extracting the deb package into a directory in $HOME isn't is only the first step.
You would then need to move (mv), as root, the usr/, sbin/ and lib/ directories that were extracted to the system root directory (/). Then reboot.

At first look I thought /lib/udev/rules.d/ directory was not correct for Fedora, but looking, I find many packages installed on that path on my F12 system. In fact, more entries than in /etc/udev/rules.d/, which is what I though the proper place should be. You could have just as easily done (and you still can):

sudo dpkg-deb -x bsnl-1.0.deb /
and they would have been "installed" to the system directories directly. You would still require a reboot after doing that.

---------- Post added at 03:03 PM ---------- Previous post was at 02:47 PM ----------

Looking into the two *.desktop files in this package, I see problems there that would require those to be edited for Fedora.

BASH:src/-> cat bsnl-1.0/usr/share/applications/BSNL.desktop
[Desktop Entry]
Name=BSNL 3G
Comment=BSNL 3G WCDMA PC Tools
Exec=gksudo /usr/lib/BSNL/BSNL
Icon=/usr/lib/BSNL/BSNL.icns
Terminal=false
Type=Application
Categories=Application;Internet;Network
BASH:src/-> cat bsnl-1.0/usr/share/applications/BSNLWebLink.desktop
[Desktop Entry]
Name=BSNL Live
Comment=BSNL Live
Exec=gnome-open http://www.bsnllive.in
Icon=/usr/lib/BSNL/BSNL.icns
Terminal=false
Type=Application
Categories=Application;Internet;Network
Both of those Exec= lines need editing (the first one shown for sure as there is no gksudo in Fedora).
I don't use Gnome, so I am not sure of the second one (gnome-open), but if you're not using Gnome you probably need to substitute "gnome-open" with "htmlview" or just use the name of your default browser.
sir,
i couldn't understand, please tell me where to move those files (/usr, /lib, /sbin ) and what next

PabloTwo
25th August 2011, 08:25 PM
You can do this one of two ways:

1) move the directories that you already extracted into your home directory, or
2) just extract the package again, but to the root directory (/).

Method #1:
Be in the directory that you created in $HOME (should be bsnl-1.0 if you followed my instructions)

Do the two commands pwd and ls to confirm you are in the correct directory.

BASH:bsnl-1.0/-> pwd
/home/paulm/src/bsnl-1.0
BASH:bsnl-1.0/-> ls
lib sbin usr
You should see the three directories lib, sbin and usr. Then do:

su
enter root password
mv lib /
mv sbin /
mv usr /
exit
Method #2:

su
enter root password
dpkg-deb -x bsnl-1.0.deb /
exit

kambagiri
25th August 2011, 08:34 PM
ya ya,
i was confused with two statements. Finally i tried and succeded, and installed 3g but snl 3g an error report saying "when opened bFailed to execute child process "gksudo" (No such file or directory)"....

where should i make changes and what is the other option for gksudo

PabloTwo
25th August 2011, 08:50 PM
Switch to root and edit the file: /usr/share/applications/BSNL.desktop
Change Exec=gksudo /usr/lib/BSNL/BSNL to Exec=/usr/lib/BSNL/BSNL, leaving off the gksudo. This file needs to run as root. If you are not prompted for roots password after clicking on the menu entry to launch, then you'll need to "su -" to root before attempting to run it.

You should also do this:

ldd /usr/lib/BSNL/BSNL
The output should look like this:

linux-gate.so.1 => (0x00b44000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x067a2000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x066eb000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00ce8000)
libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x00c32000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0089d000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00869000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x005c6000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x002ee000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00dba000)
libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x05fc4000)
libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x0058a000)
libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x00388000)
librt.so.1 => /lib/librt.so.1 (0x00974000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x0600a000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x005c1000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x07974000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00d90000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x07ce4000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00d66000)
libz.so.1 => /lib/libz.so.1 (0x04207000)
libdl.so.2 => /lib/libdl.so.2 (0x008df000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x07aa2000)
libm.so.6 => /lib/libm.so.6 (0x00b70000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x078ee000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00b54000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x04059000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00d53000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00862000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x0038d000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0084f000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00590000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x0059b000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x005ab000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x005b5000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x0088a000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00611000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00d0d000)
libselinux.so.1 => /lib/libselinux.so.1 (0x0056a000)
/lib/ld-linux.so.2 (0x009b0000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x07932000)
libuuid.so.1 => /lib/libuuid.so.1 (0x0098d000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00d33000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00489000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00d28000)
If it fails on any "dependency", then you'll need to install that/those dependencies.

kambagiri
25th August 2011, 08:59 PM
what is the alternative for gksudo,,, that it is showing an error that gksudo could not be launched.

Please give me a solution to this problem

PabloTwo
25th August 2011, 09:04 PM
Switch to root and edit the file: /usr/share/applications/BSNL.desktop
Change Exec=gksudo /usr/lib/BSNL/BSNL to Exec=/usr/lib/BSNL/BSNL, leaving off the gksudo.
Maybe you didn't read the post above where I said that? There is "beesu" in the Fedora repos, you could 'yum install beesu' and replace gksudo with beesu in the .desktop file. After you do any edits to the BSNL.desktop file, you should probably also either log-out and log-in, or just run:
su -c update-desktop-database

kambagiri
25th August 2011, 09:18 PM
oh
thank you pablo i have succesfully installed my 3g. thank you very much

and let us be friends. so please accept me as your friend

PabloTwo
25th August 2011, 09:20 PM
You're welcome. I'm glad I was able to help you get that problem solved and working.

kambagiri
7th September 2011, 10:39 AM
hi pablo,
with your precious advices i installed bsnl 3g datacard software.
on that day i thought as the software installed it would work but when i connected my datacard it is showing that no device detected.

so, what should i do to this problem. plz have a look at my problem

salemeni
7th September 2011, 01:17 PM
You must mark it [SOLVED] in the title.

java swing (http://www.java-forums.org/blogs/java-swing/)

PabloTwo
7th September 2011, 01:45 PM
Sorry, I don't know how to make the bsnl software "work" on your system, or why it isn't working.