
Ubuntu日本語フォーラム

ログインしていません。
linux初心者です。
skypeでビデオ通話をしたいのですが、カメラが認識されません。
メニューのビデオデバイスの「webcamの選択」のところは
デバイスが見つかりません
になっています。
(それ以外の選択項目はありません)
使用パソコンはvaio VGN-FE50B
です。
ちなみにskypeはソフトウェアセンターからインストールしました。
どうしたらいいんでしょうか???
情報不足で回答できない、という場合は必要な情報提供しますのでおっしゃってください。
お手数おかけします・・・
オフライン
教えていただいたコンピューターの型番から、メーカーのサイトで調べてみました。
VAIO | type F @ sony.co.jp
VGN-FE50B・FE30B・FE20 スペック
(中略)
内蔵カメラ
《MOTION EYE》 搭載
1/5.5型VGAプログレッシブ方式CMOSセンサー、総画素数33万画素(有効画素数31万画素)、 2群2枚プラスチックレンズ採用(f=3.0mm F2.8)
(以下略)
この「内蔵カメラ」がskypeの選択肢に表示されない問題と理解しました。
必要な情報を収集するために端末(gnome-terminal)というソフトウェアでコマンドを実行していただき、その出力を見ながら、今回の解決方法を模索していきたいと思います。
さしあたっては、1. 端末を起動していただき、2. 端末で実行したコマンド「lspci」の実行結果を教えて下さい。端末はUnityのダッシュボードで「gnome-terminal」を実行していただくか、Ctrl+Alt+「tキー」を同時押しすることで起動できます。
加えて、お使いのUbuntuのバージョンを教えて下さい。
オフライン
Mocchi様
ご回答ありがとうございます。
よろしくお願いします。
コマンドの出力結果は以下のとおりです。
あと、ubuntuのバージョンは11.04です。
(という回答でいいのでしょうか・・・?それすらも分からない初心者です・・・スミマセン)
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
0a:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0a:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0a:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
0a:08.0 Ethernet controller: Intel Corporation PRO/100 VE Network Connection (rev 02)
オフライン
この出力で大丈夫です ;)
しかしカメラが出てこないですね、うーむ。
コマンド「lsusb」も試していただけるでしょうか?同じように出力内容を教えて下さい。
オフライン
lsusbコマンドの出力結果、以下のとおりです。
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 054c:01bb Sony Corp. 802.11g
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0ac8:c002 Z-Star Microelectronics Corp. Visual Communication Camera VGP-VCC1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
オフライン
Bus 001 Device 003: ID 0ac8:c002 Z-Star Microelectronics Corp. Visual Communication Camera VGP-VCC1
ありましたね。これが「内蔵カメラ」を差します。
(PCIバスではなく、USB側にあったのか。。。)
それでは次に、このカメラの詳細情報と適用されているドライバー(カーネルモジュール)を調べたいので、以下の2つのコマンドの出力結果を教えて下さい。
$ lsusb -vn 001:003;
$ lsusb -t;
オフライン
Mocchi様
お返事が遅くなりました。
(日本と時差7時間のところに住んでいるため、お返事が遅れることがあります・・・ごめんなさい。)
$ lsusb -vn 001:003;
lsusb: invalid option -- 'n'
Usage: lsusb [options]...
List USB devices
-v, --verbose
Increase verbosity (show descriptors)
-s [[bus]:][devnum]
Show only devices with specified device and/or
bus numbers (in decimal)
-d vendor:[product]
Show only devices with the specified vendor and
product ID numbers (in hexadecimal)
-D device
Selects which device lsusb will examine
-t
Dump the physical USB device hierarchy as a tree
-V, --version
Show version of program
~$ lsusb -t;
1-8:1.0: No such file or directory
4-1:1.0: No such file or directory
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=vend., Driver=, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 8: Dev 3, If 0, Class=vend., Driver=, 480M
という結果になりました。
こんな英数字の羅列だけで、いろんなことがわかるんですね・・・
オフライン
kotoko による投稿:
$ lsusb -vn 001:003;
lsusb: invalid option -- 'n'
(略)
すみません。オプションの指定を間違えていました。以下のコマンドで再度お願いします。
たぶん長々と出力されると思います。
$ lsusb -vs 001:003;
オフライン
以下のとおりです。
$ lsusb -vs 001:003;
Bus 001 Device 003: ID 0ac8:c002 Z-Star Microelectronics Corp. Visual Communication Camera VGP-VCC1
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x0ac8 Z-Star Microelectronics Corp.
idProduct 0xc002 Visual Communication Camera VGP-VCC1
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0b00 2x 768 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1380 3x 896 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
オフライン
どうもありがとうございます。
ここまでの出力からこんな感じで状況を推測してみました。のちのちの参考となるようにやや専門的な内容を含んでますので、よくわからなくても気になさらないで下さい。
1. 内蔵カメラは実はUSB接続のカメラ(のようなもの)である(「$ lspci;」では出なかった)
2. システムには認識されている(「$ lsusb;」に情報が表示された)
3. ドライバー(カーネルモジュール)が割り当てられていないため、使用可能な状況にない(「$ lsusb -t;」の出力結果から)
デバイスID「0ac8:c002」を参照してちょっと調べてみたところ、このカメラにはドライバーとしてカーネルモジュールの「gspca_vc032x」が対応していることがわかりました。
(ファイル「/lib/modules/2.6.38-11-generic/modules.usbmap」を参照、ただし使っているカーネルによりパスは変わります。コマンド「$ modinfo gspca_vc032x;」も併用。)
どうして対応するカーネルモジュールがあるのにそれが自動で適用されなかったのかはよくわからないのですが、おそらく、ディスクリプタによるデバイスクラス指定が「Vendor Specific Class」なのでドライバーが自動でロードされて割り当てられなかったのでしょう。
(「$ lsusb -vs 001:003;」の出力から)
というわけで、以下を試してみてください。
1. 端末でコマンド「$ gksudo modprobe gspca_vc032x;」を実行してドライバーを有効化
2. コマンド「$ lsusb -t;」を実行し、ドライバーが割り当てられたかどうか確認。以下の出力内容が変わることで確認します。
~$ lsusb -t;
(中略)
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 8: Dev 3, If 0, Class=vend., Driver=, 480M
この、「Bus 01」の「Dev 3」が001:003つまりカメラを示します。
オフライン
ありがとうございました。
まず、コマンド「$ gksudo modprobe gspca_vc032x;」を実行しました。
その後の「lsusb -t;」の出力結果は以下のとおりです。
lsusb -t;
4-1:1.0: No such file or directory
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=vend., Driver=, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 8: Dev 3, If 0, Class=vend., Driver=vc032x, 480M
たしかにドライバのところの値が変わっていますね。
で、さっそくskypeのオプションービデオデバイスの「webcamの選択」を確認しましたら、
USB2.0 web camera(/dev/video0)
となっていました。
ということで、webカメラをちゃんと認識できるようになったんですね。
(すごいの一言です・・・)
と、ここで新たな問題発生なのですが、
テストボタンを押してみたのですが、画面が真っ暗で何も映りません。
(おそらく普通は私の姿が映るはず?なのですよね?)
カメラは認識できたけれど、機能していないということなのでしょうか?
引き続きお手数かけますが、ご指導お願いします。
オフライン
無事にカメラが認識できたようで、よかったですね ;)
次のトラブルに対応する前に、起動時にこのカーネルモジュールが読み込まれるようにしたいと思います。
設定はファイルに記述します。以下を行って下さい。
1. 端末で「$ gksudo gedit /etc/modules;」を実行
2. パスワードを入力するとテキストエディタが開いて、このファイルを編集できます
3. 末尾に「gspca_vc032x」を記述して下さい
4. テキストエディタ上でファイルを保存して、閉じて下さい。
この作業をすると、起動するたびにコマンド「modprobe」相当の処理が行われるようになり、カーネルモジュール「gspca_vc032x」が読み込まれるようになります。
さて、ここまではLinuxカーネル周りの問題でしたが、ここから先は、Video4Linux(v4l)という、Linuxでビデオデバイスを扱うための仕組みの問題となっていきます。画面が真っ暗で映らない、あるいは映像が取得できていない件に関しては、ちょっとお時間いただければと思います。Ubuntuのバグ報告システムに寄せられた情報をひととおりチェックしてみたいと思います。
オフライン
とりあえず、以下の作業を終えました。
>1. 端末で「$ gksudo gedit /etc/modules;」を実行
>2. パスワードを入力するとテキストエディタが開いて、このファイルを編集できます
>3. 末尾に「gspca_vc032x」を記述して下さい
>4. テキストエディタ上でファイルを保存して、閉じて下さい。
引き続き、よろしくお願いします。
オフライン
ちょっとバグ報告を見てみたところ、いくつか該当しそうなものが見つかりました。原因をはっきりさせるために、Skype以外のソフトウェアでウェブカメラから映像を取得してみたいと思います。
今回は割とメジャーで定評のある「cheese」というソフトウェアを使ってみたいと思います。以下の記事を参照してインストールして試してみて下さい。
第147回 UbuntuでUSBウェブカメラを使う @ Ubuntu Weekly Recipe
そして、Cheeseでの映像の取得の可否を教えて下さい。
オフライン
Cheeseというソフト、インストールして使ってみましたら、
ちゃんと映像取得できました。
ということはskype上での問題ということなんですね・・・
(私はてっきり内蔵カメラが壊れていると思い、外付けのカメラを買おうか迷っていたところだったのです。
とりあえず買わなくてよかったです・・・^^;)
オフライン
kotoko による投稿:
Cheeseというソフト、インストールして使ってみましたら、ちゃんと映像取得できました。
これは朗報。原因がはっきりしました。
needed: libv4l and associated application patches (or "gspca stopped working in 2.6.27") @ bugs.launchpad.net
実は先にお伝えしたVideo4Linux(v4l)ですが、バージョン1とバージョン2があります。今や多くのウェブカメラやソフトウェアがバージョン2に移行していて、今回使っているウェブカメラに対応するカーネルモジュールも、バージョン2に基づいているようです。
Additional Notes about Video on Skype > SkypeWebCams @ Ubuntu Wiki
このUbuntuコミュニティーのWikiを参照すると、SkypeのLinux版はバージョン1に基づくソフトウェアのようで、バージョン2で動作するウェブカメラに対応するためには、間に互換レイヤーをかませてから起動する必要があるようです。
互換レイヤー越しにSkypeを起動するには、端末で以下を実行して下さい。
(※互換レイヤーはパッケージ「libv4l-0」に含まれていますので、このパッケージがインストールされている必要があります)
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;
たぶんこれで、Skypeでウェブカメラの映像が取得できるようになるかと思います。
オフライン
「libv4l-0」はすでにインストールされてありましたので、
さっそく指定のコマンドを実行してみたらスカイプが立ち上がり、
ログインしてビデオのテストをしたらちゃんと映りました!!
「おお〜!すご〜い!」とつい、声がでてしまいました(笑)
ありがとうございました!
それで・・・
またひとつ質問なのですが・・・
スカイプでビデオ電話をするときには「互換レイヤー越しにSkypeを起動する必要がある」
ということは、毎回このコードを実行して立ち上げるしかないということなのでしょうか?
例えばこのコードをskypeのどこかに保存?しといたりはできないものなのでしょうか?
すみません、いかにも素人考えなのですが、
そうできたらいいなあと単純に思ったので質問してみました。
カメラが使えるようになっただけでも十分嬉しいんですけど・・・
重ね重ねすみませんが、何か手があればご教授ください。
オフライン
kotoko による投稿:
さっそく指定のコマンドを実行してみたらスカイプが立ち上がり、
ログインしてビデオのテストをしたらちゃんと映りました!!
映りましたか、よかったよかった。
kotoko による投稿:
スカイプでビデオ電話をするときには「互換レイヤー越しにSkypeを起動する必要がある」
ということは、毎回このコードを実行して立ち上げるしかないということなのでしょうか?
例えばこのコードをskypeのどこかに保存?しといたりはできないものなのでしょうか?
SkypeはMicrosoft社が買収した直後でもあるため、ことさらLinux版はしばらくこのままの状態が続くと思います。Skypeのどこかに互換バイナリーのプリロード設定を保存ということはムリっぽいですので、毎回先のコードで起動といった感じになるかと思います。
Ubuntuは11.04からそのデスクトップ環境を、GNOME2の提供するものからUnityというものへシフトしました。GNOME2の提供するデスクトップ環境では、デスクトップ上やパネルにアイコンを配置してそれをクリックすると特定のコードが実行されるという仕組みが利用できたのですが、Unityに同等の仕組みがあるかどうかは、私にはよくわかりません。
というわけで、この件に関しては新規の質問としてこのフォーラムに再投稿していただくことにし、カメラが使えない件は解決ということで、ここらへんでいったん区切りを入れたいかなぁと思いますが、いかがでしょうか?
オフライン
了解しました。
Mocchi様、この度は本当にお世話になりました。
ありがとうございました!
オフライン
端末からの起動でいいということなら
alias を記述する
alias skype="LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;"
を .bashrc の適当なところに記述する。
これで .bashrc を読み込めば、skype とタイプすると alias で定義したコマンドラインが
代わりに入力されます。.bashrc はシェルを起動すると自動的に読み込みます。
あるいは source .bashrc または . .bashrc で読み込めます。
コマンドライン履歴を利用する
大文字のエルから始まるコマンドラインはそんなにないはずなのでコマンドラインで
!L とタイプしてエンターでLから始まるコマンド履歴を探して全部入力しなくても
全部入力した事になると思います。
とかの方法があります。
オフライン
Tako090929様
お返事ありがとうございます!
「alias を記述する」ほうは、ちょっと私には難しいところがあったので
おいおい試してみることにして、
「コマンドライン履歴を利用する」ほうをとりあえず試してみましたら、
とても簡単にできました!
これでわざわざコピペしなくて済むし、私にはこれで十分かもです。
ご指導感謝します!
ありがとうございました〜
オフライン