diff --git a/bin/do b/bin/do index 6b21920..7794cf3 100755 --- a/bin/do +++ b/bin/do @@ -83,9 +83,6 @@ def try_arithmetic(arg): def do_single(arg): try_multimedia(arg) if os.path.exists(arg): - if arg.endswith(".pdf"): - exec_and_exit("qpdfview --unique --instance do%d %s"\ - % (random.randint(100000, 999999), arg)) # leave file and dir handling to xdg-open exec_and_exit("xdg-open "+arg) try_arithmetic(arg) diff --git a/install.sh b/install.sh index 4f47197..b62e149 100755 --- a/install.sh +++ b/install.sh @@ -30,12 +30,6 @@ cp -f `pwd`/gitconfig ~/.gitconfig git config --global user.email ${EMAIL} info "installed gitconfig" -# install qpdfview config -# do not use symlink, because it stores geometry there -mkdir -p ~/.config/qpdfview/ -info "cp qpdfview.conf" -cp -u qpdfview.conf ~/.config/qpdfview/ - # fortune cookies pushd config/fortune strfile my_cookies my_cookies.dat >/dev/null diff --git a/qpdfview.conf b/qpdfview.conf deleted file mode 100644 index 058544a..0000000 --- a/qpdfview.conf +++ /dev/null @@ -1,77 +0,0 @@ -[documentView] -autoRefresh=true -continuousMode=false -highlightAll=false -highlightCurrentThumbnail=false -highlightDuration=5000 -invertColors=false -layoutMode=0 -limitThumbnailsToResults=false -matchCase=false -openUrl=false -pageSpacing=5 -pagesPerRow=3 -prefetch=false -prefetchDistance=1 -rotateModifiers=33554432 -rotation=0 -scaleFactor=2 -scaleMode=2 -scrollModifiers=134217728 -sourceEditor= -thumbnailSize=150 -thumbnailSpacing=3 -wholeWords=false -zoomModifiers=67108864 - -[mainWindow] -currentPageInWindowTitle=false -editToolBar=firstPage, previousPage, currentPage, nextPage, lastPage, search, separator, copyToClipboardMode, addAnnotationMode -fileToolBar=openInNewTab, refresh, saveCopy, print -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\b\x3\0\0\0+\0\0\r \0\0\x4\x9a\0\0\b\x3\0\0\0G\0\0\r \0\0\x4\x9a\0\0\0\x1\0\0\0\0\x6\x90) -instanceNameInWindowTitle=false -newTabNextToCurrentTab=true -openPath=/afs/info.uni-karlsruhe.de/user/zwinkau/dev/diss -recentlyUsed=@Invalid() -recentlyUsedCount=10 -restoreBookmarks=false -restorePerFileSettings=false -restoreTabs=false -settingsDialogSize=@Size(525 567) -state="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\x1\0\0\0\x4,\xfc\x2\0\0\0\x4\xfb\0\0\0\x16\0o\0u\0t\0l\0i\0n\0\x65\0\x44\0o\0\x63\0k\x1\0\0\0(\0\0\x4,\0\0\0g\0\xff\xff\xff\xfb\0\0\0\x1c\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0g\0\xff\xff\xff\xfb\0\0\0\x1c\0t\0h\0u\0m\0\x62\0n\0\x61\0i\0l\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0g\0\xff\xff\xff\xfb\0\0\0\x1a\0\x62\0o\0o\0k\0m\0\x61\0r\0k\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0g\0\xff\xff\xff\0\0\0\x3\0\0\x5\x1e\0\0\0K\xfc\x1\0\0\0\x1\xfb\0\0\0\x14\0s\0\x65\0\x61\0r\0\x63\0h\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x5\x1e\0\0\x1\xe3\0\xff\xff\xff\0\0\x4\x18\0\0\x4,\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x16\0\x66\0i\0l\0\x65\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0\x65\0\x64\0i\0t\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\x9d\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0v\0i\0\x65\0w\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\x2?\xff\xff\xff\xff\0\0\0\0\0\0\0\0)" -synchronizeOutlineView=false -tabPosition=0 -tabVisibility=0 -trackRecentlyUsed=false -viewToolBar=zoomIn, scaleFactor, zoomOut, separator, continuousMode, twoPagesMode, separator, rotateLeft, rotateRight, separator, fullscreen, presentation - -[pageItem] -addAnnotationModifiers=67108864 -annotationColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\0\0\0\0) -annotationOverlay=false -backgroundColor=@Variant(\0\0\0\x43\x1\xff\xff\x80\x80\x80\x80\x80\x80\0\0) -cacheSize=33554432 -copyToClipboardModifiers=33554432 -decorateFormFields=true -decorateLinks=true -decoratePages=true -formFieldOverlay=true -highlightColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\0\0\0\0) -keepObsoletePixmaps=false -paperColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0) - -[presentationView] -backgroundColor=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) -screen=-1 -sync=false - -[printDialog] -collateCopies=false -colorMode=1 -duplex=2 -fitToPage=false -numberUp=0 -numberUpLayout=3 -orientation=0 -pageOrder=0 -pageSet=0 diff --git a/ubuntu.16.04.apt-req b/ubuntu.16.04.apt-req index ea8bf34..cb6d291 100644 --- a/ubuntu.16.04.apt-req +++ b/ubuntu.16.04.apt-req @@ -106,7 +106,7 @@ puppet pylint python3 python3-feedparser -qpdfview +R qpdfview rar scribus simple-scan