cmdmarkdown加入xfce菜单栏

  1. 进入/usr/share/applications

  2. 创建文件cmdmarkdown-Starter.desktop

    [Desktop Entry]
    Name=cmd-markdown
    Comment=cmd-markdown
    Exec=/kit/cmd_markdown_linux64/cmdmarkdown  
    Icon=/kit/cmd_markdown_linux64/cmd-markdown.jpg  #图片位置,拷贝进去的时候要删除这个注释,否则路径会带上这个注释
    Terminal=false
    Type=Application
    Categories=Application;Network;
    
    sudo yum install freetype-infinality fontconfig-infinality
    
  3. sougou input

    yum install -y yum-utils.noarch 
    rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/rpmfusion-nonfree-release-6-1.noarch.rpm
    rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm
    yum localinstall http://li.nux.ro/download/nux/dextop/el$(rpm -E %rhel)/x86_64/nux-dextop-release-0-2.el$(rpm -E %rhel).nux.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-nonfree-release-$(rpm -E %rhel)-1.noarch.rpm http://download1.rpmfusion.org/free/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-free-release-$(rpm -E %rhel)-1.noarch.rpm
    yum-config-manager --add-repo http://download.opensuse.org/repositories/home:gottcode/Fedora_23/home:gottcode.repo
    yum install xfce4-whiskermenu-plugin
    
  4. centos restore win10

    vim /boot/grub2/grub.cfg  
    
        menuentry 'Windows 7'{  
                insmod part_msdos  
                insmod ntfs  
                insmod ntldr  
                set root=(hd0,1)  
                chainloader +1  
                boot  
        }  
    
    
  5. auto login

    /etc/gdm/custom.conf
    AutomaticLogin和TimedLogin后面跟的是你希望自动登录的用户名。
    [daemon]
    AutomaticLogin=master
    GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr/lib/gtk-2.0/modules/libdwellmouselistener
    AddGtkModules=true
    RemoteGreeter=/usr/libexec/gdmgreeter
    AutomaticLoginEnable=true
    TimedLoginEnable=true
    TimedLogin=master
    TimedLoginDelay=1
    
posted @ 2016-12-29 11:46  moon_lord  阅读(357)  评论(0编辑  收藏  举报