LibreCalc 시트의 바탕 화면 바로 가기

Jul 04 2020

최근에 16.04에서 20.04로 업그레이드했습니다. 나는 한동안 우분투를 사용해 왔지만 (분명히) 분명히 나는 ​​전문가가 아닙니다.

나는 데스크탑에 많은 아이콘을 배치하지 않았기 때문에 이와 관련하여 그놈의 새로운 한계가 나를 크게 걱정하지 않았습니다. 하지만 자주 정보를 입력하는 스프레드 시트가 두 개 있으므로 데스크톱 폴더의 소프트 링크를 사용하여 항상이 두 가지 아이콘을 데스크톱에 두었습니다. 더 이상 작동하지 않습니다.

.desktop데스크탑에 런처로 올려 놓을 수 있다는 생각 으로 파일 을 만들려고했습니다 .

나는이 만들어 ePayments.desktop에서를 ~/.local/share/applications하며 쇼 응용 프로그램에 나타납니다. 그것을 클릭하면 LibreOffice가 열리기 시작하지만 다음과 같은 오류 만 표시됩니다.

/Bookkeeping/2020ePayments.ods does not exist

ePayments.desktop파일 의 내용은 다음과 같습니다 .

[Desktop Entry]
Name=ePayments spreadsheet
Exec=xdg-open /mnt/Data/Bookkeeping/2020ePayments.ods
Comment=Open ePayments spreadsheet
Terminal=false
Type=Application
Icon=x-office-spreadsheet
$ ls -l /mnt/Data/Bookkeeping
-rwx------  1 brent brent 96249 Jul  3 09:25 2020ePayments.ods

도움을 주셔서 감사합니다!

최신 정보

엘리아-

게시 한 파일에서 매개 변수를 삽입했습니다. 결과 .desktop파일은 다음과 같습니다.

[Desktop Entry]  
Name=ePayments spreadsheet  
Exec=libreoffice --calc %U  
Comment=Open ePayments spreadsheet  
Terminal=false  
Type=Application  
Icon=libreoffice-calc  
StartupNotify=true  
X-GIO-NoFuse=true  

여전히 동일한 오류 메시지가 나타납니다. 요점을 놓쳤습니까?


아래에서 해결책.

Exec=위의 .desktop 파일에 있는 문을 다음으로 바꿉니다 .

Exec=xdg-open /mnt/Data/Bookkeeping/2020ePayments.ods

Exec=진술은 원래 .desktop 파일에 있었으므로 Eliah의 조언 후에 추가 한 진술 중 하나가 뭔가 변경되었을 것입니다.

답변

1 vanadium Jul 04 2020 at 02:09

귀하의 경우 소프트 링크를 사용한 접근 방식은 .desktop파일 작업보다 훨씬 빠르고 분명 합니다.

Symlink

데스크탑의 소프트 링크는 Ubuntu 20.04에서 작동합니다. 데스크탑에서 소프트 링크를 만드는 데 문제가 있었습니까?

실제로 Ctrl+를 사용 Shift하고 드래그하거나 파일에서 데스크탑으로 소프트 링크를 드래그하면 더 이상 작동하지 않습니다 . 다음 방법 중 하나를 사용하여 데스크탑에 소프트 링크를 만듭니다.

  • 파일 창의 "Desktop"폴더에 소프트 링크를 만듭니다 . 거기에 두는 모든 파일이 바탕 화면에 나타납니다. 소프트 링크가 작동합니다. 바탕 화면의 아이콘을 두 번 클릭하여 스프레드 시트를 시작할 수 있습니다.
  • 또는 파일의 오른쪽 클릭 메뉴에서 소프트 링크를 만듭니다. 이 옵션을 사용하려면 Preferences, Behavior 탭에서 활성화해야합니다. "Show action to create symbolic links"를 선택합니다. 생성 후 Ctrl+ x를 누른 다음 바탕 화면을 마우스 오른쪽 버튼으로 클릭하고 "붙여 넣기"를 선택합니다.

.desktop 런처

귀하의 .desktop파일은 정확하고 LibreOffice와이 탑재 된 드라이브에 액세스 할 수있는 경우에 작동합니다. 아마도 Libreoffice의 Snap 버전을 실행 중일 것입니다. 이 경우 Libreoffice를 이동식 미디어 인터페이스 에 연결 하여 활성화해야합니다 .

별표 표시된 파일

사용자 사례에 매우 잘 맞는 새로운 기능은 "별표 표시된 파일"기능입니다. 별표 표시 한 후에는 파일의 별표 표시 폴더에 나타납니다.

Noname Jul 04 2020 at 01:24

공식 저장소에서 LibreOffice를 설치했습니다. 나는 CentOS를 사용하지만 Ubuntu에서도 동일하다고 생각합니다. /usr/share/applications/libreoffice-calc.desktop파일을 ~/.local/share/applications폴더에 복사 하기 만하면 바탕 화면에서이 아이콘을 사용할 수 있습니다.

libreoffice-calc.desktop(조금 잘린) 내용은 다음과 같습니다 .

# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
#   Licensed to the Apache Software Foundation (ASF) under one or more
#   contributor license agreements. See the NOTICE file distributed
#   with this work for additional information regarding copyright
#   ownership. The ASF licenses this file to you under the Apache
#   License, Version 2.0 (the "License"); you may not use this file
#   except in compliance with the License. You may obtain a copy of
#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
[Desktop Entry]
Version=1.0
Terminal=false
Icon=libreoffice-calc
Type=Application
Categories=Office;Spreadsheet;X-Red-Hat-Base;X-MandrivaLinux-Office-Spreadsheets;
Exec=libreoffice --calc %U
MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;text/csv;application/x-dbf;text/spreadsheet;application/csv;application/excel;application/tab-separated-values;application/vnd.lotus-1-2-3;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/x-dbase;application/x-dos_ms_excel;application/x-excel;application/x-msexcel;application/x-ms-excel;application/x-quattropro;application/x-123;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.ms-works;application/clarisworks;application/x-iwork-numbers-sffnumbers;application/x-starcalc;
Name=LibreOffice Calc
GenericName=Spreadsheet
GenericName[ru]=Электронная таблица
Comment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc.
Comment[ru]=Выполнение вычислений, анализ информации и управление списками в электронных таблицах с помощью Calc.
StartupNotify=true
X-GIO-NoFuse=true
Keywords=Accounting;Stats;OpenDocument Spreadsheet;Chart;Microsoft Excel;Microsoft Works;OpenOffice Calc;ods;xls;xlsx;
InitialPreference=5
StartupWMClass=libreoffice-calc
X-KDE-Protocols=file,http,ftp,webdav
X-TryExec=oocalc

Actions=NewDocument;
[Desktop Action NewDocument]
Name=New Spreadsheet
Name[ru]=Создать эл.таблицу
Exec=libreoffice --calc