deepin 显卡驱动是不是不支持独显

#!/bin/bash
#This is a vgaoff & touchpadoff
#By spinestars
#2014-2-18#TouchPad & VGA OFF
if [ $1 == 0 ];then
echo "OFF" && /sys/kernel/debug/vgaswitcheroo/switch
cat /sys/kernel/debug/vgaswitcheroo/switch & ./vga.tmp
awk 'BEGIN{OF=":"}/DIS:.:Off/{print "VGA is OFF!"}' vga.tmp
rm -rf vga.tmp
synclient TouchpadOFF=1 & /dev/null 2&&1 &&
synclient | grep "TouchpadOff" | awk '/.*= 1/{print "TouchPad is OFF!"}' ||
gconftool-2 --set --type boolean /desktop/gnome/peripherals/touchpad/touchpad_enabled false ||
rmmod psmouse
[ $?==0 ] && echo 'TouchPad is OFF!'
#TouchPad ON
if [ $1 == 1 ];then
synclient TouchpadOFF=0 & /dev/null 2&&1 &&
synclient | grep "TouchpadOn" | awk '/.*= 1/{print "TouchPad is ON!"}' ||
gconftool-2 --set --type boolean /desktop/gnome/peripherals/touchpad/touchpad_enabled ture ||
modprobe psmouse
[ $?==0 ] && echo 'TouchPad is ON!'
昨天装了deepin,结果昨天还能用synclient关闭触摸板,今天就不行了。。。于是网上有找了其他2种方法,故而就将三种方法合并到了一起。
参数1是开启,参数0是关闭(关闭的时候会顺便将ATI显卡的独显给关掉,开启的时候则不再开启独显)。
zyh@deepin:~/桌面$ sudo ./vga_touchpadoff.sh 0
VGA is OFF!
TouchPad is OFF!
TouchPad is OFF!
zyh@deepin:~/桌面$ sudo ./vga_touchpadoff.sh 1
TouchPad is ON!
阅读(...) 评论()3CX4MLinuxAbsoluteAbul?duAlpineALTAndroid-x86AntergosantiXAPODIOArchArchBangArchLabsArchStrikeArtixAryaAsianuxAsteriskNOWAudiophileAUSTRUMIAV LinuxBackBoxBackSlashBaruwaBeeFreeBerryBicomBio-LinuxBitKeyBlack LabBlackArchblackPantherBlankOnBlueOnyxBluestarBodhiBOSSBSDRPBunsenLabsCAINECalculateCanaimaCentOSChakraChapeauClearClearOSClonezillaClonOSCloudReadyConnochaetContainerCRUXCucumberDebianDebian EdudeepinDEFTDevilDevuanDragonFlyDRBLDuZeruEasyNASEdubuntuElastixelementaryEliveEmmabuntüsEndianEndlessExeExherboExTiXFatdog64FedoraferenFermiFinnixFreeBSDFreeNASFreePBXFrugalwareFuguItaFuntooGeckoGentooGhostBSDgNewSenseGNUstepGoboLinuxGPartedGreenieGrmlGuixSDHaikuIPFireKaianaKaliKANOTIXKaOSKaroshiKDE neonKeysoftKNOPPIXKodachiKolibriOSKororaKubuntuKwortKXStudioLakkaLeeenuxLegacyLFSLibreELECLinHESLinuxBBQLinuxConsoleLinuxfxLiteLive RaizoLliureXLubuntuLunarLuninuXLXLEMageiaMakuluLinuxMangakaManjaroMauiMAXMetamorphoseMidnightBSDMinimalMiniNoMINIXMintMirOSMorpheusArchMX LinuxNanolinuxNAS4FreeNeptuneNetBSDNethServerNetrunnerNexentaStorNitruxNixOSNSTNuTyXOB2DOLPCOmoikaneOpenBSDOpenELECOpenIndianaOpenMandrivaOpenMediaVaultopenSUSEOpenwallOPNsenseOracleOSGeoOSMCOviOSpaldoParabolaPardusPardus ToplulukParrotParsixParted MagicPCLinuxOSPeach OSIPearlPelicanHPCPentooPeppermintpfSensePhotonPisiPlamoPLDPlopPointPoliArchPorteusPorteus KioskPrimTuxProxmoxPuppyPureOSQ4OSQubesQuirkyRancherOSRaspbianRaspBSDRasPlexRDSReactOSRebeccaBlackOSRebellinRed HatRedcoreRefractaRescatuxResulinuxRevengeRISCRobolinuxRocks ClusterRockstorROSARSSRuntuSabayonSalentOSSalixScientificSecurepointSELKSSempliceSharksiductionSlackelSlackwareSliTazSmartOSSME ServerSmoothwallSMSSolusSolydXKSonarSophosSource MageSparkyLinuxSpringdaleStarSteamOSStellaStressLinuxSubgraphSuliXSuper Grub2SUSESwagArchSwechaSwiftSystemRescueT2TailsTalkingArchTangluTENSThinstationTiny CoreToOpPyToriOSToutouTrisquelTrueOSTurnKeytuxtransUberStudentUBOSUbuntuUbuntu BudgieUbuntu DPUbuntu GNOMEUbuntu KylinUbuntu MATEUbuntu StudioUHU-LinuxUlteoUltimateUniventionUntangleURIXUrukUTUTOVectorVineVinuxVoidVolumioVortexBoxVoyagerVyOSwattOSWebconvergerWhonixWifislaxWM LiveXStreamOSXubuntuZentyalZenwalkZeroshellZevenetZorin
is sponsored by &
deepinLast Update:
OS Type: Based on: Origin:
Architecture: , Desktop: Category:
Status: ActivePopularity:
deepin (formerly, Deepin, Linux Deepin, Hiweed GNU/Linux) is a Debian-based distribution (it was Ubuntu-based until version 15 released in late 2015) that aims to provide an elegant, user-friendly and reliable operating system. It does not only include the best the open source world has to offer, but it has also created its own desktop environment called DDE or Deepin Desktop Environment which is based on the Qt 5 toolkit. Deepin focuses much of its attention on intuitive design. Its home-grown applications, like Deepin Software Centre, DMusic and DPlayer are tailored to the average user. Being easy to install and use, deepin can be a good Windows alternative for office and home use.
: 12 months: 9 (860), 6 months: 11 (786), 3 months: 13 (623), 4 weeks: 16 (505), 1 week: 20 (500): 9.09/10 from 126 .
Linux Media
USB Flash Drives
Free Shipping on orders over $20Professional Quality
Read detailed guides on , ,
and find the best
Release Date
Release Date
End Of Life
End Of Life
Price (US$)
Price (US$)
Image Size (MB)
Image Size (MB)
Free Download
Free Download
Installation
Installation
Default Desktop
Default Desktop
Package Management
Package Management
Release Model
Release Model
Office Suite
WPS Office
WPS Office
LibreOffice
LibreOffice
LibreOffice
LibreOffice
LibreOffice
LibreOffice
Office Suite
Processor Architecture
i386, x86_64
i386, x86_64
i386, x86_64
i386, x86_64
i386, x86_64
i386, x86_64
i386, x86_64
Processor Architecture
Init Software
Init Software
Journaled File Systems
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
Btrfs, ext3, ext4, JFS, ReiserFS, XFS
ext3, ext4, JFS, ReiserFS, XFS
ext3, ext4, JFS, ReiserFS, XFS
ext3, JFS, ReiserFS, XFS
ext3, JFS, ReiserFS, XFS
ext3, JFS, ReiserFS, XFS
ext3, JFS, ReiserFS, XFS
ext3, JFS, ReiserFS, XFS
Journaled File Systems
Multilingual
bg, cz, en, es, fi, fr, hr, it, pt, ru, sv, tr, uk
bg, cz, en, es, fi, fr, hr, it, pt, ru, sv, tr, uk
cz, en, es, fr, it, pt, ru, tr
Multilingual
Asian Language Support
ja, hi, ko, ml, zh_CN, zh_TW
ja, hi, ko, ml, zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
zh_CN, zh_TW
Asian Language Support
Full Package List
Full Package List
42.0.2311.90
31.0.1650.57
4.1.ESV-R4
Copyright (C) 2001 - 2017 Unsigned Integer Limited. All rights reserved. All trademarks are the property of their respective owners. . is hosted at .Contact, corrections and suggestions:
Tips: BTC 1HVdyGfP8s37z19wmbcsnwSPSvFnssu5Mu &}

我要回帖

更多关于 deepin双显卡 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信