Showing posts with label ソフトウェア. Show all posts
Showing posts with label ソフトウェア. Show all posts
Fedora 44でXcasが使えない?
最近,デスクトップ(Fedora Linux)を43から44にアップグレードしたら何故かXcasが起動しなくなった.AI Chatに相談して,その通りにしても駄目で,挙句「ソースから再度インストールをすれば・・・」みたいな話だったので一旦諦めた.代替措置として仕方なくCUIで動くicasで対応し,icasも駄目になった場合に備えて,AI Chatで計算用途別にPythonプログラムをいくつか作らせた.
2026.9.15追記:Qcasを新たにインストールしたらなぜかXcasも使えるようになった.
Labels:
Arch Linux,
Debian,
Emacs,
Fedora,
Linux Mint,
Lubuntu,
Python,
Ubuntu,
UNIX,
UNIX コマンド,
Vine Linux,
xubuntu,
アプリケーション,
ソフトウェア,
メモ,
数学,
数学教育
How to copy all files into a directory and zip that directory in the Linux terminal
For example, please suppose that there are three files in the home directory: a.pdf, b.xlsx, and c.docx, and you would like to create a zip file 'abc.zip' containing the directory 'abc' with those three files.
1. Make a directory 'abc'.
$ mkdir abc
2. Copy the above three files into the directory 'abc'.
$ cp a.pdf abc
$ cp b.xlsx abc
$ cp c.docx abc
3. Zip the directory 'abc'.
$ zip -r abc.zip ./abc/
Labels:
Arch Linux,
Debian,
Fedora,
Linux Mint,
Lubuntu,
Mac,
Ubuntu,
UNIX,
UNIX コマンド,
Vine Linux,
xubuntu,
ソフトウェア,
メモ
How to display the updated files within the specific period of date by "ls" command on Linux terminal
Note that your environment may differ from my environment(lubuntu). For example, if you want to find the updated files from Aug 15 to Aug 20 in 2024, then
1. move to that directory (e.g. "abcde" directory) by "cd" command.
$ cd abcde2. Execute the next "ls" command.
$ ls -ltr | awk '$6 == "8月" && ($7 >=15 && $7 <= 20) && $8 = 2024 {print $6"-"$7"-"$8,$9}'
If you want to find the updated files before Aug 5 or after Aug 25 in 2024, then
3. execute the next "ls" command.
$ ls -ltr | awk '$6 == "8月" && ($7 <=5 || $7 >= 25) && $8 = 2024 {print $6"-"$7"-"$8,$9}'
See also,
How to get only files created after a date with ls? - Stack Exchange
Confusing use of && and || operators - Stack Exchange.
How to change brightness of display on Linux terminal
To change brightness of display on Linux terminal,
1. find the display name as follows. That is "DP-2" in my case.
$ xrandr --verbose2. Execute the following command.
xrandr --output (the display name) --brightness (the number between 0 and 1)For example,
xrandr --output DP-2 --brightness 0.5If the last number is close to 0 [1], then the display will be dark [bright].
How to enable scrolling in xterm (Lubuntu 24)
Please see here.
1. Make a file XTerm in your home directory.
$ cd ~ $ touch XTerm2. For example, edit the file XTerm and let it be as follows:
XTerm*Background: DarkViolet
XTerm*Foreground: white
XTerm*SaveLines: 2000
XTerm*faceName: courier
XTerm*faceSize: 18
XTerm*rightScrollBar: true
XTerm*ScrollBar: true
XTerm*scrollTtyOutput: false
XTerm*VT100.Translations: #override \
Shift CtrlV: insert-selection(CLIPBOARD) \n\
Shift CtrlV: insert-selection(PRIMARY) \n\
Shift: select-start() \n\
Shift: select-extend() \n\
Shift: select-end(CLIPBOARD) \n\
HEICファイルをJPGファイルまたはPNGファイルにするには?
ubuntu系であればheif-convertを使うらしい.詳しくは以下を参照.
https://virment.com/install-libheif-to-convert-heic-to-jpg/
TikZ(「ティクス」と読む?)
TeX文書内でグラフや図形を描画するためのパッケージです.プリアンブルにて
\usepackage{tikz}とすると使えます.基本的な使い方は
\begin{tikzpicture}[環境オプション]
コマンド;
コマンド;
…;
\end{tikzpicture}です.使い方やサンプルなどは
https://texwiki.texjp.org/?TikZ
を見て下さい.また,TikZiTというGUIエディタもあるようです.
Labels:
Arch Linux,
Debian,
Emacs,
Fedora,
Linux Mint,
Lubuntu,
TeX,
Ubuntu,
UNIX,
UNIX コマンド,
Vine Linux,
xubuntu,
アプリケーション,
インストール,
ソフトウェア
How to rotate a pdf file 90 degrees
If you use a Linux OS, I recommend that you use the application pdfjam on terminal. Please see the following page for further details.
https://unix.stackexchange.com/questions/394065/command-line-how-do-you-rotate-a-pdf-file-90-degrees
Labels:
Arch Linux,
Debian,
Fedora,
Linux Mint,
Lubuntu,
TeX,
Ubuntu,
UNIX,
UNIX コマンド,
Vine Linux,
ソフトウェア,
マニュアル
Xfce@Archlinux@ThinkPadX220iで外部接続キーボード(HHKB for Mac)のキーアサインがずれる件について
1. 左上のメニューから,設定>キーボード>レイアウト
2. 「システムのデフォルトを使用する」をオフにし,
3. 自分が外部接続したキーボードを選ぶ.
Simplescreenrecorder
Simplescreenrecorderは端末画面を録画しながら音声を録音できるソフト.Linux用もある.自分の場合(Dell Vostro)はAudio input内のBackendをALSAにした.映像のトリミングはVLCで可能だからLinuxでも端末画面を使ったビデオチュートリアル的な動画作成が可能だ.
Linux Mint@三号機
三号機(Macbook)を使ってUSBメモリにslackoをインストールした事はこちらで話したが,その際GParted(?)で同機内部HDDに60GB弱の領域を作っ(て放置するのは勿体無いと思っ)たので,Linux Mintをインストールした.
まず,こちらからlinuxmint-20.3-cinnamon-64bit.isoをダウンロード.三号機をrEFIt==>OSで起動し,不要なUSBメモリ(16GB)にbalenaEtcherを使って焼き付ける.その続きはこちらを真似した:前述の60GB領域の利用方法を「ext4 ジャーナリングファイルシステム」にし,マウントポイントを「/」とした.5GB程度のlinux swap用のパーティションも作成した(利用方法は「スワップ領域」).インストール自体は終わったが,再起動時にフリーズし,強制終了後に改めて起動したら,Linux Mintだけが起動しrEFItが起動しなくなった.という訳で,毎度ながらだが改造はご自分の権利と責任で.
その他の参考:
https://eng-entrance.com/linux-distribution-linuxmint
このページにあるhomeパーティションは作成し忘れた.今後どうなることやら・・・.
余談:ここにあるが,Linux Mint 20はUbuntuベースらしい.
2022/1/12追記:昨晩アップデートをしたら起動できなくなったので,同じディスクに同じ方法で再インストールした.
grepコマンド
CamScanner
2020年度鹿児島高専学生の皆さん,
松浦@数学です.
CamScannerの無料版をなるべく早くインストールしましょう.遠隔授業も含めて先々使うことが多いと思います.下記にリンクを貼っておきます.
https://play.google.com/store/apps/details?id=com.intsig.camscanner&hl=ja
松浦@数学です.
CamScannerの無料版をなるべく早くインストールしましょう.遠隔授業も含めて先々使うことが多いと思います.下記にリンクを貼っておきます.
https://play.google.com/store/apps/details?id=com.intsig.camscanner&hl=ja
LaTeXのオンラインエディタ
Emacs的に利用できるものをいくつか探してみました.いずれもSSLを利用していますがオンラインなのでご注意下さい.
Online Latex Editor
https://www.tutorialspoint.com/online_latex_editor.php
LaTeX Base
https://latexbase.com/d/7243bb11-996e-4446-b938-fd4328e9e345
Online Latex Editor
https://www.tutorialspoint.com/online_latex_editor.php
LaTeX Base
https://latexbase.com/d/7243bb11-996e-4446-b938-fd4328e9e345
パスワード付きのPDFファイルを作るとき
Linuxではpdftkが使えるようだ.使い方はこちらをどうぞ.
2号機
2016/08に2号機にLubuntuをインストールした(バックアップを取ってXubuntu+Windowsは消去).以下,その際のメモのコピー.
ここの0029氏と同じエラー発生.対処法も途中まで0029氏と同じ:GRUB起動後にeキーを押して,次の通りsplashより後の部分を加筆.
ここの0029氏と同じエラー発生.対処法も途中まで0029氏と同じ:GRUB起動後にeキーを押して,次の通りsplashより後の部分を加筆.
quiet splash --irqpoll acpi=off起動はしたものの,この方法では再起動しなかったのでここを参考に,起動+ログイン後にターミナルで/etc/default/grubを
$ sudo chmod 777 /etc/default/grubで書込可能にした上でエディタ(Leafpad)を使って次の通りsplashより後の部分を加筆.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash --irqpoll acpi=off"
$ sudo chmod 744 /etc/default/grubとした後に
$ sudo update-grubとする.これで再起動はできたが,今度はシャットダウン時にフリーズするようになった.仕方なくその度に電源ボタンを長押し.
科研費LaTeX
今年も科研費申請の季節が近づいて参りました.科研費LaTeXはこちらからどうぞ.
Subscribe to:
Posts (Atom)