opensuse

自己用的opensuse源

坚强是说给别人听的谎言 提交于 2020-01-14 05:52:26
utsc_oss http://mirrors.ustc.edu.cn/opensuse/distribution/13.1/repo/oss/ utsc_non_oss http://mirrors.ustc.edu.cn/opensuse/distribution/13.1/repo/non-oss/ ustc_update_non_oss http://mirrors.ustc.edu.cn/opensuse/update/13.1-non-oss/ ustc_update http://mirrors.ustc.edu.cn/opensuse/update/13.1/ http://download.opensuse.org/repositories/home:/MargueriteSu/openSUSE_13.1/ http://download.opensuse.org/repositories/home:/stecue/openSUSE_13.1/ http://download.opensuse.org/repositories/home:/opensuse_zh/openSUSE_13.1/ http://packman.inode.at/suse/13.1/ (Packman源) http://download.videolan.org/pub/vlc/SuSE

Invalid JAVA_HOME when build with cordova

我的梦境 提交于 2020-01-13 08:07:43
问题 I am trying to emulate an app on my device with cordova in OpenSuse Leap 42.1. But when I tried to emulate the app with the cordova run I get the error below: cordova run Running command: /home/soufraz/Projects/apps/myproject/platforms/android/cordova/run ERROR: Error: Failed to run "java -version", make sure that you have a JDK installed. You can get it from: http://www.oracle.com/technetwork/java/javase/downloads. Your JAVA_HOME is invalid: /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0 ERROR

Invalid JAVA_HOME when build with cordova

时光毁灭记忆、已成空白 提交于 2020-01-13 08:07:03
问题 I am trying to emulate an app on my device with cordova in OpenSuse Leap 42.1. But when I tried to emulate the app with the cordova run I get the error below: cordova run Running command: /home/soufraz/Projects/apps/myproject/platforms/android/cordova/run ERROR: Error: Failed to run "java -version", make sure that you have a JDK installed. You can get it from: http://www.oracle.com/technetwork/java/javase/downloads. Your JAVA_HOME is invalid: /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0 ERROR

OpenSUSE 12.3 常用第三方源

老子叫甜甜 提交于 2020-01-13 06:25:06
把Arch换成OpenSUSE后发现很多软件都不在官方源里面,搜索了一下貌似是因为各种版权原因无法收入官方源,需要自己添加第三方源解决。于是自己找了一些常用软件的第三方源。 1. nVIDIA源 提供nVIDIA显卡的闭源驱动。该源为FTP源。 ftp://download.nvidia.com/opensuse/12.3/ 2.VLC源 提供VLC以及一些依赖包。 http://download.videolan.org/pub/videolan/vlc/SuSE/12.3 3.Package源 重要的第三方源,用来安装一些解码器,貌似也有VLC? http://packman.inode.at/suse/openSUSE_12.3/ 4.Mono源 如果你需要Mono。 http://download.opensuse.org/repositories/Mono/openSUSE_12.3/ 5.Devel-Tools源 个人需要,貌似只有Codelite和Codeblocks两个IDE。 http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_12.3/ 其他源: 如果需要其他软件,基本都能在这里找到,不过源地址就需要自己寻找了: http://download.opensuse.org

openSUSE Tumbleweed安装CGoban程序

一曲冷凌霜 提交于 2020-01-11 17:00:10
在 gnugo网页 上浏览了一会发现了一款带gui的围棋程序CGoban,gnugo是命令行下的使用不方便。决定自己安装一下这个程序。 @1 https://sourceforge.net/projects/cgoban1/ 在这个网页中下载cgoban程序cgoban-1.9.14。 我的电脑中原来安装过qt环境。gcc gcc-c++ make automake之类的工具如果系统没有需要自己提前安装。 @2 解压源文件,查看readme文件发现 1) Unpack it. You must have done this already to read this file. Make sure that you "cd" into the cgoban directory (the directory that has this README in it). 2) Type "./configure". 3) Type "make". 4) Type "./cgoban". If all went well you should be running cgoban. Directions on using cgoban are all available through the "help" buttons. For a list of command line switches

什么杀了我的过程,为什么?

喜夏-厌秋 提交于 2020-01-07 21:57:20
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我的应用程序在Linux上作为后台进程运行。 它目前在终端窗口的命令行中启动。 最近一个用户正在执行该应用程序一段时间,它神秘地死了。 文本: 杀害 在终端上。 这发生了两次。 我问是否有人在不同的终端使用kill命令来杀死进程? 没有。 在什么条件下Linux会决定杀死我的进程? 我相信shell显示“已杀死”,因为该进程在收到kill(9)信号后死亡。 如果Linux发送了kill信号,系统日志中是否会有消息说明它被杀的原因? #1楼 用于限制资源 的 PAM模块 完全导致了您描述的结果:我的进程神秘地死于控制台窗口上的文本 Killed 。 在 syslog 和 kern.log中 都没有日志输出。 顶级 程序帮助我发现,在一分钟的CPU使用后,我的进程被杀死了。 #2楼 我最近遇到了这个问题。 最后,我发现我的进程在自动调用Opensuse zypper更新后被终止。 禁用zypper更新解决了我的问题。 #3楼 尝试: dmesg -T| grep -E -i -B100 'killed process' -B100 表示杀戮发生前的行数。 在Mac OS上省略 -T 。 #4楼 正如dwc和Adam Jaskiewicz所说,罪魁祸首可能是OOM杀手。 但是,接下来的问题是:如何防止这种情况发生?

Discrepancy between command line XRandR and own code

不羁岁月 提交于 2020-01-06 03:14:11
问题 I need to programatically get the refresh rate of a monitor. When I type xrandr (1.4.1, opensuse 13) on the command line I get: Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384 VGA-0 disconnected primary (normal left inverted right x axis y axis) DVI-D-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 60.0*+ 1920x1080 60.0 1680x1050 60.0 1600x1200 60.0 1280x1024 60.0 1280x960 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 HDMI-0

How can I turn on/off Caps Lock, Scroll Lock, Num Lock key programatically on Linux

回眸只為那壹抹淺笑 提交于 2019-12-25 06:12:24
问题 Is there a simple method to turn on/off Caps Lock, Scroll Lock and Num Lock on Linux (OpenSuse) using C++, what header files need to use? I want to control some device simulates keystrokes. 回答1: Solution 1 Please go head because this solution just turn on the led of the keyboard, if you need to enable the caps lock funcion too, see solution 2. // Linux header, no portable source #include <sys/ioctl.h> #include <fcntl.h> #include <unistd.h> int main(int argc, char* argv[]) { int fd_console =

undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12' Haskell Stack error on OpenSuse42.3

混江龙づ霸主 提交于 2019-12-24 09:57:26
问题 I have installed haskell stack and I'm trying to setup ghc for the same. stack version is stack --version Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e (4861 commits) x86_64 hpack-0.17.1 I have updated the ~/.stack/global-project/stack.yaml as below # This is the implicit global project's config file, which is only used when # 'stack' is run outside of a real project. Settings here do _not_ act as # defaults for all projects. To change stack's default settings, edit # '

Flatpak (flatpak-build) fatal error when building submodules

橙三吉。 提交于 2019-12-24 09:08:15
问题 Following on from here, when using OpenSUSE Tumbleweed I cannot get flatpak-builder to compile submodule dependencies. I first noticed this issue when developing a console application within Gnome Builder using the Vala dependencies Gee and GXml. As a test, I have installed org.gnome.Books.json and issued the following command (as documented here): $ flatpak-builder --repo=repo books-app org.gnome.Books.json The outcome is the same as I observed when developing my own application, the fatal